Hi,
I copy-pasted your fix in my main configuration file (I installed all the packages for all the users), but unfortunately it gives exactly the same error
The problem with the fix proposed above is that, apparently, my configuration ignores nixpkgs.overlays (as long as they are syntactically correct.
Maybe this behaviour originates from the fact that I used some fixes to set unstable packages from configuration.nix? I have no experience with overlays, and any help may be very useful. My configuration.
Relevant parts of my configuration.nix:
{ config, pkgs, ... }:
let
# Unstable packages
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz;
in
{
# Unstable packages
nixpkgs.config = {
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
};
};
# Temporary overlays for patches
nixpkgs.overlays = [
(self: super: {
# see https://github.com/NixOS/nixpkgs/pull/206745
clisp = super.clisp.override
{
readline = pkgs.readline6;
};
})
];
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
# all the packages in environment.systemPackages below here
../imports/systemPackages_standard.nix
];
}
Yes. Though alternatively, you might want to move the overrides to overlays. They generally compose better, and most of the time, overlays are expected to work by 3rd party instructions.
I use the override to tell nixos to use the unstable channel (which I prefer to do within my configuration.nix). Is it possible to do so through overlays? If yes, how? I don’t know nixos language very much.