mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
travis-ci: don't check NixOS options on darwin
This commit is contained in:
parent
f44e70a68b
commit
926c9293cb
@ -23,13 +23,13 @@ elif [[ $1 == nox ]]; then
|
||||
elif [[ $1 == build ]]; then
|
||||
source $HOME/.nix-profile/etc/profile.d/nix.sh
|
||||
|
||||
echo "=== Checking NixOS options"
|
||||
nix-build nixos/release.nix -A options
|
||||
|
||||
echo "=== Checking tarball creation"
|
||||
if [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
||||
echo "Skipped, as not working on darwin"
|
||||
echo "Skipping NixOS things on darwin"
|
||||
else
|
||||
echo "=== Checking NixOS options"
|
||||
nix-build nixos/release.nix -A options
|
||||
|
||||
echo "=== Checking tarball creation"
|
||||
nix-build pkgs/top-level/release.nix -A tarball
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user