From 5ca82ffa08af81f36ec998e7f49f53af7496a93a Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 2 Nov 2026 19:53:17 +0100 Subject: pkgs/*: Use a `stable`/`unstable` marker in the filename --- pkgs/by-name/gi/git-cgit/package.nix | 28 --------------------- pkgs/by-name/gi/git-cgit/package.unstable.nix | 28 +++++++++++++++++++++ pkgs/by-name/gi/git-cm/package.nix | 27 -------------------- pkgs/by-name/gi/git-cm/package.unstable.nix | 27 ++++++++++++++++++++ pkgs/by-name/gi/git-edit-index/package.nix | 29 ---------------------- .../by-name/gi/git-edit-index/package.unstable.nix | 29 ++++++++++++++++++++++ 6 files changed, 84 insertions(+), 84 deletions(-) delete mode 100644 pkgs/by-name/gi/git-cgit/package.nix create mode 100644 pkgs/by-name/gi/git-cgit/package.unstable.nix delete mode 100644 pkgs/by-name/gi/git-cm/package.nix create mode 100644 pkgs/by-name/gi/git-cm/package.unstable.nix delete mode 100644 pkgs/by-name/gi/git-edit-index/package.nix create mode 100644 pkgs/by-name/gi/git-edit-index/package.unstable.nix (limited to 'pkgs/by-name/gi') diff --git a/pkgs/by-name/gi/git-cgit/package.nix b/pkgs/by-name/gi/git-cgit/package.nix deleted file mode 100644 index b64c5e84..00000000 --- a/pkgs/by-name/gi/git-cgit/package.nix +++ /dev/null @@ -1,28 +0,0 @@ -# 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, - # Dependencies - coreutils, - git, - openssh, -}: -writeShellApplication { - name = "git-cgit"; - text = builtins.readFile ./git-cgit.sh; - - inheritPath = false; - - runtimeInputs = [ - coreutils - git - openssh - ]; -} diff --git a/pkgs/by-name/gi/git-cgit/package.unstable.nix b/pkgs/by-name/gi/git-cgit/package.unstable.nix new file mode 100644 index 00000000..b64c5e84 --- /dev/null +++ b/pkgs/by-name/gi/git-cgit/package.unstable.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, + # Dependencies + coreutils, + git, + openssh, +}: +writeShellApplication { + name = "git-cgit"; + text = builtins.readFile ./git-cgit.sh; + + inheritPath = false; + + runtimeInputs = [ + coreutils + git + openssh + ]; +} diff --git a/pkgs/by-name/gi/git-cm/package.nix b/pkgs/by-name/gi/git-cm/package.nix deleted file mode 100644 index f124ce90..00000000 --- a/pkgs/by-name/gi/git-cm/package.nix +++ /dev/null @@ -1,27 +0,0 @@ -# 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, - # Dependencies - git, - gnused, -}: -writeShellApplication { - name = "git-cm"; - text = builtins.readFile ./git-cm.sh; - - # We need access to the $EDITOR - inheritPath = true; - - runtimeInputs = [ - git - gnused - ]; -} diff --git a/pkgs/by-name/gi/git-cm/package.unstable.nix b/pkgs/by-name/gi/git-cm/package.unstable.nix new file mode 100644 index 00000000..f124ce90 --- /dev/null +++ b/pkgs/by-name/gi/git-cm/package.unstable.nix @@ -0,0 +1,27 @@ +# 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, + # Dependencies + git, + gnused, +}: +writeShellApplication { + name = "git-cm"; + text = builtins.readFile ./git-cm.sh; + + # We need access to the $EDITOR + inheritPath = true; + + runtimeInputs = [ + git + gnused + ]; +} diff --git a/pkgs/by-name/gi/git-edit-index/package.nix b/pkgs/by-name/gi/git-edit-index/package.nix deleted file mode 100644 index 5e855b49..00000000 --- a/pkgs/by-name/gi/git-edit-index/package.nix +++ /dev/null @@ -1,29 +0,0 @@ -# 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, - # Dependencies - coreutils, - git, - gnused, -}: -writeShellApplication { - name = "git-edit-index"; - text = builtins.readFile ./git-edit-index.sh; - - # `git-edit-index` starts neovim, wich might want to shell out from - inheritPath = true; - - runtimeInputs = [ - coreutils - git - gnused - ]; -} diff --git a/pkgs/by-name/gi/git-edit-index/package.unstable.nix b/pkgs/by-name/gi/git-edit-index/package.unstable.nix new file mode 100644 index 00000000..5e855b49 --- /dev/null +++ b/pkgs/by-name/gi/git-edit-index/package.unstable.nix @@ -0,0 +1,29 @@ +# 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, + # Dependencies + coreutils, + git, + gnused, +}: +writeShellApplication { + name = "git-edit-index"; + text = builtins.readFile ./git-edit-index.sh; + + # `git-edit-index` starts neovim, wich might want to shell out from + inheritPath = true; + + runtimeInputs = [ + coreutils + git + gnused + ]; +} -- cgit v1.3.1