rix101/nixpkgs.nix
reo101 be2bb504d9 feat(config): initial
Based on `cce47e4df5/standard`
Adds (experimental) support for `nix-on-droid` and `nix-on-darwin`
Includes support for multiple hosts of each base
Adds config for `cheetah` on `nix-on-droid`
2022-11-20 17:23:58 +02:00

8 lines
368 B
Nix

# A nixpkgs instance that is grabbed from the pinned nixpkgs commit in the lock file
# This is useful to avoid using channels when using legacy nix commands
let lock = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.nixpkgs.locked;
in
import (fetchTarball {
url = "https://github.com/nixos/nixpkgs/archive/${lock.rev}.tar.gz";
sha256 = lock.narHash;
})