git.iko.soy/typeable/nixpkgs
on master help sign in
deepin.dpa-ext-gnomekeyring: fix use of patchShebangs
commit644f8af0cda8cecf4d5c7f486fcf7c668da01e38 authorJosé Romildo Malaquias <malaquias@gmail.com> dateTue 2 Apr 2019, 20:10 (8 years ago) parenta1bf396
1 file changed+4−4
pkgs/desktops/deepin/dpa-ext-gnomekeyring/default.nix+4−4
pkgs/desktops/deepin/dpa-ext-gnomekeyring/default.nix+4−4
@@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
1717 pkgconfig
1818 qmake
1919 qttools
20+ deepin.setupHook
2021 ];
2122
2223 buildInputs = [
@@ -25,10 +26,9 @@ stdenv.mkDerivation rec {
2526 ];
2627
2728 postPatch = ''
28− patchShebangs .
29−
30− sed -i dpa-ext-gnomekeyring.pro gnomekeyringextention.cpp \
31− -e "s,/usr,$out,"
29+ searchHardCodedPaths
30+ patchShebangs translate_generation.sh
31+ fixPath $out /usr dpa-ext-gnomekeyring.pro gnomekeyringextention.cpp
3232 '';
3333
3434 passthru.updateScript = deepin.updateScript { inherit name; };