mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
20 lines
369 B
Nix
20 lines
369 B
Nix
|
with import ./config.nix;
|
||
|
|
||
|
let
|
||
|
|
||
|
input = import ./simple.nix;
|
||
|
|
||
|
dependent = mkDerivation {
|
||
|
name = "dependent";
|
||
|
builder = ./readfile-context.builder.sh;
|
||
|
input = "${input}/hello";
|
||
|
};
|
||
|
|
||
|
readDependent = mkDerivation {
|
||
|
name = "read-dependent";
|
||
|
builder = ./readfile-context.builder.sh;
|
||
|
input = builtins.readFile dependent;
|
||
|
};
|
||
|
|
||
|
in readDependent
|