Skip to content

Commit

Permalink
Package flarum
Browse files Browse the repository at this point in the history
Closes #10

Uses buildComposerProject from currently unmerged NixOS/nixpkgs#225401

Co-authored-by: Jason Odoom <[email protected]>
Co-authored-by: Anish Lakhwara <[email protected]>
Co-authored-by: Dominic Mills <[email protected]>
Co-authored-by: Albert Chae <[email protected]>
Co-authored-by: Jack Leightcap <[email protected]>
Signed-off-by: Jack Leightcap <[email protected]>
  • Loading branch information
5 people committed Aug 2, 2023
1 parent 3aca76e commit e7a12e5
Show file tree
Hide file tree
Showing 5 changed files with 9,452 additions and 6 deletions.
9 changes: 5 additions & 4 deletions all-packages.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{newScope, ...}: let
self = rec {
libgnunetchat = callPackage ./pkgs/libgnunetchat {};
gnunet-messenger-cli = callPackage ./pkgs/gnunet-messenger-cli {};
liberaforms = callPackage ./pkgs/liberaforms {};
liberaforms-env = callPackage ./pkgs/liberaforms/env.nix {};
flarum = callPackage ./pkgs/flarum { };
gnunet-messenger-cli = callPackage ./pkgs/gnunet-messenger-cli { };
kikit = callPackage ./pkgs/kikit {};
liberaforms = callPackage ./pkgs/liberaforms { };
liberaforms-env = callPackage ./pkgs/liberaforms/env.nix { };
libgnunetchat = callPackage ./pkgs/libgnunetchat { };
};

nixpkgs-candidates = {
Expand Down
19 changes: 18 additions & 1 deletion flake.lock

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

5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
description = "NgiPkgs";

inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.php-nixpkgs.url = "github:drupol/nixpkgs?ref=php/add-new-builder";
inputs.flake-utils.url = "github:numtide/flake-utils";
# Set the defaultSystem list for flake-utils to only x86_64-linux
inputs.systems.url = "github:nix-systems/x86_64-linux";
Expand All @@ -12,15 +13,17 @@
outputs = {
self,
nixpkgs,
php-nixpkgs,
flake-utils,
treefmt-nix,
...
}: let
buildOutputs = system: let
pkgs = nixpkgs.legacyPackages.${system};
php-pkgs = php-nixpkgs.legacyPackages.${system};
treefmtEval = treefmt-nix.lib.evalModule pkgs ./treefmt.nix;
in {
packages = import ./all-packages.nix {inherit (pkgs) newScope;};
packages = import ./all-packages.nix {inherit (php-pkgs) newScope;};
nixosModules = {
modules = import ./modules/all-modules.nix;
ngipkgs = {...}: {
Expand Down
Loading

0 comments on commit e7a12e5

Please sign in to comment.