Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
We're trying to write a
make2nix
utility at Awake Networks, but due to the complexity ofMake's semantics we'd like to reuse the
kati
project to transformMakefile
s to the simplerninja
file format which we can then more easily translate to Nix derivationsThe first step in this is adding
kati
tonixpkgs
, which is what this change doesNOTE: This does not build on
master
most likely due to changes introduced in 6b999f3 which break the following chain of derivations:... but this does build on a fairly recent commit (4cbd5e4) so once the Python-related breakage is fixed this build should succeed again
cc: @taktoa (who is also using this to write a
haskell2nix
utility for incremental Haskell buildsby taking advantage of GHC's
Makefile
output)Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)