Skip to content

Commit bc36fbc

Browse files
committed
nix: callpackage hugin
Signed-off-by: Kristoffer Dalby <[email protected]>
1 parent 5ea4bf9 commit bc36fbc

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

flake.nix

+11-10
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,20 @@
6767
'';
6868
};
6969

70-
hugin = pkgs.buildGoModule {
71-
pname = "hugin";
72-
version = huginVersion;
73-
src = pkgs.nix-gitignore.gitignoreSource [] ./.;
70+
hugin = pkgs.callPackage ({buildGoModule}:
71+
buildGoModule {
72+
pname = "hugin";
73+
version = huginVersion;
74+
src = pkgs.nix-gitignore.gitignoreSource [] ./.;
7475

75-
buildInputs = [huginElm];
76+
buildInputs = [huginElm];
7677

77-
patchPhase = ''
78-
cp -r ${huginElm} dist
79-
'';
78+
patchPhase = ''
79+
cp -r ${huginElm} dist
80+
'';
8081

81-
vendorHash = "sha256-rZ5CJW9iRi7Ozhg/cBCyByIqlKYLw1GtgGWiE3iTtDE=";
82-
};
82+
vendorHash = "sha256-rZ5CJW9iRi7Ozhg/cBCyByIqlKYLw1GtgGWiE3iTtDE=";
83+
}) {};
8384
};
8485
}
8586
// flake-utils.lib.eachDefaultSystem

0 commit comments

Comments
 (0)