1 2 3 4 5 6 7 8 9 10 11 12 13 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; }) ]; shellHook = '' # nix-build ## nix-build -I nixpkgs=<provide local nix path> ## nix-build -I nixpkgs=/nixpkgs-ra/nixpkgs ''; }