From e391d23da313d91e659311c00eca1ad5cb2d9fa7 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Thu, 19 Dec 2024 12:45:55 -0800 Subject: [PATCH] add notmuch --- notmuch/flake.lock | 60 ++++++++++++++++++++++++++++++++++++++++++++++ notmuch/flake.nix | 21 ++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 notmuch/flake.lock create mode 100644 notmuch/flake.nix diff --git a/notmuch/flake.lock b/notmuch/flake.lock new file mode 100644 index 0000000..35c280e --- /dev/null +++ b/notmuch/flake.lock @@ -0,0 +1,60 @@ +{ + "nodes": { + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1717646450, + "narHash": "sha256-KE+UmfSVk5PG8jdKdclPVcMrUB8yVZHbsjo7ZT1Bm3c=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "818dbe2f96df233d2041739d6079bb616d3e5597", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixpkgs-unstable", + "type": "indirect" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/notmuch/flake.nix b/notmuch/flake.nix new file mode 100644 index 0000000..7858efc --- /dev/null +++ b/notmuch/flake.nix @@ -0,0 +1,21 @@ +{ + description = "Good basic flake template"; + inputs = { + nixpkgs.url = "nixpkgs/nixpkgs-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils }: + flake-utils.lib.eachDefaultSystem (system: + let + systempkgs = nixpkgs.legacyPackages.${system}; + in + { + devShells.default = systempkgs.mkShell { + buildInputs = with systempkgs; [ + notmuch + ]; + }; + } + ); +}