sgtpuzzles: create symlinks with sgt-puzzle- prefix for disambiguation, for example with net being provided by Samba
This commit is contained in:
parent
810a4dd656
commit
9cb61d3ac1
@ -18,6 +18,15 @@ stdenv.mkDerivation {
|
|||||||
cp gamedesc.txt LICENCE README "$out/share/doc/sgtpuzzles"
|
cp gamedesc.txt LICENCE README "$out/share/doc/sgtpuzzles"
|
||||||
cp LICENCE "$out/share/doc/sgtpuzzles/LICENSE"
|
cp LICENCE "$out/share/doc/sgtpuzzles/LICENSE"
|
||||||
'';
|
'';
|
||||||
|
# SGT Puzzles use generic names like net, map, etc.
|
||||||
|
# Create symlinks with sgt-puzzle- prefix for possibility of
|
||||||
|
# disambiguation
|
||||||
|
postInstall = ''
|
||||||
|
(
|
||||||
|
cd "$out"/bin ;
|
||||||
|
for i in *; do ln -s "$i" "sgt-puzzle-$i"; done
|
||||||
|
)
|
||||||
|
'';
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
perl mkfiles.pl
|
perl mkfiles.pl
|
||||||
export NIX_LDFLAGS="$NIX_LDFLAGS -lX11"
|
export NIX_LDFLAGS="$NIX_LDFLAGS -lX11"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user