Skip to content

Commit fb71c16

Browse files
committed
Fix incorrect squirrel version in Nix flake
1 parent 34afa80 commit fb71c16

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

flake.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@
6161
pname = "squirrel";
6262
version = "3.2";
6363
src = squirrel_src;
64+
patchPhase = ''
65+
substituteInPlace CMakeLists.txt \
66+
--replace "project(squirrel VERSION 3.1 LANGUAGES C CXX)" \
67+
"project(squirrel VERSION 3.2 LANGUAGES C CXX)"
68+
'';
6469
nativeBuildInputs = [
6570
pkgs.cmake
6671
];

0 commit comments

Comments
 (0)