diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-09-05 10:26:13 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-09-05 10:26:39 -0400 |
commit | 42285171a2fb5caed62d1d1a5f45ea74223942f6 (patch) | |
tree | e5ac1d11526369b679d345048b3c6b5c853a948e /flake.nix | |
parent | 816ee2dbd6973c80d59b979a1e03fe5d6a7dc1c6 (diff) |
Improve formatting
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -1,5 +1,8 @@ { - inputs = { flake-utils.url = "github:numtide/flake-utils"; }; + inputs = { + flake-utils.url = "github:numtide/flake-utils"; + nixpkgs.url = "nixpkgs"; + }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: @@ -22,7 +25,8 @@ ]; RUSTC_VERSION = pkgs.lib.readFile ./rust-toolchain; # https://github.com/rust-lang/rust-bindgen#environment-variables - LIBCLANG_PATH = pkgs.lib.makeLibraryPath [ pkgs.llvmPackages_latest.libclang.lib ]; + LIBCLANG_PATH = + pkgs.lib.makeLibraryPath [ pkgs.llvmPackages_latest.libclang.lib ]; HISTFILE = toString ./.history; shellHook = '' export PATH=$PATH:~/.cargo/bin @@ -41,9 +45,10 @@ ]) # Includes with special directory paths ++ [ - ''-I"${pkgs.llvmPackages_latest.libclang.lib}/lib/clang/${pkgs.llvmPackages_latest.libclang.version}/include"'' + '' + -I"${pkgs.llvmPackages_latest.libclang.lib}/lib/clang/${pkgs.llvmPackages_latest.libclang.version}/include"'' ''-I"${pkgs.glib.dev}/include/glib-2.0"'' - ''-I${pkgs.glib.out}/lib/glib-2.0/include/'' + "-I${pkgs.glib.out}/lib/glib-2.0/include/" ]; }; }); |