about summary refs log tree commit diff
path: root/third_party/bazel/rules_nixpkgs/tests/output.nix
blob: a0269adb6679e2ebea3be57ba760b0db0f334733 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
with import <nixpkgs> {};

runCommand "some-output" {
  preferLocalBuild = true;
  allowSubstitutes = false;
} ''
  mkdir -p $out/{bin,include/mylib}
  touch $out/hi-i-exist
  touch $out/hi-i-exist-too
  touch $out/bin/im-a-binary
  touch $out/include/mylib/im-a-header.h
  touch $out/include/mylib/im-also-a-header.h
''