aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixDevEnv/shells/shell-ldc-verNix.nix
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-11-13 22:58:26 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2020-11-13 23:19:57 -0500
commit0de4f2c1f970d911cf413bab89ec91896b12c30b (patch)
treecb7b95cd325aed9c85949d0fa22a270c26eb012c /nixDevEnv/shells/shell-ldc-verNix.nix
parentorg tags (diff)
ldc in need of newer dub
Diffstat (limited to 'nixDevEnv/shells/shell-ldc-verNix.nix')
-rw-r--r--nixDevEnv/shells/shell-ldc-verNix.nix22
1 files changed, 4 insertions, 18 deletions
diff --git a/nixDevEnv/shells/shell-ldc-verNix.nix b/nixDevEnv/shells/shell-ldc-verNix.nix
index 094bfa7..0a6aa9a 100644
--- a/nixDevEnv/shells/shell-ldc-verNix.nix
+++ b/nixDevEnv/shells/shell-ldc-verNix.nix
@@ -1,19 +1,5 @@
-{ pkgs ? import <nixpkgs>
- { overlays = [ ]; }
-}:
-let
- dub2nix-src = fetchTarball {
- url = "https://github.com/lionello/dub2nix/archive/master.tar.gz";
- };
- dub2nix = (import dub2nix-src) { inherit pkgs; };
-in pkgs.mkShell {
- buildInputs = with pkgs; [
- nix
- dub
- ldc
- rdmd
- sqlite
- dub2nix
- nix-prefetch-git
- ];
+{ pkgs ? import <nixpkgs> {} }:
+pkgs.mkShell {
+ buildInputs = with pkgs;
+ [ (import ./packages-ldc.nix { inherit pkgs; }) ];
}