This commit is contained in:
2026-08-16 01:22:26 -06:00
parent 6a864e1e89
commit 7379cffc03
3 changed files with 12 additions and 170 deletions
+6 -24
View File
@@ -1,27 +1,9 @@
{ mkCljBin
, fake-git
, lib
, mkGraalBin
{ rustPlatform
}:
let
# mkCljBin sans fake-git. We don't need it, and I don't want it in
# my dev shell.
mkCljBin' = args: (mkCljBin args).overrideAttrs (final: prev: {
nativeBuildInputs =
builtins.filter
# A possibly-sketchy predicate, lol.
(x: x != fake-git)
prev.nativeBuildInputs;
});
# bin-path = lib.makeBinPath [
# sqlite3
# ];
in mkCljBin' {
name = "wiktlarp";
rustPlatform.buildRustPackage (finalAttrs: {
pname = "wiktlarp-tf2";
version = "0.1.0";
projectSrc = lib.cleanSource ./.;
lockfile = ./deps-lock.json;
main-ns = "wiktlarp.main";
}
src = ./.;
cargoLock.lockFile = ./Cargo.lock;
})