Loading pkgs/tools/misc/locate-dominating-file/default.nix +15 −5 Original line number Diff line number Diff line Loading @@ -2,13 +2,14 @@ , bash , fetchFromGitHub , lib , stdenvNoCC , resholve , coreutils , getopt }: let version = "0.0.1"; in stdenvNoCC.mkDerivation { resholve.mkDerivation { pname = "locate-dominating-file"; inherit version; src = fetchFromGitHub { Loading @@ -24,12 +25,12 @@ stdenvNoCC.mkDerivation { done ''; buildInputs = [ getopt ]; doCheck = true; buildInputs = [ getopt coreutils ]; checkInputs = [ (bats.withLibraries (p: [ p.bats-support p.bats-assert ])) ]; doCheck = true; checkPhase = '' runHook preCheck Loading @@ -47,6 +48,15 @@ stdenvNoCC.mkDerivation { runHook postInstall ''; solutions.default = { scripts = [ "bin/locate-dominating-file" ]; interpreter = "${bash}/bin/bash"; inputs = [ coreutils getopt ]; }; meta = with lib; { homepage = "https://github.com/roman/locate-dominating-file"; description = "Program that looks up in a directory hierarchy for a given filename"; Loading Loading
pkgs/tools/misc/locate-dominating-file/default.nix +15 −5 Original line number Diff line number Diff line Loading @@ -2,13 +2,14 @@ , bash , fetchFromGitHub , lib , stdenvNoCC , resholve , coreutils , getopt }: let version = "0.0.1"; in stdenvNoCC.mkDerivation { resholve.mkDerivation { pname = "locate-dominating-file"; inherit version; src = fetchFromGitHub { Loading @@ -24,12 +25,12 @@ stdenvNoCC.mkDerivation { done ''; buildInputs = [ getopt ]; doCheck = true; buildInputs = [ getopt coreutils ]; checkInputs = [ (bats.withLibraries (p: [ p.bats-support p.bats-assert ])) ]; doCheck = true; checkPhase = '' runHook preCheck Loading @@ -47,6 +48,15 @@ stdenvNoCC.mkDerivation { runHook postInstall ''; solutions.default = { scripts = [ "bin/locate-dominating-file" ]; interpreter = "${bash}/bin/bash"; inputs = [ coreutils getopt ]; }; meta = with lib; { homepage = "https://github.com/roman/locate-dominating-file"; description = "Program that looks up in a directory hierarchy for a given filename"; Loading