Skip to content

Commit

Permalink
build: copy only libsquirrel.a to output folder (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
headblockhead authored Oct 13, 2024
1 parent 7f5d92c commit cb9f87a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ stdenv.mkDerivation {
"-DCMAKE_CXX_COMPILER=${gcc}/bin/g++"
];

installPhase = ''cp -r . $out'';
installPhase = ''
mkdir -p $out
mkdir -p $out/lib
cp libsquirrel.a $out/lib/libsquirrel.a
'';

checkPhase = ''make -C ./build test'';

Expand Down

0 comments on commit cb9f87a

Please sign in to comment.