Skip to content

Commit

Permalink
Add Nix environment expression
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-mironov committed Jul 22, 2019
1 parent 334daa0 commit a7e932a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file defines Nix-expression accessible via `nix-shell` and `nix-build`
# commands. Search NixOS for details.

{ pkgs ? import <nixpkgs> {} } :

pkgs.stdenv.mkDerivation {
src = builtins.filterSource (path: type: type != "directory" || baseNameOf path != "build") ./.;
name = "xkb-switch-env";
buildInputs = (with pkgs; with xorg; [ cmake libX11 libxkbfile ]);
}

0 comments on commit a7e932a

Please sign in to comment.