diff options
author | Aria <me@aria.rip> | 2023-10-01 17:17:23 +0100 |
---|---|---|
committer | Aria <me@aria.rip> | 2023-10-01 17:17:23 +0100 |
commit | 862cc62d621e89de4848be543f4df23d101075fe (patch) | |
tree | f42921a70c9932466c033bcbd0d530cf1c4d4460 /flake.nix | |
parent | d82ed204b82b9774e266a74432f252ae76a63eee (diff) |
update readme
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 74eb4c3..0000000 --- a/flake.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ - description = "A command saver"; - - inputs = { - nixpkgs.url = "nixpkgs/nixos-22.11"; - flake-utils.url = "github:numtide/flake-utils"; - }; - - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: - let - pkgs = import nixpkgs { inherit system; }; - lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101"; - version = builtins.substring 0 8 lastModifiedDate; - doe = pkgs.buildGoModule { - pname = "doe"; - inherit version; - - src = ./.; - - vendorSha256 = "sha256-gItYVP5ZOMH1xxuw9YttpWfwfL5wckp37q1aRoFPjX0="; - }; - in - { - - # Provide some binary packages for selected system types. - packages.default = doe; - apps.default = { - name = "doe"; - type = "app"; - program = "${doe}/bin/doe"; - }; - - devShells.default = pkgs.mkShell { - nativeBuildInputs = with pkgs; [ - go - gopls - charm - ]; - }; - } - - ); -} |