nixpkgs-{staging,next}: add an update script

This commit is contained in:
Colin 2024-06-08 21:15:47 +00:00
parent 33f4db254d
commit ede68b563e
2 changed files with 4 additions and 2 deletions

View File

@ -72,9 +72,9 @@ in
# attributes needed for update scripts
name = "nixpkgs";
version = "24.05-unstable-2024-06-xx";
src = unpatchedSrc // {
src = unpatchedSrc // (if builtins.isAttrs unpatchedSrc then {
inherit (lock') rev;
};
} else {});
} // (if nix-update-script != null then {
passthru.updateScript = nix-update-script {
extraArgs = [ "--version" "branch" ];

View File

@ -68,6 +68,8 @@ let
localSystem = stdenv.buildPlatform.system;
system = stdenv.hostPlatform.system;
};
nixpkgs-staging = nixpkgs.override { variant = "staging"; };
nixpkgs-next = nixpkgs.override { variant = "staging-next"; };
nixpkgs-wayland = callPackage ./additional/nixpkgs-wayland { };
peerswap = callPackage ./additional/peerswap { };
phog = callPackage ./additional/phog { };