mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
ensure we don't use aliases again accidentally
This commit is contained in:
parent
6685f8cd14
commit
c355e2ad39
1 changed files with 13 additions and 1 deletions
14
flake.nix
14
flake.nix
|
|
@ -60,7 +60,14 @@
|
||||||
in
|
in
|
||||||
inputs.flake-utils.lib.eachDefaultSystem (system:
|
inputs.flake-utils.lib.eachDefaultSystem (system:
|
||||||
let
|
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
|
in
|
||||||
{
|
{
|
||||||
packages = {
|
packages = {
|
||||||
|
|
@ -79,6 +86,11 @@
|
||||||
crossSystem = {
|
crossSystem = {
|
||||||
config = 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;
|
}).pkgsStatic;
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue