mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-14 21:03:10 +01:00
hashcash-milter: fix build
This commit is contained in:
parent
7337a98d7e
commit
3419767917
|
@ -61,7 +61,7 @@
|
|||
}@attrs: {
|
||||
packages.x86_64-linux = {
|
||||
iso = self.nixosConfigurations.iso.config.system.build.isoImage;
|
||||
thinkpad = self.nixosConfigurations.thinkpad.config.system.build.toplevel;
|
||||
# thinkpad = self.nixosConfigurations.thinkpad.config.system.build.toplevel;
|
||||
jmri = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/jmri { };
|
||||
adguardian-term = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/adguardian-term { };
|
||||
pww = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/pww { };
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, lib }:
|
||||
{ stdenv, fetchFromGitHub, lib, libmilter, db }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hashcash-milter";
|
||||
version = "0.1.3";
|
||||
|
@ -8,6 +8,11 @@ stdenv.mkDerivation rec {
|
|||
rev = "v${version}";
|
||||
hash = "sha256-yVpfvwpZUZQppZpmXmAqjoZH5shWUnA8aMVSOkPyQXw=";
|
||||
};
|
||||
buildInputs = [ libmilter db ];
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
install -m 755 -p -s hashcash-milter $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Hashcash Milter";
|
||||
|
|
Loading…
Reference in a new issue