about summary refs log tree commit diff
path: root/pkgs/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-04-04 08:08:12 +0200
committeraszlig <aszlig@nix.build>2018-04-04 08:08:12 +0200
commit7d70ccdf9fd7f183cc6f10e84ba0b97f98fb522a (patch)
tree8a9f825266dab35b068bc3b5d6ea76dc704dccf2 /pkgs/aszlig
parent29351fc3229c2710e469bf423a59703a617cf2db (diff)
pkgs/santander: Use Wine stable instead of staging
The features that we needed back then are now already in stable, so no
need to use staging anymore.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/aszlig')
-rw-r--r--pkgs/aszlig/santander/default.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/aszlig/santander/default.nix b/pkgs/aszlig/santander/default.nix
index e529cf27..c39d44dc 100644
--- a/pkgs/aszlig/santander/default.nix
+++ b/pkgs/aszlig/santander/default.nix
@@ -1,14 +1,11 @@
-{ stdenv, fetchurl, fetchgit, fetchpatch, runCommand, p7zip, jq, wineMinimal
-, pcsclite
+{ stdenv, lib, fetchurl, fetchgit, fetchpatch, runCommand, p7zip, jq
+, winePackages, pcsclite
 }:
 
 let
   patchedWine = let
     libpcsclite = "${pcsclite}/lib/libpcsclite.so";
-  in (wineMinimal.override {
-    wineBuild = "wine32";
-    wineRelease = "staging";
-  }).overrideDerivation (drv: {
+  in winePackages.minimal.overrideAttrs (drv: {
     scard4wine = fetchgit {
       url = "git://git.code.sf.net/p/scard4wine/code";
       rev = "c14c02c80bf1f2bb4cedd1f53a3a2ab9c48bed76";
@@ -29,7 +26,9 @@ let
       })
     ];
 
-    configureFlags = (drv.configureFlags or []) ++ [ "--disable-unixfs" ];
+    configureFlags = lib.toList (drv.configureFlags or []) ++ [
+      "--disable-unixfs"
+    ];
 
     postConfigure = (drv.postConfigure or "") + ''
       # The wineprefix is within the Nix store, so let's ensure wine doesn't