diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-09-28 18:33:09 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-10-03 21:58:01 -0400 |
commit | 3b6e0279c4afffc8b11cd7d881e0a8b6f43aa431 (patch) | |
tree | d919fa206e169300caa05bce77e6a79fd2d7803c /flake.nix | |
parent | org noweb adjustments (diff) |
org nix
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -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; }; } |