From a426ed3d09b3b68341f7c1cd9fc7c394a65e7d21 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Tue, 7 Jan 2025 00:03:36 -0800 Subject: [PATCH] lesspipe: Fix build on OpenBSD For some reason resholve can figure out that `file` built for FreeBSD and Linux do not execute arguments, but not for OpenBSD. Explicitly tell it that there is no problem --- pkgs/by-name/le/lesspipe/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/le/lesspipe/package.nix b/pkgs/by-name/le/lesspipe/package.nix index 0fd06e2758de..7f42f6bbf59a 100644 --- a/pkgs/by-name/le/lesspipe/package.nix +++ b/pkgs/by-name/le/lesspipe/package.nix @@ -167,6 +167,7 @@ stdenv.mkDerivation rec { }; execer = [ "cannot:${iconv}/bin/iconv" + "cannot:${file}/bin/file" ]; }} ${resholve.phraseSolution "lesscomplete" { @@ -216,6 +217,9 @@ stdenv.mkDerivation rec { ]; builtin = [ "setopt" ]; }; + execer = [ + "cannot:${file}/bin/file" + ]; }} '';