Use unstable package until target version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_: pkgs: | |
let | |
unstable = import <unstable> { overlays = [ ]; }; | |
overrideUntilVersion = p: v: (if pkgs ? ${p} && pkgs.lib.versionAtLeast pkgs.${p}.version v then pkgs else unstable).${p}; | |
in | |
builtins.mapAttrs overrideUntilVersion { | |
aws-sam-cli = "1.52.0"; | |
darktable = "4.0.0"; | |
efficient-compression-tool = "0.9.1"; | |
kitty = "0.25.2"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment