tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dawn: provide path to wish for the GUI
Dmitry Kalinkin
3 years ago
62b5fa80
5375f831
+9
1 changed file
expand all
collapse all
unified
split
pkgs
applications
science
physics
dawn
default.nix
+9
pkgs/applications/science/physics/dawn/default.nix
···
1
1
{ lib
2
2
, stdenv
3
3
, fetchurl
4
4
+
, tk
5
5
+
, makeWrapper
4
6
}:
5
7
6
8
stdenv.mkDerivation rec {
···
18
20
--replace 'INSTALL_DIR =' "INSTALL_DIR = $out/bin#"
19
21
'';
20
22
23
23
+
nativeBuildInputs = [ makeWrapper ];
24
24
+
21
25
dontConfigure = true;
22
26
23
27
preInstall = ''
24
28
mkdir -p "$out/bin"
29
29
+
'';
30
30
+
31
31
+
postInstall = ''
32
32
+
wrapProgram "$out/bin/DAWN_GUI" \
33
33
+
--prefix PATH : ${lib.makeBinPath [ tk ]}
25
34
'';
26
35
27
36
meta = with lib; {