1
0
Fork 0

fix bump config script

This commit is contained in:
Malte Brandy 2022-06-04 23:13:09 +02:00
parent 54437a63ef
commit 09c0e9db92

View file

@ -98,13 +98,18 @@ in {
pkgs.writeShellScript "test-config" ''
FLAGS="" PATH=${standardPath}:$PATH ${test-config}
'';
"bump-config.run" = pkgs.writeHaskell "bump-config"
{
libraries = builtins.attrValues pkgs.myHaskellScriptPackages;
ghcEnv.PATH = "${standardPath}:$PATH";
ghcArgs = ["-threaded"];
}
(builtins.readFile ./bump-config.hs);
"bump-config.run" = let
bump-config = pkgs.writeHaskell "bump-config"
{
libraries = builtins.attrValues pkgs.myHaskellScriptPackages;
ghcEnv.PATH = "${standardPath}:$PATH";
ghcArgs = ["-threaded"];
}
(builtins.readFile ./bump-config.hs);
in
pkgs.writeShellScript "bump-config" ''
PATH=${standardPath}:$PATH ${bump-config}
'';
}
// lib.listToAttrs (map mkHomeJob homes)
// lib.listToAttrs (map mkSystemJob homes);