Sometime in the last month or so my desktop flake stopped building, complaining it cannot build unfree
vscode. I trimmed it to this minimal content
{
inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; # rev 1c9db9710cb23d60570ad4d7ab829c2d34403de3
#inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-23.05"; # rev 35130d4b4f0b8c50ed2aceb909a538c66c91d4a0
inputs.pwnvim.url = "git+https://github.com/zmre/pwnvim.git";
inputs.pwnvim.inputs.nixpkgs.follows = "nixpkgs";
outputs = { self, nixpkgs, pwnvim }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
in with pkgs; {
nvim = pwnvim.packages.${system}.pwnvim;
vscode = vscode-with-extensions.override {
vscodeExtensions = with pkgs.vscode-extensions; [ ];
};
packages.${system}.default = buildEnv {
name = "desk_default";
paths = [ self.vscode self.nvim ];
};
};
}
Switching inputs.nixpkgs
from nixos-unstable
to nixos-23.05
enables it to build. Removing self.nvim
also enables it to build. Removing the follows
line causes a second nixpkgs
to be pulled, but the build still fails.
It seems there is some sort of conflict with my import of pwnvim
. How do I figure out what code is going wrong?