Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/earldouglas/derivations

A collection of Nix derivations
https://github.com/earldouglas/derivations

Last synced: 12 days ago
JSON representation

A collection of Nix derivations

Awesome Lists containing this project

README

        

# Usage

## nix-env

```
$ nix-env -i -f ./vim/unison/default.nix
$ nix-env -i -f ./vim/unison/unison.nix
```

## nix-shell

```
$ nix-shell ./vim/unison/shell.nix
```

## NixOS

*configuration.nix:*

```nix
let

derivations =
pkgs.fetchFromGitHub {
owner = "earldouglas";
repo = "derivations";
rev = "816ff78c3da0f90b07eafd174a386c8f885cf14a";
sha256 = "13sy7axxj6517iqkidq3s132adk4s217mm7i7ni92fh7p89scd2a";
};

vim-unison = import (derivations + "/vim/unison/default.nix") {};
unison-nix = import (derivations + "/vim/unison/unison.nix") {};

in {

environment.systemPackages = [
vim-unison
unison-nix.unison-ucm
];

}
```