mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 09:06:15 +02:00
fix: add flake headers
This commit is contained in:
parent
f9d55b4d51
commit
ef80217448
3 changed files with 16 additions and 0 deletions
10
src/libflake/flake/nix-flake.pc.in
Normal file
10
src/libflake/flake/nix-flake.pc.in
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: Nix
|
||||||
|
Description: Nix Package Manager
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
Requires: nix-util nix-store nix-expr
|
||||||
|
Libs: -L${libdir} -lnixflake
|
||||||
|
Cflags: -I${includedir}/nix -std=c++2a
|
|
@ -15,3 +15,8 @@ libflake_CXXFLAGS += $(INCLUDE_libutil) $(INCLUDE_libstore) $(INCLUDE_libfetcher
|
||||||
libflake_LDFLAGS += $(THREAD_LDFLAGS)
|
libflake_LDFLAGS += $(THREAD_LDFLAGS)
|
||||||
|
|
||||||
libflake_LIBS = libutil libstore libfetchers libexpr
|
libflake_LIBS = libutil libstore libfetchers libexpr
|
||||||
|
|
||||||
|
$(eval $(call install-file-in, $(buildprefix)$(d)/flake/nix-flake.pc, $(libdir)/pkgconfig, 0644))
|
||||||
|
|
||||||
|
$(foreach i, $(wildcard src/libflake/flake/*.hh), \
|
||||||
|
$(eval $(call install-file-in, $(i), $(includedir)/nix/flake, 0644)))
|
||||||
|
|
|
@ -20,6 +20,7 @@ deps_private_maybe_subproject = [
|
||||||
dependency('nix-util'),
|
dependency('nix-util'),
|
||||||
dependency('nix-store'),
|
dependency('nix-store'),
|
||||||
dependency('nix-expr'),
|
dependency('nix-expr'),
|
||||||
|
dependency('nix-flake'),
|
||||||
dependency('nix-fetchers'),
|
dependency('nix-fetchers'),
|
||||||
dependency('nix-main'),
|
dependency('nix-main'),
|
||||||
dependency('nix-cmd'),
|
dependency('nix-cmd'),
|
||||||
|
|
Loading…
Reference in a new issue