Skip to content
← Back to Community
How do you get nix to run a package?
Profile icon
h
has Hacker Plan
Mathman05

I've been trying to get nix to work and I can't seem to get it working at all. anyone know how to get nix packages working?

Voters
Profile icon
Mathman05
Comments
hotnewtop
Profile icon
JonkPank

I have the same question; I created a repo with a super simple nix config, but Replit is completely ignoring it.

Profile icon
SixBeeps

Does adding them to the dependencies list in the config not work?

Profile icon
Mathman05

@SixBeeps I don't know how to get anything working really, I tried adding it to one of the files and it just didn't help. although chances are I did it incorectly.

Profile icon
SixBeeps

@Mathman05 Definitely give the docs a read, they explain everything you need to know about Nix on Replit. You need to set up a config file with a list of packages which will get installed when you run the program.

Profile icon
Flyingcrabs

side bar there is the package button click it and type your package then click the green install button and you installed it

Profile icon
Mathman05

@Flyingcrabs if I didn't say in the main post nix packages from this website https://nixos.org/