mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-24 15:01:56 +03:00
21 lines
336 B
Nix
21 lines
336 B
Nix
{
|
|
config,
|
|
dream2nix,
|
|
lib,
|
|
...
|
|
}: {
|
|
# select builtins.derivation as a backend for this package
|
|
imports = [
|
|
dream2nix.modules.dream2nix.builtins-derivation
|
|
];
|
|
|
|
name = "test";
|
|
|
|
# set options
|
|
builtins-derivation = {
|
|
builder = "/bin/sh";
|
|
args = ["-c" "echo $name > $out"];
|
|
system = "x86_64-linux";
|
|
};
|
|
}
|