mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: merge wrapped packages into root
This commit is contained in:
parent
18845f9f3f
commit
9c34345ee3
5 changed files with 29 additions and 4 deletions
18
flake.lock
generated
18
flake.lock
generated
|
|
@ -70,6 +70,23 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"ci": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1726101086,
|
||||
"narHash": "sha256-veBakX/c/GfwzLtp62bcEm6Coype+03Hz8Aydi2b9xg=",
|
||||
"owner": "arcnmx",
|
||||
"repo": "ci",
|
||||
"rev": "154533df13bc059400186a9d52e000363f0a3cb2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "arcnmx",
|
||||
"ref": "v0.7",
|
||||
"repo": "ci",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"crane": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
|
|
@ -538,6 +555,7 @@
|
|||
"arcexprs": "arcexprs",
|
||||
"base16": "base16",
|
||||
"base16-data": "base16-data",
|
||||
"ci": "ci",
|
||||
"darwin": "darwin",
|
||||
"deploy-rs": "deploy-rs",
|
||||
"empty": "empty",
|
||||
|
|
|
|||
|
|
@ -27,6 +27,10 @@
|
|||
flake-compat.follows = "flake-compat";
|
||||
};
|
||||
};
|
||||
ci = {
|
||||
url = "github:arcnmx/ci/v0.7";
|
||||
flake = false;
|
||||
};
|
||||
flakelibstd = {
|
||||
url = "github:flakelib/std";
|
||||
inputs.nix-std.follows = "std";
|
||||
|
|
|
|||
|
|
@ -12,9 +12,9 @@
|
|||
checks = set.map (_: deployLib: deployLib.deployChecks inputs.self.deploy) inputs.deploy-rs.lib;
|
||||
in
|
||||
{
|
||||
inherit inputs tree std pkgs formatter lib checks wrappers;
|
||||
inherit inputs tree std pkgs formatter lib checks;
|
||||
legacyPackages = pkgs;
|
||||
packages = pkgs // wrappers;
|
||||
packages = set.merge [pkgs wrappers.packages];
|
||||
}
|
||||
// systems
|
||||
// shells
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@
|
|||
inputs.utils.lib.eachDefaultSystem (system: let
|
||||
newArgs = args // { inherit system; };
|
||||
in {
|
||||
nf-actions-test = import ./nf-actions-test.nix newArgs;
|
||||
nf-generate = import ./nf-generate.nix newArgs;
|
||||
packages = {
|
||||
nf-actions-test = import ./nf-actions-test.nix newArgs;
|
||||
nf-generate = import ./nf-generate.nix newArgs;
|
||||
};
|
||||
})
|
||||
|
|
@ -10,6 +10,7 @@
|
|||
inherit (inputs.std.lib) string list set;
|
||||
packages = inputs.self.packages.${system};
|
||||
inherit (inputs.self.legacyPackages.${system}) pkgs;
|
||||
inherit (import ../ci/nix.nix) ci;
|
||||
nf-generate = pkgs.writeShellScriptBin "nf-generate" ''
|
||||
${exports}
|
||||
export PATH="$PATH:${makeBinPath [pkgs.jq]}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue