fix: Nix: executable
This commit is contained in:
parent
4b7f09fbf1
commit
e63ab75cb9
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ in rec {
|
|||
mkdir $out
|
||||
ar Trcs $out/lib${name}.a ${lib.concatStringsSep " " (map (drv: "${drv}/${drv.oPath}") (attrValues objects))}
|
||||
'';
|
||||
executable = runCommand executableName {} ''
|
||||
executable = runCommand executableName { buildInputs = [ stdenv.cc ]; } ''
|
||||
mkdir -p $out/bin
|
||||
${leanc}/bin/leanc -x none ${staticLib}/* -o $out/bin/${executableName}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue