aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/default.nix b/default.nix
index f714fdf..a929aed 100644
--- a/default.nix
+++ b/default.nix
@@ -47,6 +47,9 @@ let
description = "tracktrain tracks trains on their traintracks";
license = "unknown";
mainProgram = "tracktrain";
+ postInstall = ''
+ cp -r $src/assets $out/assets
+ '';
};
haskellPackages = if compiler == "default"
@@ -75,6 +78,7 @@ let
buildPhase = ''
mkdir -p $out
cp -r $src/bin $out
+ cp -r $src/assets $out/assets
'';
phases = [ "buildPhase" ];
};