Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NixOS flake build failure #294

Open
Tofixrs opened this issue Nov 1, 2024 · 4 comments
Open

NixOS flake build failure #294

Tofixrs opened this issue Nov 1, 2024 · 4 comments

Comments

@Tofixrs
Copy link

Tofixrs commented Nov 1, 2024

Cant build the package on nixos. Gives me this errror:

 error: attempt to call something which is not a function but a set: { type = "derivation"; __ignoreNulls = true; __structuredAttrs = «thunk»; all = «thunk»; args = «thunk»; buildInputs = «thunk»; builder = «thu
nk»; cmakeFlags = «thunk»; configureFlags = «thunk»; depsBuildBuild = «thunk»; «32 attributes elided» }
       at /nix/store/412wdkdhx8w1ig59cc1l4w2j9knly60k-source/nix/overlays.nix:49:19:
           48|   sdbus-cpp_2 = final: prev: {
           49|     sdbus-cpp_2 = prev.sdbus-cpp_2 or final.sdbus-cpp.overrideAttrs (self: _: {
             |                   ^
           50|       version = "2.0.0";
@fufexan
Copy link
Member

fufexan commented Nov 1, 2024

Do you override the Nixpkgs input of the xdph flake?

@fufexan
Copy link
Member

fufexan commented Nov 1, 2024

I built the latest main just fine, with no modifications.

@TheSunCat
Copy link

I can repro this using the hyprland flake, both with and without overriding the nixpkgs input:

    hyprland = {
      url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
      inputs.nixpkgs.follows = "nixpkgs";
    };

@fufexan
Copy link
Member

fufexan commented Nov 4, 2024

Should be fixed as of a few minutes ago.

Also @TheSunCat you can revert back to using url = "github:hyprwm/Hyprland".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants