mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +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
|
@ -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