├── .gitignore ├── LICENSE ├── README.org ├── Setup.hs ├── app └── Main.hs ├── example └── nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4 │ ├── find-fixed-outputs-pp.json │ ├── get-all.sh │ ├── instantiate-release-combined-recursive.json │ ├── nix-env-ofborg-outpaths.txt │ ├── realise-fixed-and-download-nars.sh │ ├── realise-fixed-only.sh │ └── store-paths ├── find-fixed-outputs.nix ├── ofborg-outpaths.nix ├── package.yaml ├── src ├── Download │ └── Nix │ │ ├── All.hs │ │ ├── BinaryCache.hs │ │ ├── Common.hs │ │ ├── NarInfos.hs │ │ ├── Nars.hs │ │ └── Realise.hs ├── System │ └── Nix │ │ ├── Base32.hs │ │ ├── Derivation.hs │ │ ├── EnvDrvInfo.hs │ │ ├── FixedOutput.hs │ │ ├── NarInfo.hs │ │ ├── NixToolsProc.hs │ │ ├── StoreNames.hs │ │ └── StoreTuple.hs └── Utils.hs ├── stack.yaml ├── test-data ├── 003jhgnff2dwnz4j23wsqhzx9mdbxrqx-bad1.narinfo ├── 003jhgnff2dwnz4j23wsqhzx9mdbxrqx-bad2.narinfo ├── 003jhgnff2dwnz4j23wsqhzx9mdbxrqx-bad3.narinfo ├── 003jhgnff2dwnz4j23wsqhzx9mdbxrqx-empty-references.narinfo ├── 003jhgnff2dwnz4j23wsqhzx9mdbxrqx-no-deriver.narinfo ├── 003jhgnff2dwnz4j23wsqhzx9mdbxrqx.narinfo ├── show-derivation-1-bad-prefix.json ├── show-derivation-1.json └── store-paths-few └── test ├── Expected.hs └── Test.hs /.gitignore: -------------------------------------------------------------------------------- 1 | .stack-work/ 2 | nix-mirror.cabal 3 | *~ 4 | dist-newstyle 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/LICENSE -------------------------------------------------------------------------------- /README.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/README.org -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /app/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/app/Main.hs -------------------------------------------------------------------------------- /example/nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4/find-fixed-outputs-pp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/example/nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4/find-fixed-outputs-pp.json -------------------------------------------------------------------------------- /example/nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4/get-all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/example/nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4/get-all.sh -------------------------------------------------------------------------------- /example/nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4/instantiate-release-combined-recursive.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/example/nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4/instantiate-release-combined-recursive.json -------------------------------------------------------------------------------- /example/nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4/nix-env-ofborg-outpaths.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/example/nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4/nix-env-ofborg-outpaths.txt -------------------------------------------------------------------------------- /example/nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4/realise-fixed-and-download-nars.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/example/nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4/realise-fixed-and-download-nars.sh -------------------------------------------------------------------------------- /example/nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4/realise-fixed-only.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/example/nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4/realise-fixed-only.sh -------------------------------------------------------------------------------- /example/nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4/store-paths: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/example/nixos-20.03.f45ccd9d20b4e90e43c4562b9941ea1dbd8f07a4/store-paths -------------------------------------------------------------------------------- /find-fixed-outputs.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/find-fixed-outputs.nix -------------------------------------------------------------------------------- /ofborg-outpaths.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/ofborg-outpaths.nix -------------------------------------------------------------------------------- /package.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/package.yaml -------------------------------------------------------------------------------- /src/Download/Nix/All.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/Download/Nix/All.hs -------------------------------------------------------------------------------- /src/Download/Nix/BinaryCache.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/Download/Nix/BinaryCache.hs -------------------------------------------------------------------------------- /src/Download/Nix/Common.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/Download/Nix/Common.hs -------------------------------------------------------------------------------- /src/Download/Nix/NarInfos.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/Download/Nix/NarInfos.hs -------------------------------------------------------------------------------- /src/Download/Nix/Nars.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/Download/Nix/Nars.hs -------------------------------------------------------------------------------- /src/Download/Nix/Realise.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/Download/Nix/Realise.hs -------------------------------------------------------------------------------- /src/System/Nix/Base32.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/System/Nix/Base32.hs -------------------------------------------------------------------------------- /src/System/Nix/Derivation.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/System/Nix/Derivation.hs -------------------------------------------------------------------------------- /src/System/Nix/EnvDrvInfo.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/System/Nix/EnvDrvInfo.hs -------------------------------------------------------------------------------- /src/System/Nix/FixedOutput.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/System/Nix/FixedOutput.hs -------------------------------------------------------------------------------- /src/System/Nix/NarInfo.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/System/Nix/NarInfo.hs -------------------------------------------------------------------------------- /src/System/Nix/NixToolsProc.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/System/Nix/NixToolsProc.hs -------------------------------------------------------------------------------- /src/System/Nix/StoreNames.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/System/Nix/StoreNames.hs -------------------------------------------------------------------------------- /src/System/Nix/StoreTuple.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/System/Nix/StoreTuple.hs -------------------------------------------------------------------------------- /src/Utils.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/src/Utils.hs -------------------------------------------------------------------------------- /stack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/stack.yaml -------------------------------------------------------------------------------- /test-data/003jhgnff2dwnz4j23wsqhzx9mdbxrqx-bad1.narinfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/test-data/003jhgnff2dwnz4j23wsqhzx9mdbxrqx-bad1.narinfo -------------------------------------------------------------------------------- /test-data/003jhgnff2dwnz4j23wsqhzx9mdbxrqx-bad2.narinfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/test-data/003jhgnff2dwnz4j23wsqhzx9mdbxrqx-bad2.narinfo -------------------------------------------------------------------------------- /test-data/003jhgnff2dwnz4j23wsqhzx9mdbxrqx-bad3.narinfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/test-data/003jhgnff2dwnz4j23wsqhzx9mdbxrqx-bad3.narinfo -------------------------------------------------------------------------------- /test-data/003jhgnff2dwnz4j23wsqhzx9mdbxrqx-empty-references.narinfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/test-data/003jhgnff2dwnz4j23wsqhzx9mdbxrqx-empty-references.narinfo -------------------------------------------------------------------------------- /test-data/003jhgnff2dwnz4j23wsqhzx9mdbxrqx-no-deriver.narinfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/test-data/003jhgnff2dwnz4j23wsqhzx9mdbxrqx-no-deriver.narinfo -------------------------------------------------------------------------------- /test-data/003jhgnff2dwnz4j23wsqhzx9mdbxrqx.narinfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/test-data/003jhgnff2dwnz4j23wsqhzx9mdbxrqx.narinfo -------------------------------------------------------------------------------- /test-data/show-derivation-1-bad-prefix.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/test-data/show-derivation-1-bad-prefix.json -------------------------------------------------------------------------------- /test-data/show-derivation-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/test-data/show-derivation-1.json -------------------------------------------------------------------------------- /test-data/store-paths-few: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/test-data/store-paths-few -------------------------------------------------------------------------------- /test/Expected.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/test/Expected.hs -------------------------------------------------------------------------------- /test/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AleXoundOS/mirror-nix/HEAD/test/Test.hs --------------------------------------------------------------------------------