3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/trivial-builders/test/sample.nix

20 lines
365 B
Nix
Raw Normal View History

{ pkgs ? import ../../../.. { config = {}; overlays = []; } }:
let
inherit (pkgs)
figlet
hello
writeText
;
in
{
hello = hello;
figlet = figlet;
norefs = writeText "hi" "hello";
helloRef = writeText "hi" "hello ${hello}";
helloFigletRef = writeText "hi" "hello ${hello} ${figlet}";
inherit (pkgs)
emptyFile
emptyDirectory
;
}