diff options
Diffstat (limited to 'nixEnv/shells/shell-ldc-verNix.nix')
-rwxr-xr-x[-rw-r--r--] | nixEnv/shells/shell-ldc-verNix.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/nixEnv/shells/shell-ldc-verNix.nix b/nixEnv/shells/shell-ldc-verNix.nix index 0a6aa9a..748f553 100644..100755 --- a/nixEnv/shells/shell-ldc-verNix.nix +++ b/nixEnv/shells/shell-ldc-verNix.nix @@ -1,5 +1,12 @@ +#!/usr/bin/env -S nix-shell { pkgs ? import <nixpkgs> {} }: pkgs.mkShell { - buildInputs = with pkgs; - [ (import ./packages-ldc.nix { inherit pkgs; }) ]; + buildInputs = with pkgs; [ + (import ./packages-ldc.nix { inherit pkgs; }) + ]; + shellHook = '' + # nix-build + ## nix-build -I nixpkgs=<provide local nix path> + ## nix-build -I nixpkgs=/nixpkgs-ra/nixpkgs + ''; } |