aboutsummaryrefslogtreecommitdiffhomepage
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/mkDub.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nix/mkDub.nix b/nix/mkDub.nix
index 5d34ac9..2121166 100644
--- a/nix/mkDub.nix
+++ b/nix/mkDub.nix
@@ -1,11 +1,12 @@
{ pkgs ? import <nixpkgs> {},
stdenv ? pkgs.stdenv,
+ lib ? pkgs.lib,
ldc ? null,
dcompiler ? pkgs.ldc,
dub ? pkgs.dub
}:
assert dcompiler != null;
-with stdenv;
+with stdenv lib;
let
# Filter function to remove the .dub package folder from src
filterDub = name: type: let baseName = baseNameOf (toString name); in ! (