mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat: provide wrapped packages
This commit is contained in:
parent
fb9e62db99
commit
845afbeaf5
12 changed files with 77 additions and 29 deletions
17
wrappers/nf-actions-test.nix
Normal file
17
wrappers/nf-actions-test.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
system,
|
||||
inputs,
|
||||
...
|
||||
}@args: let
|
||||
lib = inputs.nixpkgs.lib;
|
||||
exportFile = import ./exports.nix args;
|
||||
inherit (exportFile) exports exportsSystems;
|
||||
inherit (inputs.std.lib) string list set;
|
||||
packages = inputs.self.packages.${system};
|
||||
inherit (inputs.self.legacyPackages.${system}) pkgs;
|
||||
nf-actions-test = pkgs.writeShellScriptBin "nf-actions-test" ''
|
||||
${exports}
|
||||
${exportsSystems}
|
||||
source ${./actions-test.sh}
|
||||
'';
|
||||
in nf-actions-test
|
||||
Loading…
Add table
Add a link
Reference in a new issue