about summary refs log tree commit diff
path: root/pkgs/applications/audio/aucatctl
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-11-13 06:47:08 -0800
committerAdam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com>2023-11-17 08:07:34 +0000
commitc7e0f6b9050553dfa8dff259a0536326ac43b0ff (patch)
tree6862049af64b6ccf9911f5cb54f1651aaf07a182 /pkgs/applications/audio/aucatctl
parent6a689e72efffde73cc2c6cfa7e142a8d7f8feafd (diff)
treewide: s_targetPlatform_hostPlatform_ in non-compiler packages
stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries.  I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
Diffstat (limited to 'pkgs/applications/audio/aucatctl')
-rw-r--r--pkgs/applications/audio/aucatctl/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/audio/aucatctl/default.nix b/pkgs/applications/audio/aucatctl/default.nix
index cf53a20700a52..d3f814a7db897 100644
--- a/pkgs/applications/audio/aucatctl/default.nix
+++ b/pkgs/applications/audio/aucatctl/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation (finalAttrs: {
   };
 
   buildInputs = [ sndio ]
-    ++ lib.optional (!stdenv.isDarwin && !stdenv.targetPlatform.isBSD)
+    ++ lib.optional (!stdenv.isDarwin && !stdenv.hostPlatform.isBSD)
     libbsd;
 
   outputs = [ "out" "man" ];
@@ -18,7 +18,7 @@ stdenv.mkDerivation (finalAttrs: {
   preBuild = ''
     makeFlagsArray+=("PREFIX=$out")
   '' + lib.optionalString
-    (!stdenv.isDarwin && !stdenv.targetPlatform.isBSD) ''
+    (!stdenv.isDarwin && !stdenv.hostPlatform.isBSD) ''
       makeFlagsArray+=(LDADD="-lsndio -lbsd")
 
       # Fix warning about implicit declaration of function 'strlcpy'