diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2024-07-04 13:05:49 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2024-07-04 13:11:55 -0400 |
commit | 45e05c72783ce6aa5317aa68bf3b6f5acab4a773 (patch) | |
tree | 6a119f2acfa5f45146edba6c05c7fa6e4fba3d30 | |
parent | shallow clone for install directory (diff) |
minor (nix related)
-rw-r--r-- | .envrc-nix | 12 | ||||
-rw-r--r-- | flake.nix | 3 | ||||
-rw-r--r-- | org/config_env.org | 12 | ||||
-rw-r--r-- | org/config_nix.org | 3 |
4 files changed, 16 insertions, 14 deletions
@@ -16,11 +16,11 @@ PATH_add result/bin use flake . #use flake .#default echo ' -- consider running: +• consider running: ❯❯ nix flake show ❯❯ nix flake update && nix flake check && nix flake show -- for a dev shell (development environment): +• for a dev shell (development environment): ❯❯ nix develop ❯❯ nix develop ".#" --print-build-logs -c zsh ❯❯ nix develop ".#dsh-nixpkgs-dmd-dub" --print-build-logs -c zsh @@ -28,11 +28,11 @@ echo ' ❯❯ nix develop ".#dsh-nixpkgs-ldc-dub" --print-build-logs -c zsh ❯❯ nix develop ".#dsh-overlay-ldc-dub" --print-build-logs -c zsh -- to build project: +• to build project: ❯❯ nix build --print-build-logs ❯❯ nix build ".#" --print-build-logs -- to build project (for build dependencies select appropriate dev env & build): +• to build project (for build dependencies select appropriate dev env & build): ❯❯ nix build ".#spine-search-nixpkgs-dmd" --print-build-logs ❯❯ nix build ".#spine-search-overlay-dmd" --print-build-logs @@ -40,7 +40,7 @@ echo ' ❯❯ nix build ".#spine-search-nixpkgs-ldc" --print-build-logs ❯❯ nix build ".#spine-search-overlay-ldc" --print-build-logs -- to build using dub on nix (get dependencies by setting your development environment): +• to build using dub on nix (get dependencies by setting your development environment): ❯❯ nix develop ".#dsh-nixpkgs-dmd-dub" --print-build-logs -c zsh ❯❯ dub run --compiler=dmd --config=dmd --combined --skip-registry=all @@ -48,7 +48,7 @@ echo ' ❯❯ nix develop ".#dsh-nixpkgs-ldc-dub" --print-build-logs -c zsh ❯❯ dub run --compiler=ldmd2 --config=ldmd2 --combined --skip-registry=all -- for develop environment & build options +• for develop environment & build options ❯❯ nix flake show ❯❯ nix flake update && nix flake check && nix flake show @@ -12,7 +12,8 @@ nixpkgs, flake-utils, d-overlay, - } @ inputs: let + ... + }@inputs: let pname = "spine_search"; version = "0.16.0"; shell = ./shell.nix; diff --git a/org/config_env.org b/org/config_env.org index dab1d81..5e3e0b2 100644 --- a/org/config_env.org +++ b/org/config_env.org @@ -72,11 +72,11 @@ PATH_add result/bin use flake . #use flake .#default echo ' -- consider running: +• consider running: ❯❯ nix flake show ❯❯ nix flake update && nix flake check && nix flake show -- for a dev shell (development environment): +• for a dev shell (development environment): ❯❯ nix develop ❯❯ nix develop ".#" --print-build-logs -c zsh ❯❯ nix develop ".#dsh-nixpkgs-dmd-dub" --print-build-logs -c zsh @@ -84,11 +84,11 @@ echo ' ❯❯ nix develop ".#dsh-nixpkgs-ldc-dub" --print-build-logs -c zsh ❯❯ nix develop ".#dsh-overlay-ldc-dub" --print-build-logs -c zsh -- to build project: +• to build project: ❯❯ nix build --print-build-logs ❯❯ nix build ".#" --print-build-logs -- to build project (for build dependencies select appropriate dev env & build): +• to build project (for build dependencies select appropriate dev env & build): ❯❯ nix build ".#spine-search-nixpkgs-dmd" --print-build-logs ❯❯ nix build ".#spine-search-overlay-dmd" --print-build-logs @@ -96,7 +96,7 @@ echo ' ❯❯ nix build ".#spine-search-nixpkgs-ldc" --print-build-logs ❯❯ nix build ".#spine-search-overlay-ldc" --print-build-logs -- to build using dub on nix (get dependencies by setting your development environment): +• to build using dub on nix (get dependencies by setting your development environment): ❯❯ nix develop ".#dsh-nixpkgs-dmd-dub" --print-build-logs -c zsh ❯❯ dub run --compiler=dmd --config=dmd --combined --skip-registry=all @@ -104,7 +104,7 @@ echo ' ❯❯ nix develop ".#dsh-nixpkgs-ldc-dub" --print-build-logs -c zsh ❯❯ dub run --compiler=ldmd2 --config=ldmd2 --combined --skip-registry=all -- for develop environment & build options +• for develop environment & build options ❯❯ nix flake show ❯❯ nix flake update && nix flake check && nix flake show diff --git a/org/config_nix.org b/org/config_nix.org index 3eb9498..9582909 100644 --- a/org/config_nix.org +++ b/org/config_nix.org @@ -39,7 +39,8 @@ nixpkgs, flake-utils, d-overlay, - } @ inputs: let + ... + }@inputs: let pname = "spine_search"; version = "<<spine_version>>"; shell = ./shell.nix; |