Created
April 25, 2016 03:15
-
-
Save lukego/854673407f5f7579c27e23145c1d2b80 to your computer and use it in GitHub Desktop.
nix expression to test Snabb compilation on very many Linux distros
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ snabbSrc ? (builtins.fetchTarball https://github.com/snabbco/snabb/tarball/master) }: | |
with import <nixpkgs> {}; | |
with lib; | |
with vmTools; | |
let snabb = stdenv.mkDerivation rec { | |
name = "snabb"; | |
src = snabbSrc; | |
}; in | |
mapAttrs (name: image: runInLinuxImage (snabb // { diskImage = image; })) | |
diskImages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment