mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
Fix Meson build
This commit is contained in:
parent
f274e8f49d
commit
3fdd7d035d
3 changed files with 5 additions and 1 deletions
1
src/libstore/.version-determinate
Symbolic link
1
src/libstore/.version-determinate
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../../.version-determinate
|
|
@ -23,7 +23,7 @@ configdata = configuration_data()
|
||||||
# TODO rename, because it will conflict with downstream projects
|
# TODO rename, because it will conflict with downstream projects
|
||||||
configdata.set_quoted('PACKAGE_VERSION', meson.project_version())
|
configdata.set_quoted('PACKAGE_VERSION', meson.project_version())
|
||||||
|
|
||||||
configdata.set_quoted('DETERMINATE_NIX_VERSION', fs.read('./.version-determinate'))
|
configdata.set_quoted('DETERMINATE_NIX_VERSION', fs.read('.version-determinate').strip())
|
||||||
|
|
||||||
configdata.set_quoted('SYSTEM', host_machine.system())
|
configdata.set_quoted('SYSTEM', host_machine.system())
|
||||||
|
|
||||||
|
|
|
@ -38,8 +38,11 @@ mkMesonDerivation (finalAttrs: {
|
||||||
fileset = fileset.unions [
|
fileset = fileset.unions [
|
||||||
../../build-utils-meson
|
../../build-utils-meson
|
||||||
./build-utils-meson
|
./build-utils-meson
|
||||||
|
# FIXME: get rid of these symlinks.
|
||||||
../../.version
|
../../.version
|
||||||
./.version
|
./.version
|
||||||
|
../../.version-determinate
|
||||||
|
./.version-determinate
|
||||||
./meson.build
|
./meson.build
|
||||||
./meson.options
|
./meson.options
|
||||||
./linux/meson.build
|
./linux/meson.build
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue