diff options
author | Mathnerd314 <mathnerd314.gph+hs@gmail.com> | 2015-09-14 22:27:19 -0600 |
---|---|---|
committer | Mathnerd314 <mathnerd314.gph+hs@gmail.com> | 2015-09-14 22:27:19 -0600 |
commit | eb7404d97a7e46df1f598a74982ca06e08033a45 (patch) | |
tree | 6b5752df7032ba1efc535cf884db4891f20dd786 /pkgs/misc | |
parent | 7fb1c7efcfa34a4af9f5de5fbde9e12d15017a90 (diff) |
all-packages: Use callPackage where possible
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/emulators/wine/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/misc/emulators/wine/default.nix b/pkgs/misc/emulators/wine/default.nix index 8b7e438a115f6..e2e85e7d8dab5 100644 --- a/pkgs/misc/emulators/wine/default.nix +++ b/pkgs/misc/emulators/wine/default.nix @@ -6,7 +6,7 @@ # }; # Make additional configurations on demand: # wine.override { wineBuild = "wine32"; wineRelease = "staging"; }; -{ lib, pkgs, system, callPackage, +{ lib, pkgs, system, callPackage, wineUnstable, wineRelease ? "stable", wineBuild ? (if system == "x86_64-linux" then "wineWow" else "wine32"), libtxc_dxtn_Name ? "libtxc_dxtn_s2tc" }: @@ -14,7 +14,7 @@ if wineRelease == "staging" then callPackage ./staging.nix { inherit libtxc_dxtn_Name; - wine = lib.getAttr wineBuild (callPackage ./packages.nix { wineRelease = "unstable"; }); + wine = wineUnstable; } else lib.getAttr wineBuild (callPackage ./packages.nix { |