summary refs log tree commit diff
path: root/pkgs/tools/audio/acoustid-fingerprinter
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2019-11-24 17:22:28 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2019-11-24 17:22:28 +0000
commit9b090ccbca3f7dd26d91db06e96e8bf8282c37ca (patch)
tree1654f2f0cb883fa4cb95def306a933475d065431 /pkgs/tools/audio/acoustid-fingerprinter
parent99537e994f09e8e5499d3d877df0e16da8452ca7 (diff)
downloadnixpkgs-9b090ccbca3f7dd26d91db06e96e8bf8282c37ca.tar
nixpkgs-9b090ccbca3f7dd26d91db06e96e8bf8282c37ca.tar.gz
nixpkgs-9b090ccbca3f7dd26d91db06e96e8bf8282c37ca.tar.bz2
nixpkgs-9b090ccbca3f7dd26d91db06e96e8bf8282c37ca.tar.lz
nixpkgs-9b090ccbca3f7dd26d91db06e96e8bf8282c37ca.tar.xz
nixpkgs-9b090ccbca3f7dd26d91db06e96e8bf8282c37ca.tar.zst
nixpkgs-9b090ccbca3f7dd26d91db06e96e8bf8282c37ca.zip
treewide: Get rid of most `parseDrvName` without breaking compat
That is because this commit should be merged to both master and
release-19.09.
Diffstat (limited to 'pkgs/tools/audio/acoustid-fingerprinter')
-rw-r--r--pkgs/tools/audio/acoustid-fingerprinter/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/audio/acoustid-fingerprinter/default.nix b/pkgs/tools/audio/acoustid-fingerprinter/default.nix
index acd205a30de..7b92b973df4 100644
--- a/pkgs/tools/audio/acoustid-fingerprinter/default.nix
+++ b/pkgs/tools/audio/acoustid-fingerprinter/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ pkgconfig ];
   buildInputs = [ cmake qt4 taglib chromaprint ffmpeg ];
 
-  cmakeFlags = [ "-DTAGLIB_MIN_VERSION=${(builtins.parseDrvName taglib.name).version}" ];
+  cmakeFlags = [ "-DTAGLIB_MIN_VERSION=${stdenv.lib.getVersion taglib}" ];
 
   patches = [
     (fetchpatch {