Skip to content

Instantly share code, notes, and snippets.

@kalbasit
Created January 25, 2021 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kalbasit/22d63a8ffed0e476403c8df8a40760f3 to your computer and use it in GitHub Desktop.
Save kalbasit/22d63a8ffed0e476403c8df8a40760f3 to your computer and use it in GitHub Desktop.
nix.package = pkgs.nixFlakes.overrideAttrs(oa: {
patches = (oa.patches or []) ++ [pkgs.fetchpatch{
url = "https://github.com/NixOS/nix/commit/c5b42c5a42138329c6d02da0d8a53cb59c6077f4.patch";
sha256 = "0000000000000000000000000000000000000000000000000000000000000000";
}];
});
// I get:
at: (33:14) in file: /nix/store/ijn6dfjxvxdwkhnf7l0nkik7mrjx1lj7-source/pkgs/tools/package-management/nix/default.nix
32| nix = stdenv.mkDerivation rec {
33| inherit name src;
| ^
34| version = lib.getVersion name;
cannot coerce a set to a string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment