diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2020-11-28 15:15:03 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2020-11-28 15:15:03 -0500 |
commit | 2e34620551b30c099cacc386ba9127f0bd04f77c (patch) | |
tree | 4a1ba8b6ec3f23b8b78412d0c6742cff399b25e0 /nixEnv/nixDevEnv/shells | |
parent | nix derivation, dub & dub2nix using ldc2 1.24.0 ok (diff) |
directory nixEnv (renamed from nixDevEnv)
Diffstat (limited to 'nixEnv/nixDevEnv/shells')
-rw-r--r-- | nixEnv/nixDevEnv/shells/packages-ldc.nix | 14 | ||||
-rw-r--r-- | nixEnv/nixDevEnv/shells/shell-dmd-verNix.nix | 12 | ||||
-rw-r--r-- | nixEnv/nixDevEnv/shells/shell-dmd-verUser.nix | 14 | ||||
-rw-r--r-- | nixEnv/nixDevEnv/shells/shell-ldc-verNix.nix | 5 | ||||
-rw-r--r-- | nixEnv/nixDevEnv/shells/shell-ldc-verUser.nix | 7 |
5 files changed, 52 insertions, 0 deletions
diff --git a/nixEnv/nixDevEnv/shells/packages-ldc.nix b/nixEnv/nixDevEnv/shells/packages-ldc.nix new file mode 100644 index 0000000..bcef059 --- /dev/null +++ b/nixEnv/nixDevEnv/shells/packages-ldc.nix @@ -0,0 +1,14 @@ +{ pkgs ? import <nixpkgs> {} }: +let + dub2nix-src = fetchTarball { + url = "https://github.com/lionello/dub2nix/archive/master.tar.gz"; + }; + dub2nix = (import dub2nix-src) { inherit pkgs; }; +in +with pkgs; [ + nix + ldc + sqlite + nix-prefetch-git + validatePkgConfig +] diff --git a/nixEnv/nixDevEnv/shells/shell-dmd-verNix.nix b/nixEnv/nixDevEnv/shells/shell-dmd-verNix.nix new file mode 100644 index 0000000..7f16efe --- /dev/null +++ b/nixEnv/nixDevEnv/shells/shell-dmd-verNix.nix @@ -0,0 +1,12 @@ +{ pkgs ? import <nixpkgs> {} }: +pkgs.mkShell { + buildInputs = with pkgs; [ + nix + dub + dmd + rdmd + sqlite + dub2nix + nix-prefetch-git + ]; +} diff --git a/nixEnv/nixDevEnv/shells/shell-dmd-verUser.nix b/nixEnv/nixDevEnv/shells/shell-dmd-verUser.nix new file mode 100644 index 0000000..334aece --- /dev/null +++ b/nixEnv/nixDevEnv/shells/shell-dmd-verUser.nix @@ -0,0 +1,14 @@ +{ pkgs ? import <nixpkgs> + { overlays = [ ]; } +}: +pkgs.mkShell { + buildInputs = with pkgs; [ + nix + dub + dmd + rdmd + sqlite + dub2nix + nix-prefetch-git + ]; +} diff --git a/nixEnv/nixDevEnv/shells/shell-ldc-verNix.nix b/nixEnv/nixDevEnv/shells/shell-ldc-verNix.nix new file mode 100644 index 0000000..0a6aa9a --- /dev/null +++ b/nixEnv/nixDevEnv/shells/shell-ldc-verNix.nix @@ -0,0 +1,5 @@ +{ pkgs ? import <nixpkgs> {} }: +pkgs.mkShell { + buildInputs = with pkgs; + [ (import ./packages-ldc.nix { inherit pkgs; }) ]; +} diff --git a/nixEnv/nixDevEnv/shells/shell-ldc-verUser.nix b/nixEnv/nixDevEnv/shells/shell-ldc-verUser.nix new file mode 100644 index 0000000..1c9c092 --- /dev/null +++ b/nixEnv/nixDevEnv/shells/shell-ldc-verUser.nix @@ -0,0 +1,7 @@ +{ pkgs ? import <nixpkgs> { + overlays = [ (import ../overlays/ldcVersion.nix) ]; +} }: +pkgs.mkShell { + buildInputs = with pkgs; + [ (import ./packages-ldc.nix { inherit pkgs; }) ]; +} |