ci: disable allowAliases in the pinned pkgs instance (#435597)
This commit is contained in:
+11
-4
@@ -17,7 +17,12 @@ let
|
||||
else
|
||||
nixpkgs;
|
||||
|
||||
pkgs = import nixpkgs' { inherit system; };
|
||||
pkgs = import nixpkgs' {
|
||||
inherit system;
|
||||
# Nixpkgs generally — and CI specifically — do not use aliases,
|
||||
# because we want to ensure they are not load-bearing.
|
||||
allowAliases = false;
|
||||
};
|
||||
|
||||
fmt =
|
||||
let
|
||||
@@ -60,10 +65,12 @@ let
|
||||
|
||||
programs.keep-sorted.enable = true;
|
||||
|
||||
# This uses nixfmt underneath,
|
||||
# the default formatter for Nix code.
|
||||
# This uses nixfmt underneath, the default formatter for Nix code.
|
||||
# See https://github.com/NixOS/nixfmt
|
||||
programs.nixfmt.enable = true;
|
||||
programs.nixfmt = {
|
||||
enable = true;
|
||||
package = pkgs.nixfmt;
|
||||
};
|
||||
|
||||
programs.yamlfmt = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user