dawn: provide path to wish for the GUI
This commit is contained in:
parent
5375f83194
commit
62b5fa807f
1 changed files with 9 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, tk
|
||||||
|
, makeWrapper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -18,12 +20,19 @@ stdenv.mkDerivation rec {
|
||||||
--replace 'INSTALL_DIR =' "INSTALL_DIR = $out/bin#"
|
--replace 'INSTALL_DIR =' "INSTALL_DIR = $out/bin#"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram "$out/bin/DAWN_GUI" \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ tk ]}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A vectorized 3D PostScript processor with analytical hidden line/surface removal";
|
description = "A vectorized 3D PostScript processor with analytical hidden line/surface removal";
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
|
|
Loading…
Reference in a new issue