summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-02-03 23:39:15 +0100
committerLinnnus <[email protected]>2024-02-04 20:26:17 +0100
commit2967d8f1b6636b46ec648e9efba2f79573c20da8 (patch)
tree9f2f714f2e7eddd652bc72c8aabda8a1981b6d35 /flake.nix
parentd38f82f6462af4e5aad6a2c776f5c00ce5b13c87 (diff)
test(creole): move creole tests to static data
This removes *a ton* of code for dealing with reading files and what not. Now instead we just store the test cases as a huge array in the code. I have no idea why I didn't just do this from the start??
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix9
1 files changed, 1 insertions, 8 deletions
diff --git a/flake.nix b/flake.nix
index 75ab105..24c60a1 100644
--- a/flake.nix
+++ b/flake.nix
@@ -38,14 +38,7 @@
installPhase = ''
mkdir -p $out/bin
make build/creole-test
- mv build/creole-test $out/bin/.creole-test-wrapped
-
- cat >$out/bin/creole-test <<EOF
- #!${pkgs.bash}/bin/bash
- cd ${src}
- exec $out/bin/.creole-test-wrapped
- EOF
- chmod +x $out/bin/creole-test
+ mv build/creole-test $out/bin
'';
};