Unverified Commit 7333b695 authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

zfs: split man output (#482681)

parents b579d443 c203b742
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -17,13 +17,17 @@ stdenv.mkDerivation {
  };

  installPhase = ''
    runHook preInstall

    mkdir -p $out/bin
    cp easysnap* $out/bin/

    for i in $out/bin/*; do
      substituteInPlace $i \
        --replace zfs ${zfs}/bin/zfs
        --replace-fail zfs ${lib.getExe zfs}
    done

    runHook postInstall
  '';

  meta = {
+9 −1
Original line number Diff line number Diff line
@@ -300,7 +300,15 @@ let
          done
        '';

      outputs = [ "out" ] ++ optionals buildUser [ "dev" ];
      outputs = [
        "out"
      ]
      ++ optionals buildUser [
        "dev"
      ]
      ++ optionals (!buildKernel) [
        "man"
      ];

      passthru = {
        inherit kernel;