about summary refs log tree commit diff stats
path: root/pkgs/standalone_pkgs.nix
blob: 1eeaad3770d56f13007b3e52e9e9cdff9b6794c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# `nix-update` wants a entry point similar to `release.nix`.
# This means that we have to fetch our dependencies on our own.
{}: let
  get = input: import (builtins.fetchTree input.locked).outPath {};

  lock = (builtins.fromJSON (builtins.readFile ../flake.lock)).nodes;
  pkgs = get lock.nixpkgs;
  pkgsUnstable = get lock.nixpkgs-unstable;
  nixLib = get lock.library;
in
  import ./default.nix {inherit pkgs pkgsUnstable nixLib;}