diff options
author | Domen Kožar <domen@dev.si> | 2014-01-06 22:35:39 +0000 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2014-02-20 01:19:15 +0100 |
commit | fae6079a01b604cdaaab2ecb9bf48368be31255e (patch) | |
tree | 3a7050a583b9cad68653f4c4066afbdbae5767f9 /pkgs/tools/X11/winswitch | |
parent | 6adfd13dd4b28546e4ea0dfa4e28727b94c891e9 (diff) | |
download | nixlib-fae6079a01b604cdaaab2ecb9bf48368be31255e.tar nixlib-fae6079a01b604cdaaab2ecb9bf48368be31255e.tar.gz nixlib-fae6079a01b604cdaaab2ecb9bf48368be31255e.tar.bz2 nixlib-fae6079a01b604cdaaab2ecb9bf48368be31255e.tar.lz nixlib-fae6079a01b604cdaaab2ecb9bf48368be31255e.tar.xz nixlib-fae6079a01b604cdaaab2ecb9bf48368be31255e.tar.zst nixlib-fae6079a01b604cdaaab2ecb9bf48368be31255e.zip |
adopt rest of the packages that were failing with the buildPythonPackage changes
Diffstat (limited to 'pkgs/tools/X11/winswitch')
-rw-r--r-- | pkgs/tools/X11/winswitch/default.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/tools/X11/winswitch/default.nix b/pkgs/tools/X11/winswitch/default.nix index bd160940b573..2db0d1721735 100644 --- a/pkgs/tools/X11/winswitch/default.nix +++ b/pkgs/tools/X11/winswitch/default.nix @@ -29,12 +29,10 @@ let }' winswitch/util/distro_packaging_util.py ''; - buildPhase = '' - python setup.py build - ''; - - installCommand = '' - PREFIX="$out" python ./setup.py install --prefix="$out" + preInstall = '' + # see https://bitbucket.org/pypa/setuptools/issue/130/install_data-doesnt-respect-prefix + python setup.py install_data --install-dir=$out --root=$out + sed -i '/data_files = data_files/d' setup.py ''; doCheck = false; |