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"
|
"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": {
|
"crane": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": [
|
"flake-compat": [
|
||||||
|
|
@ -538,6 +555,7 @@
|
||||||
"arcexprs": "arcexprs",
|
"arcexprs": "arcexprs",
|
||||||
"base16": "base16",
|
"base16": "base16",
|
||||||
"base16-data": "base16-data",
|
"base16-data": "base16-data",
|
||||||
|
"ci": "ci",
|
||||||
"darwin": "darwin",
|
"darwin": "darwin",
|
||||||
"deploy-rs": "deploy-rs",
|
"deploy-rs": "deploy-rs",
|
||||||
"empty": "empty",
|
"empty": "empty",
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,10 @@
|
||||||
flake-compat.follows = "flake-compat";
|
flake-compat.follows = "flake-compat";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
ci = {
|
||||||
|
url = "github:arcnmx/ci/v0.7";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
flakelibstd = {
|
flakelibstd = {
|
||||||
url = "github:flakelib/std";
|
url = "github:flakelib/std";
|
||||||
inputs.nix-std.follows = "std";
|
inputs.nix-std.follows = "std";
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,9 @@
|
||||||
checks = set.map (_: deployLib: deployLib.deployChecks inputs.self.deploy) inputs.deploy-rs.lib;
|
checks = set.map (_: deployLib: deployLib.deployChecks inputs.self.deploy) inputs.deploy-rs.lib;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
inherit inputs tree std pkgs formatter lib checks wrappers;
|
inherit inputs tree std pkgs formatter lib checks;
|
||||||
legacyPackages = pkgs;
|
legacyPackages = pkgs;
|
||||||
packages = pkgs // wrappers;
|
packages = set.merge [pkgs wrappers.packages];
|
||||||
}
|
}
|
||||||
// systems
|
// systems
|
||||||
// shells
|
// shells
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@
|
||||||
inputs.utils.lib.eachDefaultSystem (system: let
|
inputs.utils.lib.eachDefaultSystem (system: let
|
||||||
newArgs = args // { inherit system; };
|
newArgs = args // { inherit system; };
|
||||||
in {
|
in {
|
||||||
|
packages = {
|
||||||
nf-actions-test = import ./nf-actions-test.nix newArgs;
|
nf-actions-test = import ./nf-actions-test.nix newArgs;
|
||||||
nf-generate = import ./nf-generate.nix newArgs;
|
nf-generate = import ./nf-generate.nix newArgs;
|
||||||
|
};
|
||||||
})
|
})
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
inherit (inputs.std.lib) string list set;
|
inherit (inputs.std.lib) string list set;
|
||||||
packages = inputs.self.packages.${system};
|
packages = inputs.self.packages.${system};
|
||||||
inherit (inputs.self.legacyPackages.${system}) pkgs;
|
inherit (inputs.self.legacyPackages.${system}) pkgs;
|
||||||
|
inherit (import ../ci/nix.nix) ci;
|
||||||
nf-generate = pkgs.writeShellScriptBin "nf-generate" ''
|
nf-generate = pkgs.writeShellScriptBin "nf-generate" ''
|
||||||
${exports}
|
${exports}
|
||||||
export PATH="$PATH:${makeBinPath [pkgs.jq]}"
|
export PATH="$PATH:${makeBinPath [pkgs.jq]}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue