Commit 925ea3bd authored by Valentin Reis's avatar Valentin Reis

MANIFESTS -> ARGONIX_SHARE

parent ef5630ad
Pipeline #5178 passed with stage
in 2 minutes and 26 seconds
......@@ -26,7 +26,7 @@ in rec
argotk = hpkgs.argotk.overrideAttrs (old:{
installPhase = old.installPhase + ''
mkdir $out/share/
MANIFESTS=/tmp $out/bin/argotk --bash-completion-script argotk > $out/share/argotk.sh
ARGONIX_SHARE=/tmp $out/bin/argotk --bash-completion-script argotk > $out/share/argotk.sh
'';
});
......@@ -38,7 +38,7 @@ in rec
preCommit = pkgs.mkShell {
name = "shake";
MANIFESTS = "/tmp";
ARGONIX_SHARE = "/tmp";
buildInputs = [
(pkgs.haskellPackages.ghcWithPackages (p: with p; [
argotk
......
......@@ -312,7 +312,8 @@ clean StackArgs {..} = cleanLeftovers workingDirectory
main :: IO ()
main = do
manifests <- getEnv "MANIFESTS"
argonixShare <- getEnv "ARGONIX_SHARE"
let manifests = argonixShare ++ "/manifests"
let a = def { manifestDir = ManifestDir $ decodeString manifests }
turtle <- execParser (info (opts a <**> helper) idm)
sh turtle
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment