blob: dd56759da7ca5e0b76d805f2f0d61935c455f933 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{
inputs.lix-manifest = {
type = "file";
# I can't get a file URL to work, idk, probably a bug in flakes lol
# This was chosen since it's a tiny file that is likely to remain there
# immutable ~forever
url = "https://releases.lix.systems/lix/lix-2.90.0/manifest.nix";
flake = false;
};
outputs =
{ lix-manifest, ... }:
{
inherit lix-manifest;
dependent = builtins.derivation {
name = "foobar";
system = "x86_64-linux";
builder = "/bin/sh";
args = [
"-c"
"echo ${lix-manifest}; > $out"
];
};
};
}
|