Facter: only export the standard linux package for caching
This commit is contained in:
32
flake.lock
generated
32
flake.lock
generated
@@ -268,6 +268,38 @@
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1723603349,
|
||||
"narHash": "sha256-VMg6N7MryOuvSJ8Sj6YydarnUCkL7cvMdrMcnsJnJCE=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "daf7bb95821b789db24fc1ac21f613db0c1bf2cb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1723991338,
|
||||
"narHash": "sha256-Grh5PF0+gootJfOJFenTTxDTYPidA3V28dqJ/WV7iis=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "8a3354191c0d7144db9756a74755672387b702ba",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1724607561,
|
||||
"narHash": "sha256-7I922FoAJO9P2YRJrxQx1ufQom3wvozJNL/Ul6eEKLI=",
|
||||
|
||||
@@ -58,8 +58,14 @@
|
||||
# Inherit the nixos-facter package so its build is chached in clans binary cache
|
||||
{
|
||||
perSystem =
|
||||
{ inputs', ... }:
|
||||
# Facter doesnt have a package for darwin yet.
|
||||
{
|
||||
inputs',
|
||||
system,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
lib.optionalAttrs (system == "x86_64-linux") {
|
||||
packages.nixos-facter = inputs'.nixos-facter.packages.default;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user