Loading pkgs/applications/blockchains/clightning/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ , automake , gettext , libtool , lowdown , lowdown-unsandboxed , protobuf , unzip , which Loading @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { # when building on darwin we need cctools to provide the correct libtool # as libwally-core detects the host as darwin and tries to add the -static # option to libtool, also we have to add the modified gsed package. nativeBuildInputs = [ autoconf autogen automake gettext libtool lowdown protobuf py3 unzip which ] nativeBuildInputs = [ autoconf autogen automake gettext libtool lowdown-unsandboxed protobuf py3 unzip which ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools darwin.autoSignDarwinBinariesHook ]; buildInputs = [ gmp libsodium sqlite zlib jq ]; Loading pkgs/by-name/ce/certspotter/package.nix +2 −2 Original line number Diff line number Diff line { lib , fetchFromGitHub , buildGoModule , lowdown , lowdown-unsandboxed }: buildGoModule rec { Loading @@ -19,7 +19,7 @@ buildGoModule rec { ldflags = [ "-s" "-w" ]; nativeBuildInputs = [ lowdown ]; nativeBuildInputs = [ lowdown-unsandboxed ]; postInstall = '' cd man Loading pkgs/tools/package-management/lix/common.nix +2 −1 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ assert (hash == null) -> (src != null); libcpuid, libsodium, lowdown, lowdown-unsandboxed, lsof, mercurial, mdbook, Loading Loading @@ -119,7 +120,7 @@ stdenv.mkDerivation { ] ++ lib.optionals isLegacyParser [ bison ] ++ lib.optionals enableDocumentation [ (lib.getBin lowdown) (lib.getBin lowdown-unsandboxed) mdbook mdbook-linkcheck doxygen Loading pkgs/tools/package-management/nix/common.nix +2 −1 Original line number Diff line number Diff line Loading @@ -59,6 +59,7 @@ in , libxml2 , libxslt , lowdown , lowdown-unsandboxed , toml11 , man , mdbook Loading Loading @@ -122,7 +123,7 @@ self = stdenv.mkDerivation { docbook_xsl_ns docbook5 ] ++ lib.optionals (enableDocumentation && atLeast24) [ (lib.getBin lowdown) (lib.getBin lowdown-unsandboxed) mdbook ] ++ lib.optionals (atLeast213 && enableDocumentation) [ mdbook-linkcheck Loading pkgs/tools/typesetting/lowdown/default.nix +7 −3 Original line number Diff line number Diff line Loading @@ -2,12 +2,13 @@ , fetchpatch , enableShared ? !stdenv.hostPlatform.isStatic , enableStatic ? stdenv.hostPlatform.isStatic , enableDarwinSandbox ? true # for passthru.tests , nix }: stdenv.mkDerivation rec { pname = "lowdown"; pname = "lowdown${lib.optionalString (stdenv.hostPlatform.isDarwin && !enableDarwinSandbox) "-unsandboxed"}"; version = "1.1.0"; outputs = [ "out" "lib" "dev" "man" ]; Loading Loading @@ -54,7 +55,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ which dieHook ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ fixDarwinDylibNames ]; preConfigure = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' # The Darwin sandbox calls fail inside Nix builds, presumably due to # being nested inside another sandbox. preConfigure = lib.optionalString (stdenv.hostPlatform.isDarwin && !enableDarwinSandbox) '' echo 'HAVE_SANDBOX_INIT=0' > configure.local ''; Loading Loading @@ -103,7 +106,8 @@ stdenv.mkDerivation rec { ''; doInstallCheck = true; installCheckPhase = '' installCheckPhase = lib.optionalString (!stdenv.hostPlatform.isDarwin || !enableDarwinSandbox) '' runHook preInstallCheck echo '# TEST' > test.md $out/bin/lowdown test.md Loading Loading
pkgs/applications/blockchains/clightning/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ , automake , gettext , libtool , lowdown , lowdown-unsandboxed , protobuf , unzip , which Loading @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { # when building on darwin we need cctools to provide the correct libtool # as libwally-core detects the host as darwin and tries to add the -static # option to libtool, also we have to add the modified gsed package. nativeBuildInputs = [ autoconf autogen automake gettext libtool lowdown protobuf py3 unzip which ] nativeBuildInputs = [ autoconf autogen automake gettext libtool lowdown-unsandboxed protobuf py3 unzip which ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools darwin.autoSignDarwinBinariesHook ]; buildInputs = [ gmp libsodium sqlite zlib jq ]; Loading
pkgs/by-name/ce/certspotter/package.nix +2 −2 Original line number Diff line number Diff line { lib , fetchFromGitHub , buildGoModule , lowdown , lowdown-unsandboxed }: buildGoModule rec { Loading @@ -19,7 +19,7 @@ buildGoModule rec { ldflags = [ "-s" "-w" ]; nativeBuildInputs = [ lowdown ]; nativeBuildInputs = [ lowdown-unsandboxed ]; postInstall = '' cd man Loading
pkgs/tools/package-management/lix/common.nix +2 −1 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ assert (hash == null) -> (src != null); libcpuid, libsodium, lowdown, lowdown-unsandboxed, lsof, mercurial, mdbook, Loading Loading @@ -119,7 +120,7 @@ stdenv.mkDerivation { ] ++ lib.optionals isLegacyParser [ bison ] ++ lib.optionals enableDocumentation [ (lib.getBin lowdown) (lib.getBin lowdown-unsandboxed) mdbook mdbook-linkcheck doxygen Loading
pkgs/tools/package-management/nix/common.nix +2 −1 Original line number Diff line number Diff line Loading @@ -59,6 +59,7 @@ in , libxml2 , libxslt , lowdown , lowdown-unsandboxed , toml11 , man , mdbook Loading Loading @@ -122,7 +123,7 @@ self = stdenv.mkDerivation { docbook_xsl_ns docbook5 ] ++ lib.optionals (enableDocumentation && atLeast24) [ (lib.getBin lowdown) (lib.getBin lowdown-unsandboxed) mdbook ] ++ lib.optionals (atLeast213 && enableDocumentation) [ mdbook-linkcheck Loading
pkgs/tools/typesetting/lowdown/default.nix +7 −3 Original line number Diff line number Diff line Loading @@ -2,12 +2,13 @@ , fetchpatch , enableShared ? !stdenv.hostPlatform.isStatic , enableStatic ? stdenv.hostPlatform.isStatic , enableDarwinSandbox ? true # for passthru.tests , nix }: stdenv.mkDerivation rec { pname = "lowdown"; pname = "lowdown${lib.optionalString (stdenv.hostPlatform.isDarwin && !enableDarwinSandbox) "-unsandboxed"}"; version = "1.1.0"; outputs = [ "out" "lib" "dev" "man" ]; Loading Loading @@ -54,7 +55,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ which dieHook ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ fixDarwinDylibNames ]; preConfigure = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' # The Darwin sandbox calls fail inside Nix builds, presumably due to # being nested inside another sandbox. preConfigure = lib.optionalString (stdenv.hostPlatform.isDarwin && !enableDarwinSandbox) '' echo 'HAVE_SANDBOX_INIT=0' > configure.local ''; Loading Loading @@ -103,7 +106,8 @@ stdenv.mkDerivation rec { ''; doInstallCheck = true; installCheckPhase = '' installCheckPhase = lib.optionalString (!stdenv.hostPlatform.isDarwin || !enableDarwinSandbox) '' runHook preInstallCheck echo '# TEST' > test.md $out/bin/lowdown test.md Loading