mirror of
https://github.com/infinisil/all-hies.git
synced 2024-11-22 04:43:27 +03:00
Throw an error for unsupported glibc versions
This commit is contained in:
parent
09ba836904
commit
21fa4c111d
@ -1,7 +1,7 @@
|
||||
{ ghcVersion, glibcName }:
|
||||
let
|
||||
sources = import ./sources.nix;
|
||||
pkgs = sources.glibcSpecificPkgs.${glibcName};
|
||||
pkgs = sources.glibcSpecificPkgs.${glibcName} or (throw "all-hies: A nixpkgs with ${glibcName} is currently not supported. ");
|
||||
inherit (pkgs) lib;
|
||||
|
||||
versionList = builtins.match "([0-9]+)\\.([0-9]+)\\.([0-9]+)" ghcVersion;
|
||||
|
Loading…
Reference in New Issue
Block a user