Skip to content

Commit

Permalink
Fix idrisPackages.with-packages
Browse files Browse the repository at this point in the history
1. The ln step was failing due to a file already existing
2. gcc was invoked directly which caused failure on OS X.
  • Loading branch information
mpickering authored and domenkozar committed Oct 30, 2017
1 parent 5c35db3 commit b8a7c45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/idris-modules/with-packages.nix
Expand Up @@ -10,7 +10,7 @@
installIdrisLib () {
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
}
Expand All @@ -34,7 +34,7 @@
'';

buildPhase = ''
gcc -O3 -o idris idris.c
$CC -O3 -o idris idris.c
'';

installPhase = ''
Expand Down

0 comments on commit b8a7c45

Please sign in to comment.