Skip to content

Commit

Permalink
feat: Nix indirect flake input
Browse files Browse the repository at this point in the history
  • Loading branch information
tegefaulkes authored and brynblack committed Sep 6, 2024
1 parent 8490111 commit 724b32e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 113 deletions.
116 changes: 11 additions & 105 deletions flake.lock

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

14 changes: 6 additions & 8 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";

nixpkgs-matrix.url = "github:matrixai/nixpkgs-matrix";
nixpkgs.follows = "nixpkgs-matrix/nixpkgs";
nixpkgs-matrix = {
type = "indirect";
id = "nixpkgs-matrix";
};
};

outputs = { nixpkgs, flake-utils, ... }:
outputs = { nixpkgs-matrix, flake-utils, ... }:
flake-utils.lib.eachSystem ([
"x86_64-linux"
"x86_64-windows"
"x86_64-darwin"
"aarch64-darwin"
]) (system:
let
pkgs = import nixpkgs {
system = system;
};
pkgs = nixpkgs-matrix.legacyPackages.${system};

shell = { ci ? false }: with pkgs; pkgs.mkShell {
nativeBuildInputs = [
Expand Down

0 comments on commit 724b32e

Please sign in to comment.