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

This commit is contained in:
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 # attributes needed for update scripts
name = "nixpkgs"; name = "nixpkgs";
version = "24.05-unstable-2024-06-xx"; version = "24.05-unstable-2024-06-xx";
src = unpatchedSrc // { src = unpatchedSrc // (if builtins.isAttrs unpatchedSrc then {
inherit (lock') rev; inherit (lock') rev;
}; } else {});
} // (if nix-update-script != null then { } // (if nix-update-script != null then {
passthru.updateScript = nix-update-script { passthru.updateScript = nix-update-script {
extraArgs = [ "--version" "branch" ]; extraArgs = [ "--version" "branch" ];

View File

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