fixing default.nix file
This commit is contained in:
14
default.nix
14
default.nix
@@ -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
|
||||
'';
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user