working
This commit is contained in:
parent
757020689c
commit
93b2b5c512
9 changed files with 255 additions and 114 deletions
14
flake.nix
14
flake.nix
|
|
@ -23,8 +23,21 @@
|
|||
rust-analyzer
|
||||
rustfmt
|
||||
clippy
|
||||
just
|
||||
;
|
||||
};
|
||||
shellHook =
|
||||
let
|
||||
justfile = ''
|
||||
build:
|
||||
nix build --offline
|
||||
fresh:
|
||||
nix build
|
||||
'';
|
||||
in
|
||||
''
|
||||
echo "${justfile}" > justfile
|
||||
'';
|
||||
};
|
||||
});
|
||||
packages = forAllSystems (pkgs: {
|
||||
|
|
@ -38,6 +51,7 @@
|
|||
src = ./.;
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
RUSTFLAGS = "-C prefer-dynamic=yes";
|
||||
buildInputs = [ pkgs.sqlite ];
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue