summaryrefslogtreecommitdiff
path: root/templates/standard/default.nix
blob: f2b202845fc2f2a6bf0cee624fad6180bb7a8423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  pkgs ? import nixpkgs {
    inherit system;
    config = { };
    overlays = [ ];
  },
  nixpkgs ? <nixpkgs>,
  system ? builtins.currentSystem,
}:

let
  inherit (pkgs) lib;

  callPackage = lib.callPackageWith (pkgs // pkgs');

  pkgs' = {
    hello = callPackage ./nix/package.nix { };
  };
in

pkgs'