From 4800b30f39e1fa333e57cd74ff8daee07a8ef655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 23 Nov 2022 00:28:15 +0100 Subject: [PATCH] csdr: fix build on aarch64 --- pkgs/applications/radio/csdr/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/radio/csdr/default.nix b/pkgs/applications/radio/csdr/default.nix index 5fc3f900da66..b26e8ae7225f 100644 --- a/pkgs/applications/radio/csdr/default.nix +++ b/pkgs/applications/radio/csdr/default.nix @@ -23,6 +23,8 @@ stdenv.mkDerivation rec { libsamplerate ]; + hardeningDisable = lib.optional stdenv.isAarch64 "format"; + postFixup = '' substituteInPlace "$out"/lib/pkgconfig/csdr.pc \ --replace '=''${prefix}//' '=/' \ @@ -30,11 +32,11 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - broken = stdenv.isDarwin; homepage = "https://github.com/jketterl/csdr"; description = "A simple DSP library and command-line tool for Software Defined Radio"; license = licenses.gpl3Only; platforms = platforms.unix; + broken = stdenv.isDarwin; maintainers = teams.c3d2.members; }; }