diff options
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 32 |
1 files changed, 15 insertions, 17 deletions
@@ -1,19 +1,17 @@ -{ pkgs ? import <nixpkgs> {} }: - -with pkgs; - -mkShell { - buildInputs = with pkgs; [ - ninja dub - meson git - ldc #ldc dmd gdc - sqlite - validatePkgConfig - #gnumake gcc gdc cmake - #dzen2 +{ pkgs ? import <nixpkgs> { + overlays = [ + (import ./nixDevEnv/overlays/ldcVersion.nix) + (import ./nixDevEnv/overlays/dmdVersion.nix) + ]; } +}: + pkgs.mkShell { + buildInputs = with pkgs; [ + dub + ninja + #meson + dmd + ldc + sqlite + validatePkgConfig ]; - shellHook = '' - echo `ldc2 --version` - ''; - COMPILER = "ldc2"; } |