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

Nix flake broken #153

Closed
wrocketdev opened this issue Aug 18, 2024 · 6 comments
Closed

Nix flake broken #153

wrocketdev opened this issue Aug 18, 2024 · 6 comments
Labels
bug Something isn't working High Priority nix for issues and pull requested related to Nix

Comments

@wrocketdev
Copy link

I think the fact that the default.nix file has been moved to a subfolder is breaking the buildPhase.

Running phase: buildPhase
error: ModuleNotFound resolving "./main.ts" (entry point)

Can you look into it ?

Thanks (:

@Jas-SinghFSU Jas-SinghFSU added bug Something isn't working High Priority labels Aug 19, 2024
@orangci
Copy link
Collaborator

orangci commented Aug 20, 2024

image
Interesting

@Jas-SinghFSU
Copy link
Owner

@wrocketdev @orxngc Does this work if you change it to ../main.ts?

@orangci
Copy link
Collaborator

orangci commented Aug 20, 2024

Does this work if you change it to ../main.ts?

No.

image

@Jas-SinghFSU
Copy link
Owner

Jas-SinghFSU commented Aug 20, 2024

Sorry, what if you change the src?

  pname = "hyprpanel";
  config = stdenv.mkDerivation {
    inherit pname;
    version = "latest";
  // Changed the source from ./. to ../.
    src = ../.;

It's great fun debugging nix without having nix installed 🙃

This was referenced Aug 20, 2024
@orangci
Copy link
Collaborator

orangci commented Aug 20, 2024

That does work, actually. #158

@Jas-SinghFSU
Copy link
Owner

Closed by #158

@orangci orangci added the nix for issues and pull requested related to Nix label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working High Priority nix for issues and pull requested related to Nix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants