flake: remove flake-utils #70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "llakala/nixos-module:no-flake-utils"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Less
flake.lockbloat.A few questions:
inputsandpkgsare both currently provided as flake inputs. Is that necessary? It seems a little silly.flake-utils317b471beaWe might in the future put the QA stuff into a separate directory like our flake-compat does. Otherwise this looks fine(tm), though I've not tested it yet.
re-eval of nixpkgs when evaluating multiple attrs is not ideal, but fixing it is pretty easy.
@ -15,0 +25,4 @@"aarch64-linux"];forAllSystems = func:it doesn't matter that much here but we probably should use a pattern that doesn't reevaluate nixpkgs for every usage. what i would advise is genAttrs outside this function to make an attrset
pkgsFor, which you then access the pkgs for the system in. this means that you memoize the nixpkgs import. then this function is justf: mapAttrs (system: pkgs: f pkgs) pkgsFor@ -15,3 +38,4 @@in{inherit inputs;pkgs = forAllSystems (pkgs: pkgs);that doesn't look rightoh, okay, it's just funny looking. i guess you could use nixpkgs.lib.id here, but shrug.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.