lix-doc: move under src/
This is required to make more meson stuff easier/possible, and honestly it *is* now Lix sources anyhow. Change-Id: Ia6c38fabce9aa5c53768745ee38c5cf344f5c226
This commit is contained in:
@@ -554,7 +554,6 @@ if is_darwin
|
||||
)
|
||||
endif
|
||||
|
||||
subdir('lix-doc')
|
||||
subdir('src')
|
||||
subdir('scripts')
|
||||
subdir('misc')
|
||||
|
||||
+1
-2
@@ -135,7 +135,6 @@ let
|
||||
./meson.build
|
||||
./meson.options
|
||||
./meson
|
||||
./lix-doc
|
||||
./scripts/meson.build
|
||||
./subprojects
|
||||
]);
|
||||
@@ -289,7 +288,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.importCargoLock { lockFile = ./lix-doc/Cargo.lock; };
|
||||
cargoDeps = rustPlatform.importCargoLock { lockFile = ./src/lix-doc/Cargo.lock; };
|
||||
|
||||
preConfigure =
|
||||
lib.optionalString (!finalAttrs.dontBuild && !hostPlatform.isStatic) ''
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{ rustPlatform, lib }:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
name = "lix-doc";
|
||||
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
src = lib.cleanSource ./.;
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
# Subcomponents: these link into artifacts themselves, and have interdependencies.
|
||||
subdir('lix-doc')
|
||||
|
||||
subdir('libutil')
|
||||
# Load-bearing order. libstore depends on libutil.
|
||||
|
||||
Reference in New Issue
Block a user