-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
21 lines (18 loc) · 935 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# https://discourse.nixos.org/t/fixing-error-attribute-currentsystem-missing-in-flake/22386/7
{ system ? "x86_64-linux", pkgs ? import (fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/9b19f5e77dd906cb52dade0b7bd280339d2a1f3d.tar.gz";
sha256 = "0939vbhln9d33xkqw63nsk908k03fxihj85zaf70i3il9z42q8mc";
}) { inherit system; }, ... }:
with pkgs;
let
packages = rec {
bayon = pkgs.callPackage ./pkgs/fonts/bayon {};
dripicons = pkgs.callPackage ./pkgs/fonts/dripicons {};
kenney-fonts = pkgs.callPackage ./pkgs/fonts/kenney-fonts {};
major-mono-display = pkgs.callPackage ./pkgs/fonts/major-mono-display {};
typewithpride = pkgs.callPackage ./pkgs/fonts/typewithpride {};
vercetti = pkgs.callPackage ./pkgs/fonts/vercetti {};
inherit pkgs; # similar to `pkgs = pkgs;` This lets callers use the nixpkgs version defined in this file.
};
in
packages