mirror of
https://github.com/NixOS/nix
synced 2025-07-09 12:03:55 +02:00
Write just ./.version on all components
This way it's easier to get right. See previous commit.
(cherry picked from commit 3556f6bf4c
)
This commit is contained in:
parent
21998464b7
commit
b175e5bb6d
23 changed files with 16 additions and 178 deletions
|
@ -75,16 +75,10 @@ mkMesonDerivation (
|
|||
];
|
||||
|
||||
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
|
||||
''
|
||||
# TEMP hack for Meson before make is gone, where
|
||||
# `src/nix-functional-tests` is during the transition a symlink and
|
||||
# not the actual directory directory.
|
||||
+ ''
|
||||
''
|
||||
cd $(readlink -e $PWD)
|
||||
echo $PWD | grep tests/functional
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue