mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
i3: Set checkPhase only when on Linux.
This commit is contained in:
parent
ecc7d50e26
commit
8e2fb7c816
@ -24,7 +24,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = stdenv.system == "x86_64-linux";
|
||||
|
||||
checkPhase = ''
|
||||
checkPhase = stdenv.lib.optionalString (stdenv.system == "x86_64-linux")
|
||||
''
|
||||
ln -sf "${xdummy}/bin/xdummy" testcases/Xdummy
|
||||
(cd testcases && perl complete-run.pl -p 1)
|
||||
! grep -q '^not ok' testcases/latest/complete-run.log
|
||||
|
Loading…
Reference in New Issue
Block a user