aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixEnv/shells/shell-ldc-verUser.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixEnv/shells/shell-ldc-verUser.nix')
-rwxr-xr-x[-rw-r--r--]nixEnv/shells/shell-ldc-verUser.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/nixEnv/shells/shell-ldc-verUser.nix b/nixEnv/shells/shell-ldc-verUser.nix
index 1c9c092..d7f3267 100644..100755
--- a/nixEnv/shells/shell-ldc-verUser.nix
+++ b/nixEnv/shells/shell-ldc-verUser.nix
@@ -1,7 +1,14 @@
+#!/usr/bin/env -S nix-shell
{ pkgs ? import <nixpkgs> {
overlays = [ (import ../overlays/ldcVersion.nix) ];
} }:
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
+ '';
}