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
{ lib
2
, stdenv
3
, fetchurl
0
0
4
}:
5
6
stdenv.mkDerivation rec {
···
18
--replace 'INSTALL_DIR =' "INSTALL_DIR = $out/bin#"
19
'';
20
0
0
21
dontConfigure = true;
22
23
preInstall = ''
24
mkdir -p "$out/bin"
0
0
0
0
0
25
'';
26
27
meta = with lib; {
···
1
{ lib
2
, stdenv
3
, fetchurl
4
+
, tk
5
+
, makeWrapper
6
}:
7
8
stdenv.mkDerivation rec {
···
20
--replace 'INSTALL_DIR =' "INSTALL_DIR = $out/bin#"
21
'';
22
23
+
nativeBuildInputs = [ makeWrapper ];
24
+
25
dontConfigure = true;
26
27
preInstall = ''
28
mkdir -p "$out/bin"
29
+
'';
30
+
31
+
postInstall = ''
32
+
wrapProgram "$out/bin/DAWN_GUI" \
33
+
--prefix PATH : ${lib.makeBinPath [ tk ]}
34
'';
35
36
meta = with lib; {