mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
flake: only support linux + darwin
This is to prevent errors with `flake check` because for example cygwin can't even build bash. Closes #2829
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
outputs = { self, nixpkgs }:
|
outputs = { self, nixpkgs }:
|
||||||
let
|
let
|
||||||
# List of systems supported by home-manager binary
|
# List of systems supported by home-manager binary
|
||||||
supportedSystems = nixpkgs.lib.platforms.unix;
|
supportedSystems = with nixpkgs.lib.platforms; linux ++ darwin;
|
||||||
|
|
||||||
# Function to generate a set based on supported systems
|
# Function to generate a set based on supported systems
|
||||||
forAllSystems = f:
|
forAllSystems = f:
|
||||||
|
|||||||
Reference in New Issue
Block a user