mirror of
https://github.com/hyprspace/hyprspace.git
synced 2026-09-12 19:51:07 +05:00
add vendor package with code generation output (#54)
This commit is contained in:
parent
76a3f73a42
commit
7975eea2f6
7
dev/vendor.nix
Normal file
7
dev/vendor.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ runCommand, generateSchemasProgram }:
|
||||
|
||||
runCommand "hyprspace-vendoring" { } ''
|
||||
mkdir -p $out/schema
|
||||
cd $out
|
||||
${generateSchemasProgram}
|
||||
''
|
||||
@ -47,6 +47,9 @@
|
||||
generateSchemasProgram = config.apps.dev-generate-schemas.program;
|
||||
};
|
||||
docs = pkgs.callPackage ./docs/package.nix { hyprspace = config.packages.default; };
|
||||
vendor = pkgs.callPackage ./dev/vendor.nix {
|
||||
generateSchemasProgram = config.apps.dev-generate-schemas.program;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user