fixing default.nix file

This commit is contained in:
2025-01-07 21:35:17 +00:00
parent f1e86773f7
commit c6fd9f88ba

View File

@@ -8,24 +8,14 @@
(import "${fetchTree gomod2nix.locked}/overlay.nix")
];
}
),
lib
)
}:
pkgs.buildGoApplication {
pname = "P2PRC";
pname = "p2p-rendering-computation";
version = "2.0.0";
pwd = ./.;
src = ./.;
modules = ./gomod2nix.toml;
doCheck = false;
buildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/p2p-rendering-computation \
--set PATH $out/bin \
--set P2PRC $out/bin
'';
}