aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixDevEnv/shells
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-10-19 13:38:37 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2020-10-20 12:12:28 -0400
commit109d32b1183717ac19ee2109abb41177bf9e71ff (patch)
tree3e45be8dd66e6e4e7f86469dcf4d225bdc9ce55f /nixDevEnv/shells
parentspine info update (diff)
project nix shell(s)
Diffstat (limited to 'nixDevEnv/shells')
-rw-r--r--nixDevEnv/shells/shell-dmd-verNix.nix (renamed from nixDevEnv/shells/dmd.nix)4
-rw-r--r--nixDevEnv/shells/shell-dmd-verUser.nix19
-rw-r--r--nixDevEnv/shells/shell-ldc-verNix.nix19
-rw-r--r--nixDevEnv/shells/shell-ldc-verUser.nix (renamed from nixDevEnv/shells/ldc.nix)6
4 files changed, 44 insertions, 4 deletions
diff --git a/nixDevEnv/shells/dmd.nix b/nixDevEnv/shells/shell-dmd-verNix.nix
index 0c68cc0..a673c35 100644
--- a/nixDevEnv/shells/dmd.nix
+++ b/nixDevEnv/shells/shell-dmd-verNix.nix
@@ -1,4 +1,6 @@
-{ pkgs ? import <nixpkgs> { overlays = []; } }:
+{ pkgs ? import <nixpkgs>
+ { overlays = [ ]; }
+}:
let
dub2nix-src = fetchTarball {
url = "https://github.com/lionello/dub2nix/archive/master.tar.gz";
diff --git a/nixDevEnv/shells/shell-dmd-verUser.nix b/nixDevEnv/shells/shell-dmd-verUser.nix
new file mode 100644
index 0000000..a673c35
--- /dev/null
+++ b/nixDevEnv/shells/shell-dmd-verUser.nix
@@ -0,0 +1,19 @@
+{ 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
+ dmd
+ rdmd
+ sqlite
+ dub2nix
+ nix-prefetch-git
+ ];
+}
diff --git a/nixDevEnv/shells/shell-ldc-verNix.nix b/nixDevEnv/shells/shell-ldc-verNix.nix
new file mode 100644
index 0000000..094bfa7
--- /dev/null
+++ b/nixDevEnv/shells/shell-ldc-verNix.nix
@@ -0,0 +1,19 @@
+{ 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
+ ];
+}
diff --git a/nixDevEnv/shells/ldc.nix b/nixDevEnv/shells/shell-ldc-verUser.nix
index 31cfcfb..8035327 100644
--- a/nixDevEnv/shells/ldc.nix
+++ b/nixDevEnv/shells/shell-ldc-verUser.nix
@@ -1,6 +1,6 @@
-{ pkgs ? import <nixpkgs> {
- overlays = [
- (import ./nixDevEnv/overlays/ldcVersion.nix)
+{ pkgs ? import <nixpkgs>
+ { overlays = [
+ (import ../overlays/ldcVersion.nix)
]; }
}:
let