let fetched = import { url = "https://github.com/NixOS/nixpkgs/tarball/e94a84a144b83eebfcfb33ac3315c01d0d4b3a0a"; hash = "sha256:0s94ygwgkzk1i4gafc51i10j99yc2qba98mg5lb89nsg24xm31lp"; }; config = import ; in derivation { name = "nixpkgs"; system = builtins.currentSystem; builder = config.shell; args = [ "-c" "${config.gzip} -d < ${fetched} | ${config.tar} -xf - --one-top-level=$out --strip-components=1" ]; chrootDeps = config.chrootDeps; }