Skip to content

Instantly share code, notes, and snippets.

@ixxie

ixxie/inter.nix Secret

Created January 27, 2019 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ixxie/9c233f8e8b79b2e04b93697ff900f473 to your computer and use it in GitHub Desktop.
Save ixxie/9c233f8e8b79b2e04b93697ff900f473 to your computer and use it in GitHub Desktop.
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "interUI-3.2";
src = fetchurl {
url = https://github.com/rsms/inter/archive/v3.2.tar.gz;
sha256 = "1xn14jbv3m1khy7ydvad9ydkn7yygdbhjy9wm1v000jzjwr3lv21";
};
sourceRoot = ".";
dontBuild = true;
installPhase = ''
mkdir -p $out/share/fonts/truetype
ls .
cp './Inter UI (TTF hinted)/'*.ttf $out/share/fonts/truetype
'';
meta = {
description = "A Unicode font";
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.unix;
};
}
meso% sudo nixos-rebuild switch
warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring
building Nix...
warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring
warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring
warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring
building the system configuration...
warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring
these derivations will be built:
/nix/store/7fjd3hf95ipgjnlkky0p68wrpmzmy4rd-interUI-3.2.drv
/nix/store/nqichx58agcb0qr7sq58kdylnn4qvhhk-system-path.drv
/nix/store/93vjl114gm3gmpi5525vpcmsryhf9j17-dbus-1.drv
/nix/store/l5g1afssz7f1srzzpabqn9bvs8a4rwq0-unit-dbus.service.drv
/nix/store/f1ap6gppxhhl6jh0c6p39dnd7bymqcxx-user-units.drv
/nix/store/g19n20r3xzplq2r2pr2hlbh72r6kj935-etc-profile.drv
/nix/store/nk99pl0vksni6gqlb10prxviwg1ljhsj-unit-accounts-daemon.service.drv
/nix/store/rx2x2xcb86frhpjs5mz359i4r8xi1fdb-unit-systemd-fsck-.service.drv
/nix/store/xg8lkhngi2hz8f3a0a4mg5818f33srb1-unit-polkit.service.drv
/nix/store/zxw8z0kwz64drllh63x35fyr43g7j778-unit-dbus.service.drv
/nix/store/mpbil59jxmapp3jcpxr67xbqk2cq3bnr-system-units.drv
/nix/store/q5k7xqr69ckmhvhqzsz3sihshk8x2r2y-etc.drv
/nix/store/hc8mdjvk9zm0rgrpn4c0j843kxhjp466-nixos-system-meso-18.09pre150708.083220867c7.drv
building '/nix/store/7fjd3hf95ipgjnlkky0p68wrpmzmy4rd-interUI-3.2.drv'...
unpacking sources
unpacking source archive /nix/store/xq7fb3xm8bil40igr3jb5hdgck84zbi4-v3.2.tar.gz
source root is .
setting SOURCE_DATE_EPOCH to timestamp 1148675185 of file ./cu12-1.9/cu12.bdf
patching sources
configuring
no configure script, doing nothing
installing
cu12-1.9
env-vars
cp: missing destination file operand after '/nix/store/p6mmxfha63cn2xrm50kdrky9djbmxhy4-interUI-3.2/share/fonts/truetype'
Try 'cp --help' for more information.
builder for '/nix/store/7fjd3hf95ipgjnlkky0p68wrpmzmy4rd-interUI-3.2.drv' failed with exit code 1
cannot build derivation '/nix/store/nqichx58agcb0qr7sq58kdylnn4qvhhk-system-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/hc8mdjvk9zm0rgrpn4c0j843kxhjp466-nixos-system-meso-18.09pre150708.083220867c7.drv': 1 dependencies couldn't be built
error: build of '/nix/store/hc8mdjvk9zm0rgrpn4c0j843kxhjp466-nixos-system-meso-18.09pre150708.083220867c7.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment