Unverified Commit 4da4ac20 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #307251 from NickCao/mount-zip

mount-zip: fix cross compilation, set strictDeps
parents 17bd7866 17f6bdc8
Loading
Loading
Loading
Loading
+24 −4
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, fuse, boost, gcc, icu, libzip, pandoc
, pkg-config }:
{
  lib,
  stdenv,
  fetchFromGitHub,
  fuse,
  boost,
  icu,
  libzip,
  pandoc,
  pkg-config,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "mount-zip";
@@ -12,8 +21,19 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-S2snseC9JAjYRberL2/CyRQTcZQ8GtGQNU3WuTqSRl4=";
  };

  nativeBuildInputs = [ boost gcc icu pandoc pkg-config ];
  buildInputs = [ fuse libzip ];
  strictDeps = true;

  nativeBuildInputs = [
    pandoc
    pkg-config
  ];

  buildInputs = [
    boost
    fuse
    icu
    libzip
  ];

  makeFlags = [ "prefix=$(out)" ];