summaryrefslogtreecommitdiff
path: root/overlays/postfix-mta-sts-resolver/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-04-10 20:56:16 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2023-04-10 20:56:16 +0200
commitc0e3d0e72d9d636728a5171511e3ce1003203567 (patch)
treec75fbcfe4802c48fd5162792f38475d74d2cad57 /overlays/postfix-mta-sts-resolver/default.nix
parent24207674f36e900fd2aa51787cb70756413962c2 (diff)
downloadnixos-c0e3d0e72d9d636728a5171511e3ce1003203567.tar
nixos-c0e3d0e72d9d636728a5171511e3ce1003203567.tar.gz
nixos-c0e3d0e72d9d636728a5171511e3ce1003203567.tar.bz2
nixos-c0e3d0e72d9d636728a5171511e3ce1003203567.tar.xz
nixos-c0e3d0e72d9d636728a5171511e3ce1003203567.zip
bump
Diffstat (limited to 'overlays/postfix-mta-sts-resolver/default.nix')
-rw-r--r--overlays/postfix-mta-sts-resolver/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/overlays/postfix-mta-sts-resolver/default.nix b/overlays/postfix-mta-sts-resolver/default.nix
new file mode 100644
index 00000000..49fbb7c9
--- /dev/null
+++ b/overlays/postfix-mta-sts-resolver/default.nix
@@ -0,0 +1,17 @@
1{ prev, sources, ... }:
2{
3 postfix-mta-sts-resolver =
4 with prev.poetry2nix;
5 mkPoetryApplication {
6 inherit (sources.postfix-mta-sts-resolver) pname version;
7 projectDir = cleanPythonSources {
8 src = prev.runCommand "sources" {} ''
9 mkdir $out
10 cp -r ${sources.postfix-mta-sts-resolver.src}/. $out
11
12 cp ${./pyproject.toml} $out/pyproject.toml
13 cp ${./poetry.lock} $out/poetry.lock
14 '';
15 };
16 };
17}