mirror of
https://github.com/gytis-ivaskevicius/flake-utils-plus.git
synced 2024-09-11 08:05:47 +03:00
🐛 Check all attributes for devshell legacyPackages
This commit is contained in:
parent
2bf0f91643
commit
7a8d789d4d
@ -205,7 +205,7 @@ mergeAny otherArguments (
|
||||
|
||||
# Little hack, we make sure that `legacyPackages` contains `nix` to make sure that we are dealing with nixpkgs.
|
||||
# For some odd reason `devshell` contains `legacyPackages` out put as well
|
||||
channelFlakes = filterAttrs (_: value: value ? legacyPackages && value.legacyPackages.x86_64-linux ? nix) inputs;
|
||||
channelFlakes = filterAttrs (_: value: value ? legacyPackages && value.legacyPackages ? x86_64-linux && value.legacyPackages.x86_64-linux ? nix) inputs;
|
||||
channelsFromFlakes = mapAttrs (name: input: { inherit input; }) channelFlakes;
|
||||
|
||||
importChannel = name: value: (import (patchChannel system value.input (value.patches or [ ])) {
|
||||
|
Loading…
Reference in New Issue
Block a user