aboutsummaryrefslogtreecommitdiffhomepage
path: root/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix32
1 files changed, 15 insertions, 17 deletions
diff --git a/shell.nix b/shell.nix
index 5b97ffe..b226cd3 100644
--- a/shell.nix
+++ b/shell.nix
@@ -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";
}