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
|
||||
self: super: {
|
||||
nixUnstable = super.nixUnstable.overrideAttrs(_: rec {
|
||||
nixUnstable = super.nixUnstable.override rec {
|
||||
version = "2.5${suffix}";
|
||||
suffix = "pre20211007_${self.lib.substring 0 7 src.rev}";
|
||||
src = self.fetchFromGitHub {
|
||||
suffix = "pre20211007_${super.lib.substring 0 7 src.rev}";
|
||||
src = super.fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "nix";
|
||||
rev = "844dd901a7debe8b03ec93a7f717b6c4038dc572";
|
||||
sha256 = "sha256-fe1B4lXkS6/UfpO0rJHwLC06zhOPrdSh4s9PmQ1JgPo=";
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue