aboutsummaryrefslogtreecommitdiffhomepage
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix19
1 files changed, 17 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index d57ddc4..3fa66fa 100644
--- a/flake.nix
+++ b/flake.nix
@@ -51,8 +51,23 @@
runHook postInstall
'';
postInstall = ''
- echo "$out/share/cgi-bin"
+ echo "nix build or nix develop? (suggestions):"
+ echo '- nix build'
+ echo ' nix build .#spine --print-build-logs'
+ echo ' nix build --print-build-logs'
+ echo '- nix run'
+ echo ' nix run .#spine --print-build-logs'
+ echo ' nix run default.nix --print-build-logs'
+ echo '- nix shell'
+ echo ' nix shell --print-build-logs --command spine -v'
+ echo '- nix develop'
+ echo ' nix develop --build -f derivation.nix -I .envrc --print-build-logs'
+ echo ' nix develop ; eval "$buildPhase"'
+ echo 'spine -v'
+ echo 'nix-instantiate | nix show-derivation | jq'
echo `ls -la $out/bin/spine`
+ echo "built:"
+ $out/bin/spine -v
'';
nativeBuildInputs = with pkgs; [
ldc dub
@@ -61,6 +76,6 @@
sqlite
];
};
- defaultPackage.x86_64-linux = self.packages.x86_64-linux.spine;
+ packages.x86_64-linux.default = self.packages.x86_64-linux.spine;
};
}