aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinglu Chen <public@yoctocell.xyz>2021-06-21 15:25:58 +0200
committerXinglu Chen <public@yoctocell.xyz>2021-06-21 15:29:43 +0200
commit4c8e7ebfcec6fbb0fcd9971bb4c2ac55c6b8bfd2 (patch)
tree0caa290f3dfd7e9fb63489e43c888ad40929f65e
parentaebea916b6e0b35e68a9ba3cafdd760d390336b0 (diff)
Remove Nix files.
I am no longer using Nix for managing user packages, and I have no interest in actually maintaining these files. * git-email.texi (Installation): Remove Nix installation instructions. * default.nix, flake.lock, flake.nix: Remove files. Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
-rw-r--r--default.nix40
-rw-r--r--doc/git-email.texi30
-rw-r--r--flake.lock43
-rw-r--r--flake.nix17
4 files changed, 1 insertions, 129 deletions
diff --git a/default.nix b/default.nix
deleted file mode 100644
index 765b92a..0000000
--- a/default.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-{ lib, fetchgit, nix-gitignore, emacsPackages }:
-let
- inherit (emacsPackages) trivialBuild;
- flakeRoot = toString ../.;
-in
-lib.recurseIntoAttrs rec {
-
- git-email-full-git = trivialBuild rec {
- pname = "git-email-full";
- version = "master";
- src = nix-gitignore.gitignoreSource (flakeRoot + ".gitignore") ./.;
- packageRequires = with emacsPackages; [
- magit
- transient
- notmuch
- ];
- };
-
- git-email-git = trivialBuild rec {
- pname = "git-email";
- version = "master";
- src = builtins.filterSource
- (path: type:
- baseNameOf path != "git-email-magit.el" &&
- baseNameOf path != "git-email-notmuch.el" &&
- baseNameOf path != "git-email-gnus.el"
- ) ./.;
- };
-
- git-email = trivialBuild rec {
- pname = "git-email";
- version = "0.1.0";
- src = fetchgit {
- url = "https://git.sr.ht/~yoctocell/git-email";
- rev = version;
- sha256 = "EJ9+/tA7mKn2HQE3kU4HdCbQXtjWUeaUiqnq4HUb+2o=";
- };
- };
-
-}
diff --git a/doc/git-email.texi b/doc/git-email.texi
index 0653dae..f290878 100644
--- a/doc/git-email.texi
+++ b/doc/git-email.texi
@@ -121,36 +121,8 @@ you have to install it manually by cloning the Git repo and adding @samp{git-ema
your @code{load-path}. Or, you can install it using one of the options
listed below.
-@menu
-* Nix::
-@end menu
-
-@node Nix
-@section Nix
-
-If you are using @uref{https://nixos.wiki/wiki/Flakes, nix flakes},
-three versions of the package are available:
-
-@itemize
-@item
-@samp{git-email-full-git} -- This includes all the optional libraries as
-is built from the latest master branch.
-
-@item
-@samp{git-email-git} -- This only contains the core `git-email.el`
-library and is built from the latest master branch.
-
-@item
-@samp{git-email} -- This is the package from the latest release.
-@end itemize
-
-You can install the package with
-
-@example
-nix profile install "git+https://git.sr.ht/~yoctocell/git-email#git-email@{-full-git,-git@}"
-@end example
-
@node Guix
+@section Guix
You can install git-email with guix by running @command{guix install
--install-from-file=guix.scm}.
diff --git a/flake.lock b/flake.lock
deleted file mode 100644
index 52c007e..0000000
--- a/flake.lock
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "nodes": {
- "flake-utils": {
- "locked": {
- "lastModified": 1610051610,
- "narHash": "sha256-U9rPz/usA1/Aohhk7Cmc2gBrEEKRzcW4nwPWMPwja4Y=",
- "owner": "numtide",
- "repo": "flake-utils",
- "rev": "3982c9903e93927c2164caa727cd3f6a0e6d14cc",
- "type": "github"
- },
- "original": {
- "owner": "numtide",
- "repo": "flake-utils",
- "type": "github"
- }
- },
- "nixpkgs": {
- "locked": {
- "lastModified": 1612407036,
- "narHash": "sha256-3wFGXSK9tQU/6dPfwjNUxygeZCbYxe0O0JXVyj1G2tk=",
- "owner": "nixos",
- "repo": "nixpkgs",
- "rev": "04d5f1e3a87d413181af5d6dd68568228addf1c3",
- "type": "github"
- },
- "original": {
- "owner": "nixos",
- "ref": "nixpkgs-unstable",
- "repo": "nixpkgs",
- "type": "github"
- }
- },
- "root": {
- "inputs": {
- "flake-utils": "flake-utils",
- "nixpkgs": "nixpkgs"
- }
- }
- },
- "root": "root",
- "version": 7
-}
diff --git a/flake.nix b/flake.nix
deleted file mode 100644
index 06e5edc..0000000
--- a/flake.nix
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- description = "git-email.el flake";
-
- inputs = {
- nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
- flake-utils.url = "github:numtide/flake-utils";
- };
-
- outputs = { self, nixpkgs, flake-utils }:
- flake-utils.lib.eachDefaultSystem (system:
- let pkgs = nixpkgs.legacyPackages.${system};
- in
- rec {
- packages = pkgs.lib.recurseIntoAttrs (pkgs.callPackage ./. {});
- defaultPackage = packages.git-email-full-git;
- });
-}