Skip to content

Commit

Permalink
test on 23.11 on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
symphorien committed Dec 19, 2023
1 parent 9477f62 commit 2d02ae0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ let
isDerivation = x: (x.type or null) == "derivation";
tryEvalOpt = x: let res = builtins.tryEval x; in if res.success then res.value else null;
allNixVersions = pkgs: [ pkgs.nixStable pkgs.nixUnstable ] ++ (builtins.filter isDerivation (map tryEvalOpt (builtins.attrValues (pkgs.nixVersions or { }))));
isDarwin = (builtins.match ".*darwin.*" builtins.currentSystem) != null;
channelsToTest = if isDarwin then
[ "channel:nixos-unstable" ] # buildRustCrate is broken on 23.05 due to stripping rlibs
else
[ "channel:nixos-23.11" "channel:nixos-unstable" ];
channelsToTest = [ "channel:nixos-23.11" "channel:nixos-unstable" ];
in
map
(url:
Expand Down

0 comments on commit 2d02ae0

Please sign in to comment.