Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/litsynp/nix-practice


https://github.com/litsynp/nix-practice

Last synced: about 10 hours ago
JSON representation

Awesome Lists containing this project

README

        

# nix-practice

## How to enter Nix container

```sh
$ make run
```

## Nix

Inside the container, you can run the following commands:

```sh
$ nix-shell # Enter the nix shell
```

```sh
$ nix-repl # Enter the nix repl
```

```sh
$ echo 1 + 2 > file.nix
$ nix-instantiate --eval # Evaluate default.nix
$ nix-instantiate --eval file.nix # Evaluate expression in the specified Nix file
$ nix-instantiate --eval --strict file.nix # Evaluate expression in the specified Nix file, fully evaluated
```