on master help sign in
Switch to a convenience function
commitcd4463427b831e306b80ef0a6bdcd463599187b7 authorguillaume <guillaume@repl.it> dateWed 16 Jun 2021, 16:47 (5 years ago) parent2eb2790
1 file changed+2−4
build-prybar.nix+2−4
build-prybar.nix+2−4
@@ -1,13 +1,11 @@
11{ language, buildInputs ? [] }:
22
3−{ lib, buildGoModule, fetchFromGitHub, bash, pkg-config, runCommand, git }:
3+{ lib, buildGoModule, fetchFromGitHub, bash, pkg-config, runCommand, git, copyPathToStore }:
44
55let
66 src = ./.;
77
8− gitSrc = builtins.filterSource
9− (path: type: true)
10− ./.;
8+ gitSrc = copyPathToStore ./.;
119 revision = runCommand "get-rev" {
1210 nativeBuildInputs = [ git ];
1311 dummy = builtins.currentTime;