summaryrefslogtreecommitdiff
path: root/chaski/services
diff options
context:
space:
mode:
authorstuebinm2023-06-30 23:39:18 +0200
committerstuebinm2023-06-30 23:39:18 +0200
commit34d980586399831d300d3aad031c555966f486af (patch)
treeaab431448d32f7d30e8e7f771b8d20561ccebf03 /chaski/services
parentd7576dbe98d128316058256424f3fc566d07ad67 (diff)
update inputs
Diffstat (limited to 'chaski/services')
-rw-r--r--chaski/services/tracktrain.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/chaski/services/tracktrain.nix b/chaski/services/tracktrain.nix
index b6394de..bbaa693 100644
--- a/chaski/services/tracktrain.nix
+++ b/chaski/services/tracktrain.nix
@@ -121,13 +121,11 @@ in
script = ''
cd /tmp
ln -sf ${pkgs.writeText "config.yaml" tracktrain-config} "config.yaml"
- ${stripLib (((import inputs.tracktrain {nixpkgs = pkgs;}))
- # have to remove version constraints because some aren't in 22.05
- .overrideAttrs (old: { patchPhase = ''
- sed -i "s/base.*/base/g" *.cabal
- sed -i "s/^>=.*//g" *.cabal
- sed -i "s/>=.*//g" *.cabal
- ''; }))
+ ${
+ import inputs.tracktrain {
+ nixpkgs = pkgs;
+ compiler = "default";
+ }
}/bin/tracktrain +RTS -T
'';
startAt = "daily";