mirror of
https://github.com/vale981/phoebe
synced 2025-03-06 02:01:42 -05:00
19 lines
326 B
Nix
19 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
|