tweag / store-graph

simple haskell code that builds a graph from the nix store
BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

Cleanup use of lib attribute from pkgs #1

Closed bhipple closed 3 years ago

bhipple commented 5 years ago

We define lib in the let binding, so we can just use it rather than say pkgs.lib. This also makes it slightly easier for someone to modify the file to build a pkgs that does not contain a lib attribute.