mirror of
https://github.com/vale981/phoebe
synced 2025-03-05 17:51:43 -05:00
18 lines
326 B
Nix
18 lines
326 B
Nix
{ pkgs ? import <nixpkgs> {}
|
|
}:
|
|
|
|
with pkgs.lib;
|
|
|
|
let
|
|
callPackage = f:
|
|
let json = removeAttrs (importJSON f) ["date"];
|
|
in callPackageWith attrs "${pkgs.fetchgit json}/default.nix";
|
|
|
|
attrs = {
|
|
inherit pkgs;
|
|
|
|
# Useful backup scripts.
|
|
backup-scripts = callPackage ./backup-scripts.json { };
|
|
};
|
|
|
|
in attrs
|