1
0
Fork 0
mirror of https://github.com/emacs-twist/org-babel.git synced 2024-12-14 11:07:30 +00:00
org-babel/test/flake.nix
Akira Komamura 8b1e46093f tests: Add flake.nix to run nix flake check against it
Ensure that the derivation does not have IFD.
2022-12-01 18:54:03 +09:00

29 lines
540 B
Nix

{
inputs.org-babel.url = "github:emacs-twist/org-babel";
outputs = {
org-babel,
flake-utils,
nixpkgs,
...
}:
flake-utils.lib.eachSystem [
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
] (system: let
pkgs = import nixpkgs {
inherit system;
overlays = [
org-babel.overlays.default
];
};
in {
checks = {
build =
pkgs.tangleOrgBabelFile "example" ./testTangle.org
{};
};
});
}