diff options
author | Tristan Ross <tristan.ross@midstall.com> | 2024-06-06 19:34:06 -0700 |
---|---|---|
committer | Tristan Ross <tristan.ross@midstall.com> | 2024-06-06 21:16:30 -0700 |
commit | d2adfad3bdb649679d40b79d8bc61169dd643714 (patch) | |
tree | e432badbd2561d0a1869eab4702b9e88ee6a84a4 /pkgs/top-level/release-lib.nix | |
parent | dd443d2d10ff7f7f7451f5bd04268f21daceb74d (diff) |
pkgs/top-level/release{,-lib}.nix: remove hardcoded system
Diffstat (limited to 'pkgs/top-level/release-lib.nix')
-rw-r--r-- | pkgs/top-level/release-lib.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/top-level/release-lib.nix b/pkgs/top-level/release-lib.nix index 9f28868956899..a1dcc3e9f3349 100644 --- a/pkgs/top-level/release-lib.nix +++ b/pkgs/top-level/release-lib.nix @@ -1,4 +1,5 @@ { supportedSystems +, system ? builtins.currentSystem , packageSet ? (import ../..) , scrubJobs ? true , # Attributes passed to nixpkgs. Don't build packages marked as unfree. @@ -33,7 +34,7 @@ let systems ; - pkgs = packageSet (recursiveUpdate { system = "x86_64-linux"; config.allowUnsupportedSystem = true; } nixpkgsArgs); + pkgs = packageSet (recursiveUpdate { inherit system; config.allowUnsupportedSystem = true; } nixpkgsArgs); hydraJob' = if scrubJobs then hydraJob else id; |