nix: Fix nix not working with local LFS repositories
This commit is contained in:
parent
ac03369ff8
commit
050359f8ee
|
@ -28,7 +28,15 @@ in
|
|||
|
||||
nix = {
|
||||
# nix with flake support
|
||||
package = pkgs.nixUnstable;
|
||||
# TODO: Remove override once nixUnstable that includes this commit is in nixpkgs
|
||||
package = pkgs.nixUnstable.overrideAttrs (o: o // {
|
||||
patches = [
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://github.com/nixos/nix/commit/d1bf7431bbb9c38bdb577661d8511d506a3955c4.patch";
|
||||
sha256 = "sha256-6ap0taVKrJU0VcpC4+AeqPBL5sLXKvBE5UX7I2YQqiU=";
|
||||
})
|
||||
];
|
||||
});
|
||||
|
||||
registry = with inputs; {
|
||||
nixpkgs.flake = nixpkgs;
|
||||
|
|
Loading…
Reference in a new issue