とりあえず、 configuration.nix から nixpkgs.config.overridePackages の抜粋を載せておきます:
winetricks = winetricks.overrideAttrs (old: rec { src = fetchFromGitHub { owner = "Winetricks"; repo = "winetricks"; rev = "20170517"; sha256 = "1av36c5zs5rc0ab4g2h4i6g19c9xs7si18lgn431hdnqh7hw086h"; }; }); wine = (callPackage <nixpkgs/pkgs/misc/emulators/wine/base.nix> rec { version = "2.9"; name = "wine-wow-${version}"; src = fetchurl { url = "https://dl.winehq.org/wine/source/2.x/wine-${version}.tar.xz"; sha256 = "0pslhs3kwjimlz5ad6vzzdw7lgbfpwl8vyg4jmf17p61pfxzfimc"; }; stdenv = pkgs.stdenv_32bit; pkgArches = [ pkgs pkgsi686Linux ]; geckos = [ (fetchurl rec { url = "http://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi"; sha256 = "0fk4fwb4ym8xn0i5jv5r5y198jbpka24xmxgr8hjv5b3blgkd2iv"; }) (fetchurl rec { url = "http://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86_64.msi"; sha256 = "0zaagqsji6zaag92fqwlasjs8v9hwjci5c2agn9m7a8fwljylrf5"; }) ]; monos = [ (fetchurl rec { url = "http://dl.winehq.org/wine/wine-mono/4.6.4/wine-mono-4.6.4.msi"; sha256 = "0lj1rhp9s8aaxd6764mfvnyswwalafaanz80vxg3badrfy0xbdwi"; }) ]; buildScript = <nixpkgs/pkgs/misc/emulators/wine/builder-wow.sh>; platforms = [[ "x86_64-linux" ]] ; supportFlags = { pngSupport = true; jpegSupport = true; tiffSupport = true; gettextSupport = true; fontconfigSupport = true; alsaSupport = true; openglSupport = true; tlsSupport = true; gstreamerSupport = true; cupsSupport = true; dbusSupport = true; mpg123Support = true; openalSupport = true; odbcSupport = true; netapiSupport = true; cursesSupport = true; vaSupport = true; v4lSupport = true; saneSupport = true; gsmSupport = true; gphoto2Support = true; pulseaudioSupport = true; xineramaSupport = true; xmlSupport = true; cairoSupport = true; pcapSupport = true; openclSupport = true; ldapSupport = false; gtkSupport = false; colorManagementSupport = false; }; });