nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (611B)


      1 # This file describes your repository contents.
      2 # It should return a set of nix derivations
      3 # and optionally the special attributes `lib`, `modules` and `overlays`.
      4 # It should NOT import <nixpkgs>. Instead, you should take pkgs as an argument.
      5 # Having pkgs default to <nixpkgs> is fine though, and it lets you use short
      6 # commands such as:
      7 #     nix-build -A mypackage
      8 
      9 {
     10   pkgs ? import <nixpkgs> { },
     11 }:
     12 
     13 {
     14   # The `lib`, `modules`, and `overlay` names are special
     15   modules = import ./modules; # NixOS modules
     16 }
     17 // (pkgs.lib.optionalAttrs (builtins.tryEval pkgs).success (import ./pkgs { inherit pkgs; }))