diff options
author | Adrian Kummerlaender | 2023-01-02 11:54:20 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2023-01-02 11:54:20 +0100 |
commit | 8649a521f6c6e073e75fb101f2546a016bb87dda (patch) | |
tree | b29c02e3407a50c1eed98cc50e78e4f383aded1a /flake.nix | |
parent | d864699c5ddd744ee7376c0d752b6bbb771429a2 (diff) | |
download | compustream-8649a521f6c6e073e75fb101f2546a016bb87dda.tar compustream-8649a521f6c6e073e75fb101f2546a016bb87dda.tar.gz compustream-8649a521f6c6e073e75fb101f2546a016bb87dda.tar.bz2 compustream-8649a521f6c6e073e75fb101f2546a016bb87dda.tar.lz compustream-8649a521f6c6e073e75fb101f2546a016bb87dda.tar.xz compustream-8649a521f6c6e073e75fb101f2546a016bb87dda.tar.zst compustream-8649a521f6c6e073e75fb101f2546a016bb87dda.zip |
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..9cd9e49 --- /dev/null +++ b/flake.nix @@ -0,0 +1,27 @@ +{ + description = "compustream"; + + inputs = { + nixpkgs.url = github:NixOS/nixpkgs/nixos-21.05; + }; + + outputs = { self, nixpkgs, ... }: { + defaultPackage.x86_64-linux = let + system = "x86_64-linux"; + pkgs = import nixpkgs { inherit system; }; + + in pkgs.stdenv.mkDerivation rec { + name = "compustream"; + + src = pkgs.lib.cleanSource ./.; + + buildInputs = with pkgs; [ + cmake + universal-ctags + glfw3 + glew + glm + ]; + }; + }; +} |