Hi!
Trying to install the vscode-extensions.chenglou92.rescript-vscode package.
I have a vscode.nix that looks like this that configuration.nix imports:
{ pkgs, ... }:
let
extensions = (with pkgs.vscode-extensions; [
haskell.haskell
arrterian.nix-env-selector
jnoortheen.nix-ide
chenglou92.rescript-vscode
]) ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [{
name = "groovylambda";
publisher = "sheaf";
version = "0.1.0";
sha256 = "1j2w6y90qwzaima1gg6vb9fij400hxfbxlla1a55hqjls6157zbf";
}
];
vscode-with-extensions = pkgs.vscode-with-extensions.override {
vscodeExtensions = extensions;
};
in
{
config = {
environment.systemPackages = [
vscode-with-extensions
];
};
}
When I added the line chenglou92.rescript-vscode
and rebuilt, it failed with this message:
building the system configuration...
error: undefined variable 'chenglou92'
at /nix/store/lwza4577zj3h844fwif9zdzlk0blvbvz-source/vscode.nix:8:5:
7| jnoortheen.nix-ide
8| chenglou92.rescript-vscode
| ^
9| ]) ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [{
(use '--show-trace' to show detailed location information)
error: getting status of '/tmp/nixos-rebuild.YJOGd1/result': No such file or directory
Without it, it is working fine.
My nix-channel is set to 21.11:
❯ nix-channel --list
nixos https://nixos.org/channels/nixos-21.11
I’m puzzled since the package seems to be listed in the package registry, are there any reasons it would not find the package?