diff options
Diffstat (limited to 'pkgs/applications/science/physics/dawn/default.nix')
-rw-r--r-- | pkgs/applications/science/physics/dawn/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/science/physics/dawn/default.nix b/pkgs/applications/science/physics/dawn/default.nix index 609a0e1c4cd3..c174d4c0720f 100644 --- a/pkgs/applications/science/physics/dawn/default.nix +++ b/pkgs/applications/science/physics/dawn/default.nix @@ -1,6 +1,8 @@ { lib , stdenv , fetchurl +, tk +, makeWrapper }: stdenv.mkDerivation rec { @@ -18,12 +20,19 @@ stdenv.mkDerivation rec { --replace 'INSTALL_DIR =' "INSTALL_DIR = $out/bin#" ''; + nativeBuildInputs = [ makeWrapper ]; + dontConfigure = true; preInstall = '' mkdir -p "$out/bin" ''; + postInstall = '' + wrapProgram "$out/bin/DAWN_GUI" \ + --prefix PATH : ${lib.makeBinPath [ tk ]} + ''; + meta = with lib; { description = "A vectorized 3D PostScript processor with analytical hidden line/surface removal"; license = licenses.unfree; |