palp: format
This commit is contained in:
parent
9718302d11
commit
b7befb3522
@ -1,4 +1,5 @@
|
|||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, dimensions ? 6 # works for <= dimensions dimensions, but is only optimized for that exact value
|
, dimensions ? 6 # works for <= dimensions dimensions, but is only optimized for that exact value
|
||||||
, doSymlink ? true # symlink the executables to the default location (without dimension postfix)
|
, doSymlink ? true # symlink the executables to the default location (without dimension postfix)
|
||||||
@ -42,12 +43,12 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/bin"
|
mkdir -p $out/bin
|
||||||
for file in poly class cws nef mori; do
|
for file in poly class cws nef mori; do
|
||||||
cp -p $file.x "$out/bin/$file-${dim}d.x"
|
cp -p $file.x "$out/bin/$file-${dim}d.x"
|
||||||
done
|
done
|
||||||
'' + lib.optionalString doSymlink ''
|
'' + lib.optionalString doSymlink ''
|
||||||
cd "$out/bin"
|
cd $out/bin
|
||||||
for file in poly class cws nef mori; do
|
for file in poly class cws nef mori; do
|
||||||
ln -sf $file-6d.x $file.x
|
ln -sf $file-6d.x $file.x
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user