callPackage Lix instead of overriding Nixpkgs' Nix #17
Loading…
Reference in a new issue
No description provided.
Delete branch "qyriad/nixos-module:call-package"
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?
This is hopefully more robust, and plays nicer with the soon-to-be switch to Meson
@ -20,0 +22,4 @@
}).overrideAttrs {
# Note: load-bearing version override. Nixpkgs does version detection to determine
# what commands and whatnot we support, so tell Nixpkgs that we're 2.18 (ish).
version = "2.18.3-lix${versionSuffix}";
are you sure you don't need VERSION_SUFFIX in here to make the thing actually do the right thing? i think the one here might not have correct nix --version output (in particular, would not have the date) without that.
Sorry I wasn't paying close enough attention, you definitely have to override
VERSION_SUFFIX
still since it's set by the same thing that we're overriding forversion
hereVERSION_SUFFIX
is set toversionSuffix
in Lix:VERSION_SUFFIX = versionSuffix;
On our system with this module, this is output of
nix --version
:lgtm then, if we have confirmed it works properly
Hopefully nothing should blow up 😅