Skip to content

Commit

Permalink
nix: fix hash
Browse files Browse the repository at this point in the history
Signed-off-by: lucasew <[email protected]>
  • Loading branch information
lucasew committed Apr 4, 2024
1 parent c831eca commit a46b5b1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
13 changes: 2 additions & 11 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
{pkgs ? import <nixpkgs> {}}:
pkgs.buildGoModule rec {
name = "dotenv";
version = "0.0.1";
vendorSha256 = "0092fdfs73vxf3f9yllxg037i1mgap0x11s5xbs2b0x8s1dl59qm";
src = ./.;
meta = with pkgs.lib; {
description = "Dotenv as a binary that loads the dotenv and calls the program";
homepage = "https://github.com/lucasew/dotenv";
platforms = platforms.linux;
};
}

pkgs.callPackage ./package.nix {}
18 changes: 18 additions & 0 deletions package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{ buildGoModule
, lib
}:

buildGoModule {
name = "dotenv";
version = "0.0.1";

vendorHash = "sha256-FadCW9CogyX06kWH0MFVr4Z4BnidUp/ccH2Po11zIgE=";

src = ./.;

meta = with lib; {
description = "Dotenv as a binary that loads the dotenv and calls the program";
homepage = "https://github.com/lucasew/dotenv";
platforms = platforms.linux;
};
}

0 comments on commit a46b5b1

Please sign in to comment.