Skip to content

Commit feea179

Browse files
authored
flake : allow $out/include to already exist (#3175)
1 parent 769266a commit feea179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
postInstall = ''
4646
mv $out/bin/main $out/bin/llama
4747
mv $out/bin/server $out/bin/llama-server
48-
mkdir $out/include
48+
mkdir -p $out/include
4949
cp ${src}/llama.h $out/include/
5050
'';
5151
cmakeFlags = [ "-DLLAMA_BUILD_SERVER=ON" "-DLLAMA_MPI=ON" "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_SKIP_BUILD_RPATH=ON" ];

0 commit comments

Comments
 (0)