anchor.diff:  
     hardeningDisable = [ "format" ];
   
  -  postInstall = ''
  +  postInstall = let
  +    executablePrefix = if stdenv.buildPlatform == stdenv.hostPlatform then
  +      "$out"
  +    else
  +      buildPackages.libgphoto2;
  +  in ''
       mkdir -p $out/lib/udev/rules.d
  -    $out/lib/libgphoto2/print-camera-list udev-rules version 175 group camera >$out/lib/udev/rules.d/40-gphoto2.rules
  +    ${executablePrefix}/lib/libgphoto2/print-camera-list \
  +        udev-rules version 175 group camera \
  +        >$out/lib/udev/rules.d/40-gphoto2.rules
     '';
   
     meta = {
  
positive.code: { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gettext
  , libusb1
  , libtool
  , libexif
  , libjpeg
  }:
  
  
negative.code:     sha256 = "sha256-c7fBl6GBLAU+RL5WFC4PL+n/nEHZUfqIJ9qq1+qNNCg=";
    };
  
    depsBuildBuild = [ pkg-config ];
  
    nativeBuildInputs = [
      autoreconfHook
      gettext
      libtool
    ];
  
    buildInputs = [
      libjpeg
      libtool # for libltdl
      libusb1
    ];
  
  