Fix idrisPackages.with-packages
1. The ln step was failing due to a file already existing 2. gcc was invoked directly which caused failure on OS X.
This commit is contained in:
parent
5c35db3e9b
commit
b8a7c455f6
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
installIdrisLib () {
|
installIdrisLib () {
|
||||||
if [ -d $1/lib/${idris.name} ]; then
|
if [ -d $1/lib/${idris.name} ]; then
|
||||||
ln -sv $1/lib/${idris.name}/* $out/lib/${idris.name}
|
ln -fsv $1/lib/${idris.name}/* $out/lib/${idris.name}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,7 +34,7 @@
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
gcc -O3 -o idris idris.c
|
$CC -O3 -o idris idris.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user