-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
Expand file tree
/
Copy pathpkgs.nix
More file actions
21 lines (21 loc) · 651 Bytes
/
pkgs.nix
File metadata and controls
21 lines (21 loc) · 651 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
arg:
let
repo = "https://github.com/NixOS/nixpkgs";
rev = "832efc09b4caf6b4569fbf9dc01bec3082a00611";
nixpkgs = import (builtins.fetchTarball {
url = "${repo}/archive/${rev}.tar.gz";
sha256 = "1sxhlp1khk9ifh24lcg5qland4pg056l5jhyfw8xq3qmpavf390x";
}) arg;
in
nixpkgs
// {
nixfmt-tree = nixpkgs.nixfmt-tree.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [
(nixpkgs.fetchpatch2 {
url = "https://github.com/numtide/treefmt/commit/b96016b4e38ffc76518087b3b0c9bbfa190d5225.patch?full_index=1";
revert = true;
hash = "sha256-DcxT2OGPX6Kmxhqa56DjZsSh2hoyhPyVmE17ULeryv8=";
})
];
});
}