on master help sign in
Switch to a convenience function
cd44634guillaume
build-prybar.nix+2−4
@@ -1,13 +1,11 @@
1{ language, buildInputs ? [] }:
1{ language, buildInputs ? [] }:
2
2
3−{ lib, buildGoModule, fetchFromGitHub, bash, pkg-config, runCommand, git }:
3+{ lib, buildGoModule, fetchFromGitHub, bash, pkg-config, runCommand, git, copyPathToStore }:
4
4
5let
5let
6 src = ./.;
6 src = ./.;
7
7
8− gitSrc = builtins.filterSource
8+ gitSrc = copyPathToStore ./.;
9− (path: type: true)
10− ./.;
11 revision = runCommand "get-rev" {
9 revision = runCommand "get-rev" {
12 nativeBuildInputs = [ git ];
10 nativeBuildInputs = [ git ];
13 dummy = builtins.currentTime;
11 dummy = builtins.currentTime;