├── .editorconfig ├── .github └── workflows │ └── ci.yaml ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── app └── Main.hs ├── cabal.project ├── ci.dhall ├── ci.sh ├── default.nix ├── flake.lock ├── flake.nix ├── golden-tests ├── derivations │ ├── complex │ │ ├── new │ │ │ ├── flake.lock │ │ │ └── flake.nix │ │ └── old │ │ │ ├── flake.lock │ │ │ └── flake.nix │ └── simple │ │ ├── new │ │ ├── changed-file │ │ ├── drv.nix │ │ └── new-file │ │ └── old │ │ ├── changed-file │ │ ├── drv.nix │ │ └── missing-file └── expected-outputs │ ├── human-readable │ ├── json │ ├── json-squashed │ └── skip-already-compared ├── nix-diff.cabal ├── nix └── nix-derivation.nix ├── shell.nix ├── src └── Nix │ ├── Diff.hs │ └── Diff │ ├── Render │ └── HumanReadable.hs │ ├── Store.hs │ ├── Transformations.hs │ └── Types.hs └── test ├── Golden ├── Tests.hs └── Utils.hs ├── Main.hs └── Properties.hs /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/README.md -------------------------------------------------------------------------------- /app/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/app/Main.hs -------------------------------------------------------------------------------- /cabal.project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/cabal.project -------------------------------------------------------------------------------- /ci.dhall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/ci.dhall -------------------------------------------------------------------------------- /ci.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/ci.sh -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/default.nix -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/flake.nix -------------------------------------------------------------------------------- /golden-tests/derivations/complex/new/flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/golden-tests/derivations/complex/new/flake.lock -------------------------------------------------------------------------------- /golden-tests/derivations/complex/new/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/golden-tests/derivations/complex/new/flake.nix -------------------------------------------------------------------------------- /golden-tests/derivations/complex/old/flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/golden-tests/derivations/complex/old/flake.lock -------------------------------------------------------------------------------- /golden-tests/derivations/complex/old/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/golden-tests/derivations/complex/old/flake.nix -------------------------------------------------------------------------------- /golden-tests/derivations/simple/new/changed-file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/golden-tests/derivations/simple/new/changed-file -------------------------------------------------------------------------------- /golden-tests/derivations/simple/new/drv.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/golden-tests/derivations/simple/new/drv.nix -------------------------------------------------------------------------------- /golden-tests/derivations/simple/new/new-file: -------------------------------------------------------------------------------- 1 | content of new file 2 | -------------------------------------------------------------------------------- /golden-tests/derivations/simple/old/changed-file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/golden-tests/derivations/simple/old/changed-file -------------------------------------------------------------------------------- /golden-tests/derivations/simple/old/drv.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/golden-tests/derivations/simple/old/drv.nix -------------------------------------------------------------------------------- /golden-tests/derivations/simple/old/missing-file: -------------------------------------------------------------------------------- 1 | content of missing file 2 | -------------------------------------------------------------------------------- /golden-tests/expected-outputs/human-readable: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/golden-tests/expected-outputs/human-readable -------------------------------------------------------------------------------- /golden-tests/expected-outputs/json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/golden-tests/expected-outputs/json -------------------------------------------------------------------------------- /golden-tests/expected-outputs/json-squashed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/golden-tests/expected-outputs/json-squashed -------------------------------------------------------------------------------- /golden-tests/expected-outputs/skip-already-compared: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/golden-tests/expected-outputs/skip-already-compared -------------------------------------------------------------------------------- /nix-diff.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/nix-diff.cabal -------------------------------------------------------------------------------- /nix/nix-derivation.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/nix/nix-derivation.nix -------------------------------------------------------------------------------- /shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/shell.nix -------------------------------------------------------------------------------- /src/Nix/Diff.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/src/Nix/Diff.hs -------------------------------------------------------------------------------- /src/Nix/Diff/Render/HumanReadable.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/src/Nix/Diff/Render/HumanReadable.hs -------------------------------------------------------------------------------- /src/Nix/Diff/Store.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/src/Nix/Diff/Store.hs -------------------------------------------------------------------------------- /src/Nix/Diff/Transformations.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/src/Nix/Diff/Transformations.hs -------------------------------------------------------------------------------- /src/Nix/Diff/Types.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/src/Nix/Diff/Types.hs -------------------------------------------------------------------------------- /test/Golden/Tests.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/test/Golden/Tests.hs -------------------------------------------------------------------------------- /test/Golden/Utils.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/test/Golden/Utils.hs -------------------------------------------------------------------------------- /test/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/test/Main.hs -------------------------------------------------------------------------------- /test/Properties.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gabriella439/nix-diff/HEAD/test/Properties.hs --------------------------------------------------------------------------------