diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2017-12-06 00:06:43 +0100 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2017-12-12 18:08:10 -0500 |
commit | 3a110ea3f96db56012f7f2707e842593a7d7c5b8 (patch) | |
tree | 727bb87c20c860814a494875af0b874d3b977bbb /pkgs/applications/misc/playonlinux | |
parent | 76bf375a162d81d49b274eb07d6a33a74fe8850f (diff) | |
download | nixpkgs-3a110ea3f96db56012f7f2707e842593a7d7c5b8.tar nixpkgs-3a110ea3f96db56012f7f2707e842593a7d7c5b8.tar.gz nixpkgs-3a110ea3f96db56012f7f2707e842593a7d7c5b8.tar.bz2 nixpkgs-3a110ea3f96db56012f7f2707e842593a7d7c5b8.tar.lz nixpkgs-3a110ea3f96db56012f7f2707e842593a7d7c5b8.tar.xz nixpkgs-3a110ea3f96db56012f7f2707e842593a7d7c5b8.tar.zst nixpkgs-3a110ea3f96db56012f7f2707e842593a7d7c5b8.zip |
treewide platform checks: `abort` -> `throw`
They aren't meant to be critical (uncatchable) errors. Tested with nix-env + checkMeta: [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]
Diffstat (limited to 'pkgs/applications/misc/playonlinux')
-rw-r--r-- | pkgs/applications/misc/playonlinux/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/misc/playonlinux/default.nix b/pkgs/applications/misc/playonlinux/default.nix index 3f39a356312..44650d001e3 100644 --- a/pkgs/applications/misc/playonlinux/default.nix +++ b/pkgs/applications/misc/playonlinux/default.nix @@ -48,7 +48,7 @@ let ld32 = if stdenv.system == "x86_64-linux" then "${stdenv.cc}/nix-support/dynamic-linker-m32" else if stdenv.system == "i686-linux" then "${stdenv.cc}/nix-support/dynamic-linker" - else abort "Unsupported platform for PlayOnLinux: ${stdenv.system}"; + else throw "Unsupported platform for PlayOnLinux: ${stdenv.system}"; ld64 = "${stdenv.cc}/nix-support/dynamic-linker"; libs = pkgs: stdenv.lib.makeLibraryPath [ pkgs.xlibs.libX11 ]; |