nix-community / nix-vscode-extensions

Nix expressions for VSCode and OpenVSX extensions [maintainers: @deemp, @AmeerTaweel]
MIT License
169 stars 9 forks source link

'oracle.oracledevtools' failing to build #51

Closed Dokkae6949 closed 3 months ago

Dokkae6949 commented 6 months ago

Output of home-manager switch:

warning: Git tree '/home/kurisu/NixOS' is dirty
error: builder for '/nix/store/bccw3jk0hkg0g6v3qjg8cx536v9ga09w-vscode-extension-oracle-oracledevtools-21.8.0.drv' failed with exit code 1;
       last 3 log lines:
       > unpacking sources
       > unpacking source archive /nix/store/javnnm6lvbkjpn87ciipdlvr796ci4d7-oracledevtools-21.8.0.zip
       > unpacker produced multiple directories
       For full logs, run 'nix log /nix/store/bccw3jk0hkg0g6v3qjg8cx536v9ga09w-vscode-extension-oracle-oracledevtools-21.8.0.drv'.
error: 1 dependencies of derivation '/nix/store/9qb7lgra7pirly6mpw6n39dyfy5msqbp-hm_.vscodeextensions.extensionsimmutable.json.drv' failed to build
error: 1 dependencies of derivation '/nix/store/8mq63gvz8n1qi4542bkwqp2qak24q1z7-home-manager-files.drv' failed to build
error: 1 dependencies of derivation '/nix/store/y157df1sfnnn3z8flgiadc1qzi2621dn-home-manager-generation.drv' failed to build

Here my shortened flake.nix:

inputs.nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions";

outputs = {...}@inputs {
  overlays = [ inputs.nix-vscode-extensions.overlays.default ];
};

pkgs = import nixpkgs {
  inherit overlays;
};

And here my shortened home.nix:

programs.vscode = {
  enable = true;
  extensions = with pkgs-stable.vscode-marketplace; [
    oracle.oracledevtools # <--- This does not work
    catppuccin.catppuccin-vsc # <--- This works
  ];
};

I'm really not sure where to even start looking so if anyone got an idea.. that would be great :) If you need any additional information just ask me.

deemp commented 5 months ago

Hi! Sorry for a late answer. Please, have a look at https://github.com/nix-community/nix-vscode-extensions/issues/31.

deemp commented 3 months ago

@Dokkae6949, do you still have this problem?

Dokkae6949 commented 3 months ago

I don't quite remember. But I think I just installed it directly from the store and patched it manually

deemp commented 3 months ago

Okay. If the patch was non-trivial, please consider adding it to overrides.nix (link) and making a PR.