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) --- org/config_env.org | 12 ++++++------ org/config_nix.org | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'org') 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