Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 10 additions & 14 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
url = "github:well-typed/hs-bindgen";
inputs.nixpkgs.follows = "nixpkgs";
};
nix.url = "github:cachix/nix/feat-query-path-info-json";
nix.url = "github:cachix/nix/cachix";
flake-parts.url = "github:hercules-ci/flake-parts";
};

Expand Down
2 changes: 2 additions & 0 deletions nix-bindings-sys/generate-bindings
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ generate Generated.Nix.Util nix_api_util.h

# --- Layer 2: libstore-c (depends on util) ---

generate Generated.Nix.Store.Fwd nix_api_store/fwd.h
generate Generated.Nix.Store.Path nix_api_store/store_path.h
generate Generated.Nix.Store.Derivation nix_api_store/derivation.h
generate Generated.Nix.Store nix_api_store.h
generate Generated.Nix.Store.PathInfo nix_api_store/path_info.h
generate Generated.Nix.Store.Realisation nix_api_store/realisation.h

# --- Layer 3: libexpr-c (depends on util, store) ---

Expand Down
5 changes: 5 additions & 0 deletions nix-bindings-sys/nix-bindings-sys.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ library
Generated.Nix.Store.FunPtr
Generated.Nix.Store.Safe
Generated.Nix.Store.Unsafe
Generated.Nix.Store.Fwd
Generated.Nix.Store.Path
Generated.Nix.Store.Path.FunPtr
Generated.Nix.Store.Path.Safe
Expand All @@ -67,6 +68,10 @@ library
Generated.Nix.Store.PathInfo.FunPtr
Generated.Nix.Store.PathInfo.Safe
Generated.Nix.Store.PathInfo.Unsafe
Generated.Nix.Store.Realisation
Generated.Nix.Store.Realisation.FunPtr
Generated.Nix.Store.Realisation.Safe
Generated.Nix.Store.Realisation.Unsafe
Generated.Nix.Expr
Generated.Nix.Expr.FunPtr
Generated.Nix.Expr.Safe
Expand Down
Loading