]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
To merge in immae-environment
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 18 Nov 2022 23:55:52 +0000 (00:55 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 9 Apr 2023 15:16:31 +0000 (17:16 +0200)
environments/immae-eu.nix

index a4f2d732861ff01a9b700efabe8462259fbe256a..77325f578fbbf523a860d90404f8a8467d08a23a 100644 (file)
@@ -5,6 +5,13 @@ let
   vlock' = vlock.overrideAttrs(old: {
     configureFlags = old.configureFlags ++ [ "--enable-root-password=no" ];
   });
+  go-task' = writeScriptBin "go-task" ''
+    #!/usr/bin/env bash
+
+    export TASK_TEMP_DIR=$XDG_STATE_HOME/go-task
+    exec ${go-task}/bin/go-task -t $XDG_CONFIG_HOME/go-task/Taskfile.yaml "$@"
+  '';
+
   paths = [
     # archives
     lzo unzip bzip2 xz
@@ -138,6 +145,7 @@ let
 
     python3Packages.hetzner
     smartmontools
+    go-task'
   ];
 in
 buildEnv {