Share your repls and programming experiences

← Back to all posts
NixPM - First Repl.it Nix Package Manager!
AmazingMech2418

NixPM

Welcome to NixPM!

NixPM is a new package manager to handle Nix packages on Nix repls!

NixPM currently runs on the command line, using the command nixpm which will be on your path once you compile.

Since it installs directly on your path, you will have to build every time you reload, but to build, simply use the following shell command:

Then, you can run nixpm --help and start using NixPM!

NixPM can also be found on GitHub at https://github.com/AmazingMech2418/NixPM

Voters
piphi
Kai_Justice
JBloves27
programmeruser
ChopSueyMaster
sojs
ANDREWVOSS
ch1ck3n
RayhanADev
DynamicSquid
Comments
hotnewtop
ChopSueyMaster

So glad to see actual good projects on replit.

AmazingMech2418

@ChopSueyMaster Thank you!

Codemonkey51

Isn't nix a package manager itself tho ._.
Also great job

AmazingMech2418

@Codemonkey51 Technically, but this helps you manage the Nix packages to be included with Nix. LOL!

Codemonkey51

Lol! Also haven't seen u on here in a while @AmazingMech2418

AmazingMech2418

@Codemonkey51 Yeah! LOL!

sojs

Is it problematic that I have no idea what "nix" is.....?

and also sorry NPM already exists otherwise you could have used that.

AmazingMech2418

@sojs Nix is a new repl type similar to polygott, but it has access to NixOS packages, allowing more packages to be installed than under normal install-pkg.

And yeah. LOL!

ANDREWVOSS

Awesome! I might even use this on my own computer.

AmazingMech2418

@ANDREWVOSS Thank you! Though, this will only work on Repl.it since Nix repls are Repl.it-only.

ANDREWVOSS

@AmazingMech2418 Really? I thought you could run Nix on Linux normally.

AmazingMech2418

@ANDREWVOSS You can, but this is specifically for Repl.it versions. Otherwise, it would probably be best to just permanently install the Nix packages...

RayhanADev

✨ Awesome ✨!

AmazingMech2418

@RayhanADev Thank you!

DynamicSquid

Awesome! I think Replit is moving away from Polygott and into Nix, so that's also really cool

AmazingMech2418

@DynamicSquid Thank you! Yeah, I think so too! It would definitely help ease their server load at least! LOL! But there are some languages that will need to stay or be made Polygott currently due to compatibility issues (for example, Ada doesn't work in Nix), but otherwise, I think Nix is the future of Repl.it!

Coder100

nice!

AmazingMech2418

@Coder100 Thank you!

Coder100

nix doesn't exactly have a good tutorial, any place where I can learn its syntax? @AmazingMech2418

AmazingMech2418

@Coder100 Do you mean for creating Nix packages or for the Nix repl? For the Nix repl, https://blog.replit.com/nix, but if for Nix packages, I'm not quite sure yet.