another attempt to test bootstrapping
This commit is contained in:
@@ -26,8 +26,6 @@
|
|||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
|
||||||
# TODO: merge overlays into a list
|
|
||||||
# TODO: create default file in overlays folder to merge all overlays
|
|
||||||
bindingsOverlay = import ./nix/overlays/bindings.nix;
|
bindingsOverlay = import ./nix/overlays/bindings.nix;
|
||||||
coreOverlay = (final: prev: {
|
coreOverlay = (final: prev: {
|
||||||
p2prc = final.callPackage ./. { };
|
p2prc = final.callPackage ./. { };
|
||||||
@@ -78,15 +76,17 @@
|
|||||||
''
|
''
|
||||||
cabal init
|
cabal init
|
||||||
|
|
||||||
|
# TODO: remove reference to cabal file
|
||||||
sed -i 's/base.*$/base, p2prc/' test-flake-template.cabal
|
sed -i 's/base.*$/base, p2prc/' test-flake-template.cabal
|
||||||
|
|
||||||
cabal2nix . > ./cabal.nix;
|
cabal2nix . > ./cabal.nix;
|
||||||
|
|
||||||
|
# TODO: remove reference to nix branch
|
||||||
nix flake init -t github:xecarlox94/p2p-rendering-computation?ref=nix#haskell
|
nix flake init -t github:xecarlox94/p2p-rendering-computation?ref=nix#haskell
|
||||||
|
|
||||||
|
git add .
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
)) //
|
)) //
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user