summaryrefslogtreecommitdiff
path: root/chaski/services
diff options
context:
space:
mode:
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";