Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bolasblack/nix-overlay
- Owner: bolasblack
- Created: 2020-04-15T06:54:25.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-29T21:37:35.000Z (4 months ago)
- Last Synced: 2024-11-10T03:36:32.244Z (2 months ago)
- Language: Nix
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)