Commit b6e9736c authored by lassulus's avatar lassulus
Browse files

passage: fix build on darwin

parent dc963787
Loading
Loading
Loading
Loading
+16 −12
Original line number Diff line number Diff line
@@ -39,7 +39,8 @@ stdenv.mkDerivation (finalAttrs: {

  nativeBuildInputs = [ makeBinaryWrapper ];

  extraPath = lib.makeBinPath [
  extraPath = lib.makeBinPath (
    [
      age
      coreutils
      findutils
@@ -48,9 +49,12 @@ stdenv.mkDerivation (finalAttrs: {
      gnused
      qrencode
      tree
    ]
    ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
      wl-clipboard
      xclip
  ];
    ]
  );

  # Using $0 is bad, it causes --help to mention ".passage-wrapped".
  postInstall = ''