Unverified Commit f8f17016 authored by Grimmauld's avatar Grimmauld Committed by GitHub
Browse files

apparmor-utils: fix cross compilation (#477031)

parents 2efec634 c5730e82
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -3,12 +3,11 @@
  makeWrapper,
  gawk,
  perl,
  bash,
  runtimeShellPackage,
  stdenv,
  which,
  linuxHeaders ? stdenv.cc.libc.linuxHeaders,
  python3Packages,
  bashNonInteractive,
  buildPackages,

  # apparmor deps
@@ -23,7 +22,7 @@ python3Packages.buildPythonApplication {
  inherit (libapparmor) version src;

  postPatch = ''
    patchShebangs .
    patchShebangs common
    cd utils

    substituteInPlace aa-remove-unknown \
@@ -45,13 +44,12 @@ python3Packages.buildPythonApplication {
  nativeBuildInputs = [
    makeWrapper
    which
    bashNonInteractive
    python3Packages.setuptools
  ];

  buildInputs = [
    bash
    perl
    runtimeShellPackage
  ];

  pythonPath = [