Revert nixFlake / nixExperimental (#120141)

Usage of the nixFlakes attribute obscures the fact that it's an
experimental feature. Providing a nixExperimental attribute (which
people will inevitably start using on their production machines) makes
it too easy to enable all experimental features, when you should
explicitly opt in to the features that you want to try out.

Also, upstream Nix doesn't provide an "enable all experimental
features" patch so neither should Nixpkgs.
This commit is contained in:
Eelco Dolstra
2021-05-21 15:16:35 +02:00
parent 224df6940f
commit 21bfd3bbce
4 changed files with 2 additions and 37 deletions
@@ -227,12 +227,6 @@ in rec {
];
});
nixExperimental = nixUnstable.overrideAttrs (prev: {
patches = (prev.patches or []) ++ [ ./enable-all-experimental.patch ];
});
nixFlakes = nixUnstable.overrideAttrs (prev: {
patches = (prev.patches or []) ++ [ ./enable-flakes.patch ];
});
nixFlakes = nixUnstable;
}