local repo fixups after bump of nixpkgs
This commit is contained in:
parent
e7f069c37c
commit
15c82b0498
2 changed files with 6 additions and 1 deletions
|
@ -17,7 +17,7 @@ pkgs.buildBazelPackage rec {
|
|||
];
|
||||
|
||||
fetchAttrs = {
|
||||
sha256 = "1mcb2l0zv52smkj076d3s3jnv80qn8nasv99vshgpbpgqqs39hk3";
|
||||
sha256 = "1nlkkhk7w8lnh3s416w1g1jc4qsirrgb0fggqhqamlpjr1xiv1v5";
|
||||
preHook = ''
|
||||
export COURSIER_CACHE="$(echo ''${NIX_BUILD_TOP}/tmp/coursier | sed -e 's,//,/,g')"
|
||||
'';
|
||||
|
|
|
@ -13,6 +13,10 @@ in
|
|||
type = types.str;
|
||||
default = "zpool/local/root@blank";
|
||||
};
|
||||
keepPaths = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [ ];
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
|
@ -23,6 +27,7 @@ in
|
|||
enable = true;
|
||||
monthly = 1;
|
||||
};
|
||||
systemd.tmpfiles.rules = lib.mkAfter (builtins.map (x: "L ${x} - - - - /persist{x}") robCfg.keepPaths);
|
||||
|
||||
boot.initrd.postDeviceCommands = mkIf robCfg.enable
|
||||
(mkAfter ''
|
||||
|
|
Loading…
Reference in a new issue