From f12b20fe58c850e3bdb1996b4ac14badc8469d2d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 7 Jan 2022 16:59:59 +0100 Subject: ... --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index a3a964c..2f5758a 100644 --- a/flake.nix +++ b/flake.nix @@ -96,6 +96,8 @@ openwrtWithPackages = pkgs.stdenv.mkDerivation { name = "openwrt-with-packages"; src = openwrt; + + phases = [ "unpackPhase" "patchPhase" "buildPhase" "installPhase" ]; patchPhase = let feedsConf = pkgs.writeText "feeds.conf" '' src-link packages ${inputs.openwrt-packages} @@ -132,6 +134,7 @@ buildInputs = with pkgs; [ gcc zlib ]; + phases = [ "unpackPhase" "buildPhase" "installPhase" ]; sourceRoot = "source/src"; buildPhase = '' gcc -lz -o ubnt-mkfwimage ubnt-mkfwimage.c -- cgit v1.2.3