aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixEnv/nixDevEnv/shells/packages-ldc.nix
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-11-28 15:15:03 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2020-11-28 15:15:03 -0500
commit2e34620551b30c099cacc386ba9127f0bd04f77c (patch)
tree4a1ba8b6ec3f23b8b78412d0c6742cff399b25e0 /nixEnv/nixDevEnv/shells/packages-ldc.nix
parentnix derivation, dub & dub2nix using ldc2 1.24.0 ok (diff)
directory nixEnv (renamed from nixDevEnv)
Diffstat (limited to 'nixEnv/nixDevEnv/shells/packages-ldc.nix')
-rw-r--r--nixEnv/nixDevEnv/shells/packages-ldc.nix14
1 files changed, 14 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
+]