finishing automated setup

This commit is contained in:
2025-06-02 00:07:53 +01:00
parent 01e19d9a8c
commit 27f4615cd1
2 changed files with 5 additions and 3 deletions

View File

@@ -97,8 +97,7 @@
sed -i 's/base.*$/base, p2prc/' "$PROJECT_DIR".cabal
cabal2nix . > ./cabal.nix;
# TODO: add cabal2nix shell.nix generator
cabal2nix . --shell > shell.nix
git add .
clear
@@ -107,6 +106,8 @@
echo -e "cd $PROJECT_DIR\n"
echo -e "nix flake init -t github:akilan1999/p2p-rendering-computation#haskell"
echo -e "nix develop"
echo -e "nix run"
'';
};