Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make adding new sources to nix files easier #52

Open
expipiplus1 opened this issue Nov 19, 2020 · 0 comments
Open

Make adding new sources to nix files easier #52

expipiplus1 opened this issue Nov 19, 2020 · 0 comments

Comments

@expipiplus1
Copy link
Owner

expipiplus1 commented Nov 19, 2020

At the moment one has to type out all of

{
src = pkgs.fetchFromGitHub {
  owner = "foo";
  repo = "bar";
  rev = _;
  sha256 = _;
};
}

and then run update-nix-fetchgit in that location. But that's a lot of typing just to tell unf "foo/bar".

Perhaps it would be a good idea to have unf be able to replace the following with the fetch expression:

{
src = "github:foo/bar";

# or
taggedSrc = "github:foo/bar"; # my-tag
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant