This seems to be one way to go about it

This commit is contained in:
Benson Chu 2024-07-13 18:13:27 -05:00
parent f970fc1583
commit 3e07b832c8
5 changed files with 47 additions and 5 deletions

View file

@ -2,6 +2,7 @@
nix-index
home-manager
nil
nvfetcher
gcc
git

View file

@ -12,11 +12,9 @@ let
# '';
# };
bash-drv = builtins.fetchGit {
url = "https://github.com/pestctrl/bash-config";
ref = "master";
rev = "f88071e92523a271dd553a20e60c8afaaf2dae0b";
};
bash-drv = (import ../../nvfetch/_sources/generated.nix {
inherit (pkgs) fetchurl fetchgit fetchFromGitHub dockerTools;
}).bash-config.src;
in
{
options = {

View file

@ -0,0 +1,22 @@
{
"bash-config": {
"cargoLocks": null,
"date": "2024-07-13",
"extract": null,
"name": "bash-config",
"passthru": null,
"pinned": false,
"src": {
"deepClone": false,
"fetchSubmodules": false,
"leaveDotGit": false,
"name": null,
"owner": "pestctrl",
"repo": "bash-config",
"rev": "f88071e92523a271dd553a20e60c8afaaf2dae0b",
"sha256": "sha256-+gQ28icbsv2+Jmxvm02OYWKCuFqtUoAdjDmWt3YgjKI=",
"type": "github"
},
"version": "f88071e92523a271dd553a20e60c8afaaf2dae0b"
}
}

View file

@ -0,0 +1,16 @@
# This file was generated by nvfetcher, please do not modify it manually.
{ fetchgit, fetchurl, fetchFromGitHub, dockerTools }:
{
bash-config = {
pname = "bash-config";
version = "f88071e92523a271dd553a20e60c8afaaf2dae0b";
src = fetchFromGitHub {
owner = "pestctrl";
repo = "bash-config";
rev = "f88071e92523a271dd553a20e60c8afaaf2dae0b";
fetchSubmodules = false;
sha256 = "sha256-+gQ28icbsv2+Jmxvm02OYWKCuFqtUoAdjDmWt3YgjKI=";
};
date = "2024-07-13";
};
}

View file

@ -0,0 +1,5 @@
[bash-config]
src.git = "https://github.com/pestctrl/bash-config"
src.branch = "master"
# fetch.git = "https://github.com/pestctrl/bash-config"
fetch.github = "pestctrl/bash-config"