mirror of
https://github.com/kiberpipa/nix-rehash.git
synced 2024-07-14 15:10:23 +03:00
git-subtree-dir: nix-services git-subtree-mainline:6f91df3199
git-subtree-split:bbc5bf5bcf
18 lines
357 B
Nix
18 lines
357 B
Nix
{ config, pkgs, ... }:
|
|
with pkgs.lib;
|
|
{
|
|
options = {
|
|
userNix.startScripts = mkOption {
|
|
default = {};
|
|
description = "Scripts (as text) to be run during build, executed alphabetically";
|
|
};
|
|
|
|
userNix.startScript = mkOption {};
|
|
|
|
};
|
|
|
|
config = {
|
|
userNix.startScript = concatStrings (attrValues config.userNix.startScripts);
|
|
};
|
|
}
|