Skip to content

Commit

Permalink
fix build from build.moss
Browse files Browse the repository at this point in the history
  • Loading branch information
albertchae committed Aug 5, 2023
1 parent 4ba89df commit 4066c1f
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 13 deletions.
55 changes: 46 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
...
}: let
buildOutputs = system: let
pkgs = nixpkgs.legacyPackages.${system} {
pkgs = import nixpkgs {
inherit system;
overlays = [
inputs.nix-php-composer-builder.overlays.default
nix-php-composer-builder.overlays.default
];
};
treefmtEval = treefmt-nix.lib.evalModule pkgs ./treefmt.nix;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/flarum/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
fetchFromGitHub,
fetchurl,
lib,
php,
pkgs,
}:
php.buildComposerProject (finalAttrs: {
pkgs.api.buildComposerProject (finalAttrs: {
pname = "flarum";
version = "1.8.0";

Expand Down

0 comments on commit 4066c1f

Please sign in to comment.