From f6119f2b193e984c74cd8cec90b67c510f013760 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <edolstra@gmail.com>
Date: Tue, 31 Mar 2020 13:19:36 +0200
Subject: [PATCH] perlDeps: Use lib.closePropagation

Apparentely, buildEnv in 20.03 no longer respects
propagated-build-inputs.

Note that the use of a library function (closePropagation) seems
fundamentally wrong to me - propagated-build-inputs should be used at
runtime, not at evaluation time.
---
 flake.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flake.nix b/flake.nix
index edb8e4d6..85969509 100644
--- a/flake.nix
+++ b/flake.nix
@@ -41,7 +41,7 @@
 
           perlDeps = buildEnv {
             name = "hydra-perl-deps";
-            paths = with perlPackages;
+            paths = with perlPackages; lib.closePropagation
               [ ModulePluggable
                 CatalystActionREST
                 CatalystAuthenticationStoreDBIxClass