diff --git a/dev-env/bin/find b/dev-env/bin/find new file mode 100755 index 0000000000..c248642fb8 --- /dev/null +++ b/dev-env/bin/find @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# Meant to be linked to from `dev-env/bin`, symlink should be named after the +# tool. Execute a Nix tool from a derivation that creates a `result` directory. + +DADE_CURRENT_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +source "$DADE_CURRENT_SCRIPT_DIR/../lib/dade-common" +execTool findutils out find "$@" diff --git a/nix/default.nix b/nix/default.nix index 3266d6b6f8..f0e6ff2739 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -186,6 +186,7 @@ in rec { # System tools shellcheck = pkgs.shellcheck; curl = bazel_dependencies.curl; + findutils = pkgs.findutils; patch = pkgs.patch; wget = pkgs.wget; @@ -256,7 +257,6 @@ in rec { cheat = pkgs.cheat; coreutils = pkgs.coreutils; dockerd = pkgs.docker; - findutils = pkgs.findutils; ftop = pkgs.ftop; gcc7 = pkgs.gcc7; glibc = pkgs.glibc;