diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-11-26 13:32:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-26 13:32:27 +0000 |
commit | 528647949ae768e287930bccc960fa3e340f8af4 (patch) | |
tree | ddff999a6950024d3a19ca5ec59cb2932a33e259 | |
parent | ba80ebc1b3ceb02deebad8cb5943fdc818c158c3 (diff) | |
parent | 809768bb91c04fd49b8500daf9b68a450b9fa55c (diff) | |
download | nixpkgs-528647949ae768e287930bccc960fa3e340f8af4.tar nixpkgs-528647949ae768e287930bccc960fa3e340f8af4.tar.gz nixpkgs-528647949ae768e287930bccc960fa3e340f8af4.tar.bz2 nixpkgs-528647949ae768e287930bccc960fa3e340f8af4.tar.lz nixpkgs-528647949ae768e287930bccc960fa3e340f8af4.tar.xz nixpkgs-528647949ae768e287930bccc960fa3e340f8af4.tar.zst nixpkgs-528647949ae768e287930bccc960fa3e340f8af4.zip |
Merge pull request #74264 from talyz/fix-common-updater-scripts
common-updater-scripts: Fix breakage
-rwxr-xr-x | pkgs/common-updater/scripts/update-source-version | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/common-updater/scripts/update-source-version b/pkgs/common-updater/scripts/update-source-version index 0a436ff02a3..d051a0f75c1 100755 --- a/pkgs/common-updater/scripts/update-source-version +++ b/pkgs/common-updater/scripts/update-source-version @@ -93,7 +93,7 @@ if [ -z "$oldUrl" ]; then fi drvName=$(nix-instantiate $systemArg --eval -E "with import ./. {}; lib.getName $attr" | tr -d '"') -oldVersion=$(nix-instantiate $systemArg --eval -E "with import ./. {}; $attr.${versionKey} or lib.getVersion $attr" | tr -d '"') +oldVersion=$(nix-instantiate $systemArg --eval -E "with import ./. {}; $attr.${versionKey} or (lib.getVersion $attr)" | tr -d '"') if [ -z "$drvName" -o -z "$oldVersion" ]; then die "Couldn't evaluate name and version from '$attr.name'!" |