After updating NixOS to the last unstable commit ( 39e6bf76474c ) when I try to use nix-shell
with shell.nix
like this simple one:
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
gtk3
];
shellHook = ''
echo "${pkgs.gtk3}"
'';
}
I’m having errors like this:
$ nix-shell
error: derivation '/nix/store/sh9jhpl605ylcjbwavwplgnmgpxnd2y7-gtk+3-3.24.27.drv' does not have wanted outputs 'dev,out'
If I remove the shellHook
it works.