mirror of
https://github.com/NixOS/nix.git
synced 2025-12-24 01:41:08 +01:00
Add documentation for NAR spec in kaitai
* Add a new flake check * Add unit tests * Add Kaitai spec * Updated documentation
This commit is contained in:
parent
89fa8c09a9
commit
53b4ea6c85
17 changed files with 402 additions and 4 deletions
|
|
@ -443,6 +443,11 @@ in
|
|||
*/
|
||||
nix-json-schema-checks = callPackage ../src/json-schema-checks/package.nix { };
|
||||
|
||||
/**
|
||||
Kaitai struct schema validation checks
|
||||
*/
|
||||
nix-kaitai-struct-checks = callPackage ../src/kaitai-struct-checks/package.nix { };
|
||||
|
||||
nix-perl-bindings = callPackage ../src/perl/package.nix { };
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@ pkgs.nixComponents2.nix-util.overrideAttrs (
|
|||
++ pkgs.nixComponents2.nix-external-api-docs.nativeBuildInputs
|
||||
++ pkgs.nixComponents2.nix-functional-tests.externalNativeBuildInputs
|
||||
++ pkgs.nixComponents2.nix-json-schema-checks.externalNativeBuildInputs
|
||||
++ pkgs.nixComponents2.nix-kaitai-struct-checks.externalNativeBuildInputs
|
||||
++ lib.optional (
|
||||
!buildCanExecuteHost
|
||||
# Hack around https://github.com/nixos/nixpkgs/commit/bf7ad8cfbfa102a90463433e2c5027573b462479
|
||||
|
|
@ -148,6 +149,7 @@ pkgs.nixComponents2.nix-util.overrideAttrs (
|
|||
++ pkgs.nixComponents2.nix-expr.externalPropagatedBuildInputs
|
||||
++ pkgs.nixComponents2.nix-cmd.buildInputs
|
||||
++ lib.optionals havePerl pkgs.nixComponents2.nix-perl-bindings.externalBuildInputs
|
||||
++ lib.optional havePerl pkgs.perl;
|
||||
++ lib.optional havePerl pkgs.perl
|
||||
++ pkgs.nixComponents2.nix-kaitai-struct-checks.externalBuildInputs;
|
||||
}
|
||||
)
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ let
|
|||
"nix-cli"
|
||||
"nix-functional-tests"
|
||||
"nix-json-schema-checks"
|
||||
"nix-kaitai-struct-checks"
|
||||
]
|
||||
++ lib.optionals enableBindings [
|
||||
"nix-perl-bindings"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue