diff options
author | Christoph Ruegge <c.ruegge@math.uni-goettingen.de> | 2019-10-22 17:27:47 +0200 |
---|---|---|
committer | Christoph Ruegge <c.ruegge@math.uni-goettingen.de> | 2019-10-22 17:27:47 +0200 |
commit | 97f734a4f15fba8f962b3808a94b5979db46d114 (patch) | |
tree | b8255f88ac89110887438963577bf5cadc6e7e57 /pkgs/applications/editors/texmaker | |
parent | adf81192c6e15d80c803c238cfe4a7fe916938df (diff) |
texmaker: avoid shell expansion when setting qmakeFlags
Diffstat (limited to 'pkgs/applications/editors/texmaker')
-rw-r--r-- | pkgs/applications/editors/texmaker/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/editors/texmaker/default.nix b/pkgs/applications/editors/texmaker/default.nix index a4bc4dc03215a..71043cb78fe13 100644 --- a/pkgs/applications/editors/texmaker/default.nix +++ b/pkgs/applications/editors/texmaker/default.nix @@ -13,10 +13,11 @@ mkDerivation rec { nativeBuildInputs = [ pkgconfig poppler qmake ]; NIX_CFLAGS_COMPILE="-I${poppler.dev}/include/poppler"; - preConfigure = '' - qmakeFlags="$qmakeFlags DESKTOPDIR=$out/share/applications ICONDIR=$out/share/pixmaps METAINFODIR=$out/share/metainfo" - ''; - + qmakeFlags = [ + "DESKTOPDIR=${placeholder "out"}/share/applications" + "ICONDIR=${placeholder "out"}/share/pixmaps" + "METAINFODIR=${placeholder "out"}/share/metainfo" + ]; enableParallelBuilding = true; |