This commit is contained in:
atagen 2025-11-17 09:17:43 +11:00
parent 757020689c
commit 93b2b5c512
9 changed files with 255 additions and 114 deletions

View file

@ -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 ];
});
});
};