From e66fea3fb8b4d283a06be2ad46ec6a0ec64cce43 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 27 Apr 2025 16:43:37 +0200 Subject: pkgs/fd_list: Init --- pkgs/by-name/fd/fd_list/package.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkgs/by-name/fd/fd_list/package.nix (limited to 'pkgs/by-name/fd/fd_list/package.nix') diff --git a/pkgs/by-name/fd/fd_list/package.nix b/pkgs/by-name/fd/fd_list/package.nix new file mode 100644 index 00000000..34129b10 --- /dev/null +++ b/pkgs/by-name/fd/fd_list/package.nix @@ -0,0 +1,28 @@ +# nixos-config - My current NixOS configuration +# +# Copyright (C) 2025 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of my nixos-config. +# +# You should have received a copy of the License along with this program. +# If not, see . +{ + writeShellApplication, + findutils, + gawk, + coreutils, + procps, +}: +writeShellApplication { + name = "fd_list"; + text = builtins.readFile ./fd_list.sh; + + inheritPath = false; + runtimeInputs = [ + findutils + gawk + coreutils + procps + ]; +} -- cgit 1.4.1