flake: set src directly in derivation

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2024-05-28 14:30:08 +02:00
parent 67563d4e6f
commit a35a539939
Signed by: c8h4
GPG key ID: 1538094429952F86

View file

@ -26,10 +26,10 @@
};
};
src = ./.;
c8h4-io = pkgs.stdenv.mkDerivation {
name = "c8h4-io-hugo";
inherit src;
src = ./.;
buildInputs = with pkgs; [ hugo ];
buildPhase = ''