use callPackage instead of import in gitea-build

main
Carsten Kragelund 2023-05-07 20:28:40 +02:00
parent 068b1c5f11
commit c042c8bfe2
Signed by: nyx
GPG Key ID: CADDADEEC9F753C0
1 changed files with 1 additions and 1 deletions

@ -1,6 +1,6 @@
{ pkgs, giteaVersion, ... }: { pkgs, giteaVersion, ... }:
let let
nodeNix = (import ./node.nix { inherit pkgs giteaVersion; }); nodeNix = (pkgs.callPackage ./node.nix { inherit giteaVersion; });
nodeEnv = (pkgs.callPackage (nodeNix + "/default.nix") { }); nodeEnv = (pkgs.callPackage (nodeNix + "/default.nix") { });
in in
pkgs.buildGoModule rec { pkgs.buildGoModule rec {