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 sources.nix generation compatible with nixpkgs-fmt #212

Open
lovesegfault opened this issue Mar 5, 2020 · 4 comments
Open

Make sources.nix generation compatible with nixpkgs-fmt #212

lovesegfault opened this issue Mar 5, 2020 · 4 comments

Comments

@lovesegfault
Copy link

It almost is, the only changes it tries to apply are these:

diff --git a/nix/sources.nix b/nix/sources.nix
index 8a725cb..5b27300 100644
--- a/nix/sources.nix
+++ b/nix/sources.nix
@@ -1,7 +1,5 @@
 # This file has been generated by Niv.
-
 let
-
   #
   # The fetchers. fetch_<type> fetches specs of type <type>.
   #
@zimbatm
Copy link
Contributor

zimbatm commented Mar 6, 2020

note that nixpkgs-fmt isn't stable yet, the format is still evolving until the 1.0 is released.

@nmattia
Copy link
Owner

nmattia commented Mar 27, 2020

@zimbatm is there an ETA for 1.0? @lovesegfault we're currently nixpkgs-fmt-ing it, but with an older version...

@zimbatm
Copy link
Contributor

zimbatm commented Mar 27, 2020

the ETA was last week :) we are running into complications with the core engine. giving it 2 more weeks from now.

@nmattia
Copy link
Owner

nmattia commented Aug 22, 2020

Hey @lovesegfault, would love your feedback on #272. The --light template should alleviate the issue.

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

3 participants