Overlay nix instead of overriding the package
This commit is contained in:
parent
68ac815a23
commit
32793b47cc
@ -559,11 +559,11 @@
|
||||
},
|
||||
"nixpkgs_8": {
|
||||
"locked": {
|
||||
"lastModified": 1636267212,
|
||||
"narHash": "sha256-KDS173KqmqrYUPY9N4vf750GxIo+S6E0djyq2BsQm8s=",
|
||||
"lastModified": 1636623366,
|
||||
"narHash": "sha256-jOQMlv9qFSj0U66HB+ujZoapty0UbewmSNbX8+3ujUQ=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c935f5e0add2cf0ae650d072c8357533e21b0c35",
|
||||
"rev": "c5ed8beb478a8ca035f033f659b60c89500a3034",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -23,10 +23,6 @@
|
||||
"serokell-1:aIojg2Vxgv7MkzPJoftOO/I8HKX622sT+c0fjnZBLj0="
|
||||
];
|
||||
|
||||
package = inputs.nix.defaultPackage.${pkgs.system}.overrideAttrs (oa: {
|
||||
patches = [ ./nix.patch ] ++ oa.patches or [ ];
|
||||
});
|
||||
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
@ -158,6 +158,11 @@ in {
|
||||
];
|
||||
cmakeFlags = oa.cmakeFlags ++ [ "-DBUILD_SHARED_LIBS=OFF" ];
|
||||
})).override { mtxclient = self.mtxclient; };
|
||||
|
||||
nix = inputs.nix.defaultPackage.${pkgs.system}.overrideAttrs (oa: {
|
||||
patches = [ ./nix/nix.patch ] ++ oa.patches or [ ];
|
||||
});
|
||||
|
||||
})
|
||||
];
|
||||
nixpkgs.config = {
|
||||
|
Loading…
Reference in New Issue
Block a user