updating flake
This commit is contained in:
6
nix/templates/haskell/flake.lock
generated
6
nix/templates/haskell/flake.lock
generated
@@ -86,11 +86,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1748291200,
|
||||
"narHash": "sha256-VUJo8sgFHLPouEpZs+QM/dI6S2ZJE6F0cj4SLWg1cBg=",
|
||||
"lastModified": 1748386148,
|
||||
"narHash": "sha256-bbm2KWAWE2jdYl06xwNg8A3Frz1+ujiziKaeh+GGGQg=",
|
||||
"owner": "xecarlox94",
|
||||
"repo": "p2p-rendering-computation",
|
||||
"rev": "5fa625160ee6627de61ca13991de3250c504be54",
|
||||
"rev": "85806ab035b22d451de5531c18c07461df1d7c77",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -40,11 +40,13 @@
|
||||
cabal-install
|
||||
];
|
||||
text = ''
|
||||
# TODO: add this check
|
||||
# if [ -f *.cabal ]; then echo "The file exists"; fi
|
||||
cabal init
|
||||
cabal init --minimal
|
||||
echo "RUNNING"
|
||||
|
||||
# TODO: sed command to fix bash import and add p2prc import
|
||||
# TODO: sed command to add p2prc example to main file
|
||||
cabal2nix . > ./project.nix;
|
||||
|
||||
git add .
|
||||
'';
|
||||
};
|
||||
@@ -57,6 +59,7 @@
|
||||
};
|
||||
|
||||
# TODO: override haskell binding lib devshell
|
||||
# FIX: p2prc library not available in dev shell
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
cabal2nix
|
||||
@@ -69,7 +72,7 @@
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
cabal2nix . > ./project.nix;
|
||||
cabal2nix . > ./project.nix
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user