aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixEnv/shells/shell-ldc-verNix.nix
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-12-01 21:15:47 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2020-12-04 15:26:04 -0500
commitadba030111af3de18c9ad41b5ee389b140811fbb (patch)
tree8778ba8ebbf95e2dea76b5ef7d754dbae6529dbd /nixEnv/shells/shell-ldc-verNix.nix
parentdirectory nixEnv (renamed from nixDevEnv) (diff)
nix shebangs, consider
Diffstat (limited to 'nixEnv/shells/shell-ldc-verNix.nix')
-rwxr-xr-x[-rw-r--r--]nixEnv/shells/shell-ldc-verNix.nix11
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
+ '';
}