mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
Write just ./.version on all components
This way it's easier to get right. See previous commit.
This commit is contained in:
parent
bba4e6b061
commit
3556f6bf4c
23 changed files with 16 additions and 178 deletions
|
@ -69,14 +69,6 @@ mkMesonLibrary (finalAttrs: {
|
|||
nlohmann_json
|
||||
];
|
||||
|
||||
preConfigure =
|
||||
# "Inline" .version so it's not a symlink, and includes the suffix.
|
||||
# Do the meson utils, without modification.
|
||||
''
|
||||
chmod u+w ./.version
|
||||
echo ${version} > ../../.version
|
||||
'';
|
||||
|
||||
mesonFlags =
|
||||
[
|
||||
(lib.mesonEnable "seccomp-sandboxing" stdenv.hostPlatform.isLinux)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue