From 45e05c72783ce6aa5317aa68bf3b6f5acab4a773 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 4 Jul 2024 13:05:49 -0400 Subject: minor (nix related) --- .envrc-nix | 12 ++++++------ flake.nix | 3 ++- org/config_env.org | 12 ++++++------ org/config_nix.org | 3 ++- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.envrc-nix b/.envrc-nix index a98cf57..6da2e86 100644 --- a/.envrc-nix +++ b/.envrc-nix @@ -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 diff --git a/flake.nix b/flake.nix index 2a6115c..e7c6c9d 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = "<>"; shell = ./shell.nix; -- cgit v1.2.3