1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-19 09:39:45 +01: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:
Sandro 2022-03-26 10:59:30 +01:00 committed by Robert Helgesson
parent 2f58d0a3de
commit b23bb05890
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -4,7 +4,7 @@
outputs = { self, nixpkgs }:
let
# 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
forAllSystems = f: