1
0
Fork 0
forked from mirror/grapevine

ensure we don't use aliases again accidentally

This commit is contained in:
Charles Hall 2024-08-17 11:45:51 -07:00
parent 6685f8cd14
commit c355e2ad39
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF

View file

@ -60,7 +60,14 @@
in
inputs.flake-utils.lib.eachDefaultSystem (system:
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
pkgs = import inputs.nixpkgs {
inherit system;
# Some users find it useful to set this on their Nixpkgs instance and
# we want to support that use case, so we set it here too to help us
# test/ensure that this works.
config.allowAliases = false;
};
in
{
packages = {
@ -79,6 +86,11 @@
crossSystem = {
config = crossSystem;
};
# Some users find it useful to set this on their Nixpkgs
# instance and we want to support that use case, so we set
# it here too to help us test/ensure that this works.
config.allowAliases = false;
}).pkgsStatic;
in
[