Skip to content

Commit

Permalink
assert release build archs
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreif committed Sep 14, 2024
1 parent 14d68cc commit e3cf0b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

let nixpkgs = import ./nix { inherit system; }; in

assert !officialRelease || nixpkgs.lib.asserts.assertOneOf "system" system [ "x86_64-linux" "x86_64-darwin" ];

let releaseVersion = import nix/releaseVersion.nix { pkgs = nixpkgs; inherit officialRelease; }; in

let stdenv = nixpkgs.stdenv; in
Expand Down

0 comments on commit e3cf0b3

Please sign in to comment.