Last active
April 12, 2020 07:56
-
-
Save LinArcX/1adf2c8563d69f4aac5abc13a020a03b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
let | |
pkgs = import <nixpkgs> {}; | |
unstable = import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz) {}; | |
pkgs-2020-03-23 = import (fetchTarball https://github.com/NixOS/nixpkgs/archive/793c1b5c72abbfed2f98add0811a022fc713dbf3.tar.gz) {}; | |
in | |
pkgs-2020-03-23.clangStdenv.mkDerivation rec { | |
pname = "wingpanel-disk-usage"; | |
version = "1.0.0"; | |
name = "${pname}${version}"; | |
nativeBuildInputs = [ | |
pkgs.pkg-config | |
]; | |
buildInputs = [ | |
pkgs-2020-03-23.lldb_9 | |
pkgs-2020-03-23.clang-tools | |
pkgs-2020-03-23.clang-analyzer | |
pkgs-2020-03-23.man | |
pkgs-2020-03-23.man-pages | |
pkgs-2020-03-23.clang-manpages | |
pkgs-2020-03-23.posix_man_pages | |
pkgs-2020-03-23.vala | |
pkgs-2020-03-23.fontconfig | |
pkgs-2020-03-23.gtk3 | |
pkgs-2020-03-23.pcre | |
pkgs-2020-03-23.harfbuzz | |
pkgs-2020-03-23.xorg.libpthreadstubs | |
pkgs-2020-03-23.xorg.libXdmcp | |
pkgs-2020-03-23.utillinux | |
pkgs-2020-03-23.libselinux | |
pkgs-2020-03-23.libsepol | |
pkgs-2020-03-23.libxkbcommon | |
pkgs-2020-03-23.epoxy | |
pkgs-2020-03-23.at_spi2_core.dev | |
pkgs-2020-03-23.dbus | |
pkgs-2020-03-23.xorg.libXtst | |
pkgs-2020-03-23.libcanberra-gtk3 | |
]; | |
FONTCONFIG_FILE = "${pkgs-2020-03-23.fontconfig.out}/etc/fonts/fonts.conf"; | |
LOCALE_ARCHIVE = "${pkgs-2020-03-23.glibcLocales}/lib/locale/locale-archive"; | |
shellHook = '' | |
export NAME=${pname} | |
export CLANG=${pkgs-2020-03-23.clang}/bin/clang | |
export CLANGXX=${pkgs-2020-03-23.clang}/bin/clang++ | |
export CLANGD=${pkgs-2020-03-23.clang-tools}/bin/clangd | |
export LLDB_VSCODE=${pkgs-2020-03-23.lldb_9}/bin/lldb-vscode | |
''; | |
} | |
----------------------------------------------------------- | |
(main:13874): Gtk-WARNING **: 12:23:57.539: Could not find the icon 'window-minimize-symbolic-ltr'. The 'hicolor' theme | |
was not found either, perhaps you need to install it. | |
You can get a copy from: | |
http://icon-theme.freedesktop.org/releases |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment