hashcash-milter: fix build

This commit is contained in:
Rouven Seifert 2024-01-05 12:03:53 +01:00
parent 7337a98d7e
commit 3419767917
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 7 additions and 2 deletions

View file

@ -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 { };

View file

@ -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";