gnome3.gnome_shell: reorganize source substition
This commit is contained in:
parent
c9fe6567ed
commit
4772fc10b5
|
@ -44,20 +44,12 @@ in stdenv.mkDerivation rec {
|
||||||
./fix-paths.patch
|
./fix-paths.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
preBuild = ''
|
postPatch = ''
|
||||||
# meson setup-hook changes the directory so the files are located one level up
|
patchShebangs src/data-to-c.pl
|
||||||
patchShebangs ../src/data-to-c.pl
|
|
||||||
|
|
||||||
substituteInPlace ../src/gnome-shell-extension-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python"
|
substituteInPlace src/gnome-shell-extension-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python"
|
||||||
substituteInPlace ../src/gnome-shell-perf-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python"
|
substituteInPlace src/gnome-shell-perf-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python"
|
||||||
'';
|
substituteInPlace js/ui/extensionDownloader.js --replace "unzip" "${unzip}/bin/unzip"
|
||||||
|
|
||||||
preFixup = with gnome3; ''
|
|
||||||
gappsWrapperArgs+=(
|
|
||||||
--prefix PATH : "${unzip}/bin"
|
|
||||||
)
|
|
||||||
|
|
||||||
echo "${unzip}/bin" > $out/${passthru.mozillaPlugin}/extra-bin-path
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
Loading…
Reference in a new issue