about summary refs log tree commit diff
path: root/third_party/bazel/rules_nixpkgs/tests/hello.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_nixpkgs/tests/hello.nix')
-rw-r--r--third_party/bazel/rules_nixpkgs/tests/hello.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/bazel/rules_nixpkgs/tests/hello.nix b/third_party/bazel/rules_nixpkgs/tests/hello.nix
new file mode 100644
index 0000000000..285e93f7e8
--- /dev/null
+++ b/third_party/bazel/rules_nixpkgs/tests/hello.nix
@@ -0,0 +1,3 @@
+with import ./pkgname.nix;
+let pkgs = import <nixpkgs> {}; in builtins.getAttr pkgname pkgs
+