diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-01-31 13:50:53 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-02-26 19:45:35 -0500 |
commit | 77d7d60d8c6b4f2a163f1f9575dce1860cbb293b (patch) | |
tree | 13208c6a46794d0124f4b68da6527407be18e936 | |
parent | ead13a3acaba83b0b7409f0c37c64239d0abfd74 (diff) |
libpfm: use hostPlatform
(cherry picked from commit 08f5b419b9efc77db044f8c1d725632552617966)
-rw-r--r-- | pkgs/development/libraries/libpfm/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libpfm/default.nix b/pkgs/development/libraries/libpfm/default.nix index d64591273bcc6..bf1d26cf90d0a 100644 --- a/pkgs/development/libraries/libpfm/default.nix +++ b/pkgs/development/libraries/libpfm/default.nix @@ -12,8 +12,8 @@ stdenv.mkDerivation rec { makeFlags = [ "PREFIX=${placeholder "out"}" "LDCONFIG=true" - "ARCH=${stdenv.targetPlatform.uname.processor}" - "SYS=${stdenv.targetPlatform.uname.system}" + "ARCH=${stdenv.hostPlatform.uname.processor}" + "SYS=${stdenv.hostPlatform.uname.system}" ]; NIX_CFLAGS_COMPILE = [ "-Wno-error" ]; |