From 109d32b1183717ac19ee2109abb41177bf9e71ff Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 19 Oct 2020 13:38:37 -0400 Subject: project nix shell(s) --- nixDevEnv/shells/dmd.nix | 17 ----------------- nixDevEnv/shells/ldc.nix | 21 --------------------- nixDevEnv/shells/shell-dmd-verNix.nix | 19 +++++++++++++++++++ nixDevEnv/shells/shell-dmd-verUser.nix | 19 +++++++++++++++++++ nixDevEnv/shells/shell-ldc-verNix.nix | 19 +++++++++++++++++++ nixDevEnv/shells/shell-ldc-verUser.nix | 21 +++++++++++++++++++++ 6 files changed, 78 insertions(+), 38 deletions(-) delete mode 100644 nixDevEnv/shells/dmd.nix delete mode 100644 nixDevEnv/shells/ldc.nix create mode 100644 nixDevEnv/shells/shell-dmd-verNix.nix create mode 100644 nixDevEnv/shells/shell-dmd-verUser.nix create mode 100644 nixDevEnv/shells/shell-ldc-verNix.nix create mode 100644 nixDevEnv/shells/shell-ldc-verUser.nix (limited to 'nixDevEnv/shells') diff --git a/nixDevEnv/shells/dmd.nix b/nixDevEnv/shells/dmd.nix deleted file mode 100644 index 0c68cc0..0000000 --- a/nixDevEnv/shells/dmd.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ pkgs ? import { 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/ldc.nix b/nixDevEnv/shells/ldc.nix deleted file mode 100644 index 31cfcfb..0000000 --- a/nixDevEnv/shells/ldc.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ pkgs ? import { - overlays = [ - (import ./nixDevEnv/overlays/ldcVersion.nix) - ]; } -}: -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/shell-dmd-verNix.nix b/nixDevEnv/shells/shell-dmd-verNix.nix new file mode 100644 index 0000000..a673c35 --- /dev/null +++ b/nixDevEnv/shells/shell-dmd-verNix.nix @@ -0,0 +1,19 @@ +{ pkgs ? import + { 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-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 + { 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 + { 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/shell-ldc-verUser.nix b/nixDevEnv/shells/shell-ldc-verUser.nix new file mode 100644 index 0000000..8035327 --- /dev/null +++ b/nixDevEnv/shells/shell-ldc-verUser.nix @@ -0,0 +1,21 @@ +{ pkgs ? import + { overlays = [ + (import ../overlays/ldcVersion.nix) + ]; } +}: +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 + ]; +} -- cgit v1.2.3