summary refs log tree commit diff
path: root/pkgs/applications/networking/p2p
diff options
context:
space:
mode:
authorJulien Moutinho <julm+nixpkgs@sourcephile.fr>2021-05-14 17:19:37 +0200
committerJulien Moutinho <julm+nixpkgs@sourcephile.fr>2021-05-14 17:37:33 +0200
commit8184d8b0f2b85f97bee7af0c4df7de28cf732634 (patch)
tree8681470b0f0cc78e59ab893f0a99d727a32e8735 /pkgs/applications/networking/p2p
parentb42a0e205d567b96970386a7cd442dc4816bd840 (diff)
downloadnixpkgs-8184d8b0f2b85f97bee7af0c4df7de28cf732634.tar
nixpkgs-8184d8b0f2b85f97bee7af0c4df7de28cf732634.tar.gz
nixpkgs-8184d8b0f2b85f97bee7af0c4df7de28cf732634.tar.bz2
nixpkgs-8184d8b0f2b85f97bee7af0c4df7de28cf732634.tar.lz
nixpkgs-8184d8b0f2b85f97bee7af0c4df7de28cf732634.tar.xz
nixpkgs-8184d8b0f2b85f97bee7af0c4df7de28cf732634.tar.zst
nixpkgs-8184d8b0f2b85f97bee7af0c4df7de28cf732634.zip
apparmor: fix profile building on darwin
Diffstat (limited to 'pkgs/applications/networking/p2p')
-rw-r--r--pkgs/applications/networking/p2p/transmission/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/networking/p2p/transmission/default.nix b/pkgs/applications/networking/p2p/transmission/default.nix
index b3a2a3eb212..d80a3bf2678 100644
--- a/pkgs/applications/networking/p2p/transmission/default.nix
+++ b/pkgs/applications/networking/p2p/transmission/default.nix
@@ -78,7 +78,8 @@ in stdenv.mkDerivation {
   NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework CoreFoundation";
 
   postInstall = ''
-    install -D -m 644 /dev/stdin $apparmor/bin.transmission-daemon <<EOF
+    mkdir $apparmor
+    cat >$apparmor/bin.transmission-daemon <<EOF
     include <tunables/global>
     $out/bin/transmission-daemon {
       include <abstractions/base>