Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makerdao/makerpkgs
Common nixpkgs
https://github.com/makerdao/makerpkgs
Last synced: 3 months ago
JSON representation
Common nixpkgs
- Host: GitHub
- URL: https://github.com/makerdao/makerpkgs
- Owner: makerdao
- License: agpl-3.0
- Archived: true
- Created: 2019-05-16T15:41:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-03T16:09:47.000Z (over 2 years ago)
- Last Synced: 2024-04-06T06:35:16.244Z (7 months ago)
- Language: Nix
- Homepage:
- Size: 78.1 KB
- Stars: 8
- Watchers: 12
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-smart-contract-development - Maker Nix Packages
README
# Maker Nix Packages
`makerpkgs` is a Nix package set with common Maker tools.
## Usage
### Adding binary cache
Add the Maker Nix build cache for faster install times:
```sh
nix run nixpkgs.cachix -c cachix use maker
```### Installing a program from makerpkgs
List `makerpkgs` specific packages:
```sh
nix-env -f https://github.com/makerdao/makerpkgs/tarball/master --description \
-qaPA makerpkgs
```Search for a package:
```sh
nix search -f https://github.com/makerdao/makerpkgs/tarball/master seth
```Installing `seth` from `makerpkgs`:
```sh
nix-env -f https://github.com/makerdao/makerpkgs/tarball/master -iA seth
```List available `dapptools` versions:
```sh
nix-env -f https://github.com/makerdao/makerpkgs/tarball/master --description \
-qaPA dappSources
```Versions are then available under the path `dappPkgsVersions.`.
Installing `seth` from `dapptools` version `0.26.0`:
```sh
nix-env -f https://github.com/makerdao/makerpkgs/tarball/master \
-iA dappPkgsVersions.dapp-0_26_0.seth
```### Using makerpkgs in another Nix expression
Put the following at the top of your `default.nix`:
```nix
{ pkgs ? import (fetchTarball "https://github.com/makerdao/makerpkgs/tarball/master") {}
}:
```**Recommended**: Pin a package set at a certain revision by specifying the
commit hash you wish to pin it at:```nix
{ pkgs ? import (fetchTarball "https://github.com/makerdao/makerpkgs/tarball/86958dbb74d0f2e5a22bc0f397fe943140dfef41") {}
}:
```