diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2024-05-08 21:50:41 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2024-05-08 21:50:41 -0400 |
commit | 595ee0a46d510a7152766b7c70fa1c700908ad4e (patch) | |
tree | 72f7726a9bcb1c286f222e5c96eb634e0e22b2c2 | |
parent | set nixVersions.nix_2_21 (diff) |
nix minor housekeeping
-rw-r--r-- | .envrc-nix | 15 | ||||
-rw-r--r-- | flake.lock | 6 | ||||
-rw-r--r-- | org/dlang-nix-flakes.org | 21 | ||||
-rwxr-xr-x | shell.nix | 4 |
4 files changed, 12 insertions, 34 deletions
@@ -19,18 +19,3 @@ echo "" PATH_add result/bin use flake . #use flake .#default -echo ' -- consider running: - ❯❯ nix flake show - ❯❯ nix flake update && nix flake check && nix flake show - ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c $SHELL - -- for a dev shell: - ❯❯ nix develop - ❯❯ nix develop -c $SHELL - ❯❯ nix develop ".#dsh-overlay-ldc" --print-build-logs - -- to build project: - ❯❯ nix build --print-build-logs - ❯❯ nix build ".#" --print-build-logs -' @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1714594348, - "narHash": "sha256-fL6twwN/npU94mvumU5ho/uhM/fwePCRQ9lwamm2lds=", + "lastModified": 1715037484, + "narHash": "sha256-OUt8xQFmBU96Hmm4T9tOWTu4oCswCzoVl+pxSq/kiFc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1c74cc292b61614e74c1cf0d372f79d57fb4936b", + "rev": "ad7efee13e0d216bf29992311536fce1d3eefbef", "type": "github" }, "original": { diff --git a/org/dlang-nix-flakes.org b/org/dlang-nix-flakes.org index f7af27b..b64fdb0 100644 --- a/org/dlang-nix-flakes.org +++ b/org/dlang-nix-flakes.org @@ -325,21 +325,6 @@ echo "" PATH_add result/bin use flake . #use flake .#default -echo ' -- consider running: - ❯❯ nix flake show - ❯❯ nix flake update && nix flake check && nix flake show - ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c $SHELL - -- for a dev shell: - ❯❯ nix develop - ❯❯ nix develop -c $SHELL - ❯❯ nix develop ".#dsh-overlay-ldc" --print-build-logs - -- to build project: - ❯❯ nix build --print-build-logs - ❯❯ nix build ".#" --print-build-logs -' #+END_SRC *** 3.0.4 @@ -570,7 +555,7 @@ direnv fetchurl https://raw.githubusercontent.com/nix-community/nix-direnv/${Nix } #+END_SRC -** shell.nix +*** shell.nix #+HEADER: :tangle "../shell.nix" #+HEADER: :tangle-mode (identity #o755) @@ -617,6 +602,10 @@ with pkgs-nix; #gtkd ]; shellHook = '' + #echo ' + # shell.nix echo ❯❯ + # ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c $SHELL + #' ''; } #+END_SRC @@ -40,5 +40,9 @@ with pkgs-nix; #gtkd ]; shellHook = '' + #echo ' + # shell.nix echo ❯❯ + # ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c $SHELL + #' ''; } |