Public source sync 06ad9c949dc7
Source commit: 06ad9c949dc7aece0883315a3b3c3133df98f794 Public tree identity: sha256:deb98e60f26cb4942e2bc1972601259d4015fd3a945eac94d60e115b5823bbdb
This commit is contained in:
parent
fd41e0ee3b
commit
a6ab33d161
8 changed files with 115 additions and 20 deletions
12
flake.nix
12
flake.nix
|
|
@ -9,6 +9,18 @@
|
|||
forAllSystems = nixpkgs.lib.genAttrs systems;
|
||||
in
|
||||
{
|
||||
packages = forAllSystems (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
publicPackages = import ./packages.nix { inherit pkgs self; };
|
||||
privatePackages =
|
||||
if builtins.pathExists ./web/packages.nix then
|
||||
import ./web/packages.nix { inherit pkgs self; }
|
||||
else
|
||||
{ };
|
||||
in
|
||||
publicPackages // privatePackages);
|
||||
|
||||
devShells = forAllSystems (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue