diff options
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.nix | 19 | ||||
-rw-r--r-- | nixDevEnv/shells/shell-ldc-verNix.nix | 19 | ||||
-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 |