15 lines
515 B
Nix
15 lines
515 B
Nix
{ system ? builtins.currentSystem }:
|
|
|
|
let
|
|
pkgs = import <nixpkgs> { inherit system; };
|
|
# pkgs = import (builtins.fetchTarball {
|
|
# name = "nixos-unstable-2021-05-26";
|
|
# url = "https://github.com/nixos/nixpkgs/archive/9b7fb215d4d8399772a4f3d6f00fab3747136f53.tar.gz";
|
|
# sha256 = "02d1841j7jg161q7cwh7vryxhv7x3bmnhd1jczx14ggfa66vqfhm";
|
|
# }) { inherit system; };
|
|
callPackage = pkgs.lib.callPackageWith ( pkgs // self );
|
|
self = {
|
|
gallery-tagger = callPackage ./gallery-tagger {};
|
|
};
|
|
in self
|
|
|