overlays/nix: use override instead of overrideAttrs
This commit is contained in:
parent
3fb3e60768
commit
87bac04297
1 changed files with 4 additions and 4 deletions
|
|
@ -1,13 +1,13 @@
|
||||||
# TODO: remove after upstream fixes https://github.com/NixOS/nix/issues/5728
|
# TODO: remove after upstream fixes https://github.com/NixOS/nix/issues/5728
|
||||||
self: super: {
|
self: super: {
|
||||||
nixUnstable = super.nixUnstable.overrideAttrs(_: rec {
|
nixUnstable = super.nixUnstable.override rec {
|
||||||
version = "2.5${suffix}";
|
version = "2.5${suffix}";
|
||||||
suffix = "pre20211007_${self.lib.substring 0 7 src.rev}";
|
suffix = "pre20211007_${super.lib.substring 0 7 src.rev}";
|
||||||
src = self.fetchFromGitHub {
|
src = super.fetchFromGitHub {
|
||||||
owner = "NixOS";
|
owner = "NixOS";
|
||||||
repo = "nix";
|
repo = "nix";
|
||||||
rev = "844dd901a7debe8b03ec93a7f717b6c4038dc572";
|
rev = "844dd901a7debe8b03ec93a7f717b6c4038dc572";
|
||||||
sha256 = "sha256-fe1B4lXkS6/UfpO0rJHwLC06zhOPrdSh4s9PmQ1JgPo=";
|
sha256 = "sha256-fe1B4lXkS6/UfpO0rJHwLC06zhOPrdSh4s9PmQ1JgPo=";
|
||||||
};
|
};
|
||||||
});
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue