2021-06-30 23:22:21 +03:00
|
|
|
final: prev: {
|
|
|
|
|
|
|
|
__dontExport = true;
|
|
|
|
|
2021-07-16 23:54:02 +03:00
|
|
|
nixUnstable = prev.nixUnstable.overrideAttrs (o: {
|
|
|
|
patches = (o.patches or [ ]) ++ [
|
2021-06-30 23:22:21 +03:00
|
|
|
|
|
|
|
# fixes nested `inputs.<name>.follows` syntax
|
|
|
|
(prev.fetchpatch {
|
|
|
|
name = "fix-follows.diff";
|
|
|
|
url = "https://patch-diff.githubusercontent.com/raw/NixOS/nix/pull/4641.patch";
|
|
|
|
sha256 = "sha256-nyLMSltS9XjNaF446M5yV/o08XtZkYbU7yMVnqYERts=";
|
|
|
|
})
|
|
|
|
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
nixos-rebuild = prev.nixos-rebuild.override {
|
|
|
|
nix = final.nixUnstable;
|
|
|
|
};
|
|
|
|
|
|
|
|
# check if we need to override more stuff ourthe patched nix
|
|
|
|
|
|
|
|
}
|