Skip to content

Commit

Permalink
libresoc/soc: import flake from upstream
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Leightcap <[email protected]>
  • Loading branch information
jleightcap committed Mar 28, 2024
1 parent bc0f45e commit eedba92
Show file tree
Hide file tree
Showing 2 changed files with 154 additions and 8 deletions.
153 changes: 146 additions & 7 deletions flake.lock

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

9 changes: 8 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@
inputs.treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
inputs.sops-nix.url = "github:Mic92/sops-nix";
inputs.sops-nix.inputs.nixpkgs.follows = "nixpkgs";
inputs.libre-soc.url = "git+https://git.libre-soc.org/git/soc.git";

outputs = {
self,
nixpkgs,
flake-utils,
treefmt-nix,
sops-nix,
libre-soc,
...
}:
with builtins; let
Expand Down Expand Up @@ -52,7 +54,12 @@
inherit (pkgs) lib;
inherit callPackage;
};
result = (import ./pkgs/by-name args) // (import ./pkgs args);
result =
(import ./pkgs/by-name args)
// (import ./pkgs args)
// {
soc = libre-soc.packages.${pkgs.system}.soc;
};
in
result;

Expand Down

0 comments on commit eedba92

Please sign in to comment.