Advanced Search
Search Results
166 total results found
`buildInputs` vs. `nativeBuildInputs`?
This article was originally published at https://gist.github.com/joepie91/b0041188c043259e6e1059d026eff301. More can be found here. buildInputs: Dependencies for the (target) system that your built package will eventually run on. nativeBuildInputs: Depen...
QMake ignores my `PREFIX`/`INSTALL_PREFIX`/etc. variables!
This article was originally published at https://gist.github.com/joepie91/b0041188c043259e6e1059d026eff301. QMake does not have a standardized configuration variable for installation prefixes - PREFIX and INSTALL_PREFIX only work if the project files for the...
Futures and Tokio
This article was originally published at https://gist.github.com/joepie91/bc2d29fab43b63d16f59e1bd20fd7b6e. It may be out of date. Event loops If you're not familiar with the concept of an 'event loop' yet, watch this video first. While this video is about t...
Useful tools for working with NixOS
This article was originally published at https://gist.github.com/joepie91/67316a114a860d4ac6a9480a6e1d9c5c. Some links have been removed, as they no longer exist, or are no longer updated. Online things Package search Options search A list of channels, a...
Proprietary AMD drivers (fglrx) causing fatal error in i387.h
This article was originally published at https://gist.github.com/joepie91/ce9267788fdcb37f5941be5a04fcdd0f. It should no longer be applicable, but is preserved here in case a similar issue reoccurs in the future. If you get this error: /tmp/nix-build-ati-dri...
Installing a few packages from `master`
This article was originally published at https://gist.github.com/joepie91/ce9267788fdcb37f5941be5a04fcdd0f. You probably want to install from unstable instead of master, and you probably want to do it differently than described here (eg. importing from URL or...
GRUB2 on UEFI
This article was originally published at https://gist.github.com/joepie91/ce9267788fdcb37f5941be5a04fcdd0f. These instructions are most likely outdated. They are kept here for posterity. This works fine. You need your boot section configured like this: { ...
Unblock ports in the firewall on NixOS
This article was originally published at https://gist.github.com/joepie91/ce9267788fdcb37f5941be5a04fcdd0f. The firewall is enabled by default. This is how you open a port: { # ... networking = { # ... firewall = { allowedTCPPor...
Guake doesn't start because of a GConf issue
This article was originally published at https://gist.github.com/joepie91/ce9267788fdcb37f5941be5a04fcdd0f. It may or may not still be relevant. From nixpkgs: GNOME's GConf implements a system-wide registry (like on Windows) that applications can use to store...
FFMpeg support in youtube-dl
This article was originally published at https://gist.github.com/joepie91/ce9267788fdcb37f5941be5a04fcdd0f. It may no longer be necessary. Based on this post: { # ... stablePackages = with pkgs; [ # ... (python35Packages.youtube-dl.override {...
Bluebird Promise.try using ES6 Promises
This article was originally published at https://gist.github.com/joepie91/255250eeea8b94572a03. Note that this will only be equivalent to Promise.try if your runtime or ES6 Promise shim correctly catches synchronous errors in Promise constructors. If you...
Promises reading list
This article was originally published at https://gist.github.com/joepie91/791640557e3e5fd80861. This is a list of examples and articles, in roughly the order you should follow them, to show and explain how promises work and why you should use them. I'll prob...
Why you shouldn't use Sails.js
This article was originally published at https://gist.github.com/joepie91/cc8b0c9723cc2164660e. This article was published in 2015. Since then, the situation may have changed, and this article is kept for posterity. You should verify whether the issues still ...
node-gyp requirements
This article was originally published at https://gist.github.com/joepie91/375f6d9b415213cf4394b5ba3ae266ae. It may no longer be applicable. Linux Python 2.7 (not 3.x!), build-essential (make, gcc, etc.) Windows As Administrator: npm install --global ...
Riot.js cheatsheet
This article was originally published at https://gist.github.com/joepie91/ed3a267de70210b46fb06dd57077827a. Component styling This section only applies to Riot.js 2.x. Since 3.x, all styles are scoped by default and you can simply add a style tag to your co...
What is state?
This article was originally published at https://gist.github.com/joepie91/8c2cba6a3e6d19b275fdff62bef98311. "State" is data that is associated with some part of a program, and that can be changed over time to change the behaviour of the program. It doesn...
An incomplete rant about the state of the documentation for NixOS
This article was originally published at https://gist.github.com/joepie91/5232c8f1e75a8f54367e5dfcfd573726. Historical note: I wrote this rant in 2017, originally intended to be posted on the NixOS forums. This never ended up happening, as discussing the (th...
How to install Node.js applications, if you're not a Node.js developer
This article was originally published at https://gist.github.com/joepie91/24f4e70174d10325a9af743a381d5ec6. While installing a Node.js application isn't difficult in principle, it may still be confusing if you're not used to how the Node.js ecosystem works. T...