aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/gi/git-cgit/package.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/gi/git-cgit/package.nix (renamed from pkgs/by-name/i3/i3status-rust-patched/package.nix)26
1 files changed, 16 insertions, 10 deletions
diff --git a/pkgs/by-name/i3/i3status-rust-patched/package.nix b/pkgs/by-name/gi/git-cgit/package.nix
index a103e275..b64c5e84 100644
--- a/pkgs/by-name/i3/i3status-rust-patched/package.nix
+++ b/pkgs/by-name/gi/git-cgit/package.nix
@@ -8,15 +8,21 @@
# You should have received a copy of the License along with this program.
# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
{
- i3status-rust,
+ writeShellApplication,
+ # Dependencies
+ coreutils,
+ git,
+ openssh,
}:
-i3status-rust.overrideAttrs (final: prev: {
- pname = "${prev.pname}-patched";
+writeShellApplication {
+ name = "git-cgit";
+ text = builtins.readFile ./git-cgit.sh;
- patches =
- (prev.patches or [])
- ++ [
- # Btrfs support for disk_space block.
- ./patches/0001-disk_space-Support-btrfs-backend.patch
- ];
-})
+ inheritPath = false;
+
+ runtimeInputs = [
+ coreutils
+ git
+ openssh
+ ];
+}