Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bolasblack/nix-overlay

my nix overlay
https://github.com/bolasblack/nix-overlay

Last synced: 11 days ago
JSON representation

my nix overlay

Awesome Lists containing this project

README

        

# c4605's nix overlay

## Included

* https://github.com/nix-community/emacs-overlay
* [pre-commit](https://pre-commit.com/)
* [asdf-vm](https://asdf-vm.com/)
* [fn](https://fnproject.io/)

## How to install

### local

To install the overlay into `~/.config/nixpkgs/overlays` just run:

./install.sh

now you can test your builds using:

nix-shell -p

### global

add the following to your `/etc/nixos/configuration.nix`:

nixpkgs.config.packageOverrides = import /path/to/overlay.nix pkgs;

now you can install the packages from the overlay

environment.systemPackages = with pkgs; [

];

## Development tips

### How to check builds

nix-build -E 'with import {} ; callPackage ./default.nix {}';

should create a `./result` folder which contains the result of the package.

### How to get a sha256 hash

```bash
nix-shell -p nix-prefetch --run "nix-prefetch fetchurl --urls --expr '[ ]'"
```

# Links

* [mrVanDalo/nix-overlay](https://github.com/mrVanDalo/nix-overlay) (Where this README modified from)
* [A presentation about Overlays](https://www.youtube.com/watch?v=6bLF7zqB7EM&feature=youtu.be&t=39m50s)
* [Package Binaries](https://nixos.wiki/wiki/Packaging_Binaries)