try fixing bump-config script
This commit is contained in:
parent
8e202d533b
commit
b786d551cd
|
@ -22,7 +22,7 @@ load Absolute ["git", "niv"]
|
|||
paths :: [Text]
|
||||
paths =
|
||||
$$( bindCode (runIO pathBinsAbs) \rawPaths ->
|
||||
let wantedPaths :: [Text] = mapMaybe (\x -> foldr (<|>) Nothing $ (\bin -> Text.stripSuffix [i|/#{bin}|] $ toText x) <$> ["git", "tar", "nix-prefetch-url", "gzip"]) rawPaths
|
||||
let wantedPaths :: [Text] = mapMaybe (\x -> foldr (<|>) Nothing $ (\bin -> Text.stripSuffix [i|/#{bin}|] $ toText x) <$> ["git", "tar", "nix-prefetch-url", "gzip", "ssh"]) rawPaths
|
||||
in liftTyped wantedPaths
|
||||
)
|
||||
|
||||
|
|
|
@ -98,18 +98,13 @@ in {
|
|||
pkgs.writeShellScript "test-config" ''
|
||||
FLAGS="" PATH=${standardPath}:$PATH ${test-config}
|
||||
'';
|
||||
"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}
|
||||
'';
|
||||
"bump-config.run" = pkgs.writeHaskell "bump-config"
|
||||
{
|
||||
libraries = builtins.attrValues pkgs.myHaskellScriptPackages;
|
||||
ghcEnv.PATH = "${standardPath}:$PATH";
|
||||
ghcArgs = ["-threaded"];
|
||||
}
|
||||
(builtins.readFile ./bump-config.hs);
|
||||
}
|
||||
// lib.listToAttrs (map mkHomeJob homes)
|
||||
// lib.listToAttrs (map mkSystemJob homes);
|
||||
|
|
Loading…
Reference in a new issue