Skip to content

Commit

Permalink
flake: add flake-utils import and use eachDefaultSystem (woodpecker-c…
Browse files Browse the repository at this point in the history
  • Loading branch information
6543 committed Sep 5, 2024
1 parent 4e79720 commit 13fb1a1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 28 deletions.
23 changes: 4 additions & 19 deletions flake.lock

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

15 changes: 6 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{
# Override nixpkgs to use the latest set of node packages
inputs.nixpkgs.url = "github:NixOS/nixpkgs/master";
inputs.systems.url = "github:nix-systems/default";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/master";
flake-utils.url = "github:numtide/flake-utils";
};

outputs =
{
self,
nixpkgs,
flake-utils,
systems,
}:
flake-utils.lib.eachSystem (import systems) (
{ nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
Expand Down

0 comments on commit 13fb1a1

Please sign in to comment.