cuemata/nixpkgs.nix
Hoang Nguyen 0041771955
Initial commit
There is nothing here yet, just boilerplate code -_-
2023-12-10 00:00:00 +07:00

17 lines
495 B
Nix

# SPDX-FileCopyrightText: 2023 Hoang Nguyen <folliekazetani@protonmail.com>
#
# SPDX-License-Identifier: Apache-2.0
# NOTE: this file is used solely to register <nixpkgs> into `rules_nixpkgs`
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
src = lock.nodes.nixpkgs.locked;
nixpkgs =
assert src.type == "github";
fetchTarball {
url = "https://github.com/${src.owner}/${src.repo}/archive/${src.rev}.tar.gz";
sha256 = src.narHash;
};
in
import nixpkgs