diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-01-12 11:12:17 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-01-12 11:12:17 +0000 |
commit | 21443fb79772ae165386f41277f9c210ca9a7cc8 (patch) | |
tree | a8961ff3c6485ea081986085a4009231d6bde7d3 /pkgs/applications/misc/gv | |
parent | 2f770f46e4dc78d0c0ef85964e8f6261915be7fa (diff) |
GNU gv: Properly substitute the default value of `gsInterpreter'.
svn path=/nixpkgs/trunk/; revision=13740
Diffstat (limited to 'pkgs/applications/misc/gv')
-rw-r--r-- | pkgs/applications/misc/gv/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/misc/gv/default.nix b/pkgs/applications/misc/gv/default.nix index 4f1b415e90669..109c3d8102f93 100644 --- a/pkgs/applications/misc/gv/default.nix +++ b/pkgs/applications/misc/gv/default.nix @@ -10,13 +10,16 @@ stdenv.mkDerivation rec { buildInputs = [ Xaw3d ghostscriptX ]; - postConfigure = [ "sed 's|\\<gs\\>|${ghostscriptX}/bin/gs|g' -i src/*.am" ]; + postConfigure = '' + sed 's|\<gs\>|${ghostscriptX}/bin/gs|g' -i src/*.in + sed 's|"gs"|"${ghostscriptX}/bin/gs"|g' -i src/*.c + ''; doCheck = true; meta = { homepage = http://www.gnu.org/software/gv/; description = "GNU gv, a PostScript/PDF document viewer"; - license = "GPLv2+"; + license = "GPLv3+"; }; } |