diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2024-05-17 23:54:51 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2024-05-17 23:55:49 -0400 |
commit | 28c562471290a8513c99059d964289312b2c0589 (patch) | |
tree | e69a6e2fc1ec047e817480a29a51c0f4de2912a1 /org | |
parent | READMEs & general copyright file (diff) |
nix flake and nix env
Diffstat (limited to 'org')
-rw-r--r-- | org/config_env.org | 2 | ||||
-rw-r--r-- | org/config_nix.org | 13 |
2 files changed, 8 insertions, 7 deletions
diff --git a/org/config_env.org b/org/config_env.org index a482da8..ecf4ee5 100644 --- a/org/config_env.org +++ b/org/config_env.org @@ -95,9 +95,7 @@ echo ' ❯❯ nix build ".#" --print-build-logs - to build project: - ❯❯ nix build ".#spine-nixpkgs-dmd" --print-build-logs ❯❯ nix build ".#spine-overlay-dmd" --print-build-logs - ❯❯ nix build ".#spine-nixpkgs-ldc" --print-build-logs ❯❯ nix build ".#spine-overlay-ldc" --print-build-logs - to build using dub (on nix or otherwise): diff --git a/org/config_nix.org b/org/config_nix.org index 2485dab..52e16e6 100644 --- a/org/config_nix.org +++ b/org/config_nix.org @@ -4,7 +4,7 @@ #+FILETAGS: :spine:build:tools: #+AUTHOR: Ralph Amissah #+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]] -#+COPYRIGHT: Copyright (C) 2015 - 2023 Ralph Amissah +#+COPYRIGHT: Copyright (C) 2015 - 2024 Ralph Amissah #+LANGUAGE: en #+STARTUP: show4levels hideblocks hidestars noindent entitiespretty #+PROPERTY: header-args :exports code @@ -55,9 +55,9 @@ pkgs = nixpkgsFor.${system}; in { default = spine.packages.${system}.default; - spine-nixpkgs-dmd = spine.packages.${system}.spine-nixpkgs-dmd; + #spine-nixpkgs-dmd = spine.packages.${system}.spine-nixpkgs-dmd; spine-overlay-dmd = spine.packages.${system}.spine-overlay-dmd; - spine-nixpkgs-ldc = spine.packages.${system}.spine-nixpkgs-ldc; + #spine-nixpkgs-ldc = spine.packages.${system}.spine-nixpkgs-ldc; spine-overlay-ldc = spine.packages.${system}.spine-overlay-ldc; #vendorSha256 = "sha256-0Q00000000000000000000000000000000000000000="; }); @@ -205,7 +205,7 @@ with pkgs; # ❯❯❯ nix_related ##nix #direnv - #nixVersions.unstable #nixFlakes + #nixVersions.nix_2_21 #nixVersions.latest #nixVersions.git #nix-prefetch-git #validatePkgConfig nix-output-monitor @@ -254,6 +254,8 @@ with pkgs; } #+END_SRC +** default.nix :default: + #+HEADER: :tangle ../default.nix #+HEADER: :tangle-mode (identity #o755) #+HEADER: :shebang "#!/usr/bin/env -S nix-build" @@ -287,7 +289,7 @@ with pkgs; nix-output-monitor nix-tree jq - alejandra + #alejandra git # ❯❯❯ dev gnumake @@ -296,6 +298,7 @@ with pkgs; # ❯❯ package manager dub # ❯❯ compiler + #dmd ldc # ❯❯❯ sqlite search related sqlite |