summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index 20477bc..7abe6fd 100644
--- a/default.nix
+++ b/default.nix
@@ -1,5 +1,6 @@
-with import <nixpkgs> {};
+{ pkgs ? import <nixpkgs> {}, ... }:
+with pkgs;
with rustPlatform;
buildRustPackage rec {