Share your repls and programming experiences

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

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:

cd NixPM && sh build.sh && cd ..

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

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

Comments
hotnewtop
ChopSueyMaster (50)

So glad to see actual good projects on replit.

Codemonkey51 (1057)

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

AmazingMech2418 (1082)

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

Codemonkey51 (1057)

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

sojs (341)

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

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

AmazingMech2418 (1082)

@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 (187)

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

AmazingMech2418 (1082)

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

ANDREWVOSS (187)

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

AmazingMech2418 (1082)

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

DynamicSquid (4899)

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

AmazingMech2418 (1082)

@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 (18109)

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

AmazingMech2418 (1082)

@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.