summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/default.nix b/default.nix
index d70e409..a828aa9 100644
--- a/default.nix
+++ b/default.nix
@@ -31,6 +31,9 @@ buildPythonApplication rec {
logformat
];
+ # smoke test
+ preCheck = "$out/bin/osm-proposals --help >/dev/null";
+
postInstall = ''
mkdir -p $out/share/osm-proposals
cp -r ${./static}/. $out/share/osm-proposals/