Skip to content

Commit 388a708

Browse files
committed
feat: patch nix flake init command
Remove DeterminateSystems/nix-src#180
1 parent 629672a commit 388a708

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

modules/nix-cli/default.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
pkgs,
23
lib,
34
flakeInputs,
45
system,
@@ -26,6 +27,15 @@ let
2627
buildInputs = patchDeps (prev.buildInputs or [ ]);
2728
nativeBuildInputs = patchDeps (prev.nativeBuildInputs or [ ]);
2829
propagatedBuildInputs = patchDeps (prev.propagatedBuildInputs or [ ]);
30+
31+
patches = (prev.patches or [ ]) ++ [
32+
(pkgs.fetchpatch {
33+
url = "https://github.com/DeterminateSystems/nix-src/pull/180.patch";
34+
hash = "sha256-7G9nX8YT+B9nZXEBICwkAyj2vmSHNqC2C2+dlOpQuIg=";
35+
relative = "src/nix";
36+
revert = true;
37+
})
38+
];
2939
});
3040
in
3141

0 commit comments

Comments
 (0)