This file contains 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
# See https://github.com/systemd/systemd/issues/9252 and https://github.com/systemd/systemd/pull/12794 and | |
systemd = { | |
network = { | |
enable = true; | |
netdevs = { | |
"98-bridge" = { | |
enable = true; | |
netdevConfig = { | |
Kind = "bridge"; |
This file contains 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
``` | |
❯ cat package.json /tmp/intelephense | |
{ | |
"name": "intelephense", | |
"version": "1.3.4" | |
} | |
❯ node2nix --nodejs-12 package.json /tmp/intelephense | |
fetching local directory: ./. from . |
This file contains 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
nix-repl> :t "/tmp/a" | |
a string | |
nix-repl> :t /tmp/a | |
a path | |
nix-repl> :t "${/tmp/a}" | |
a string with context | |
nix-repl> sctxt = "${/tmp/a}" |
This file contains 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
> gpg-connect-agent master [ffe801062a] | |
> KEYINFO --list | |
S KEYINFO 5237164EAD31231231232131DB7620E6088956 D - - - P - - - | |
OK | |
> DELETE_KEY 5237164EAD31231231232131DB7620E6088956 | |
OK |
This file contains 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
nixpkgs.overlays = [ | |
(self: super: { | |
alsa-firmware = super.alsa-firmware.overrideAttrs (old: rec { | |
name = "alsa-firmware-1.2.1"; | |
src = super.fetchurl { | |
url = "mirror://alsa/firmware/${name}.tar.bz2"; | |
sha256 = "1aq8z8ajpjvcx7bwhwp36bh5idzximyn77ygk3ifs0my3mbpr8mf"; | |
}; | |
}); | |
}) |
This file contains 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
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from ../src/aliased_buffer.h:6, | |
from ../src/env-inl.h:27, | |
from ../src/process_wrap.cc:22: | |
../deps/v8/include/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::BaseObject; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::BaseObject>&)]': | |
../src/base_object-inl.h:104:42: required from here | |
../deps/v8/include/v8.h:9596:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::BaseObject>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::BaseObject>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] | |
reinterpret_cast<Callback>(callback), type); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
g++ -o /build/mxgitcache/graaljs/graal-nodejs/out/Release/obj.target/node_lib/src/spaw |
This file contains 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
nix-build -v -E 'with import <nixpkgs> {}; (pkgs.qt5.qtwebkit.override { stdenv = pkgs.clangStdenv; })' 2>&1 | grep -P 'gcc|clang' | |
evaluating file '/nix/store/c8gsa6n8lb62xsjkidhivx01a1iyz1y4-nixos-19.09.907.f6dac808387/nixos/pkgs/development/compilers/gcc/8/default.nix' | |
evaluating file '/nix/store/c8gsa6n8lb62xsjkidhivx01a1iyz1y4-nixos-19.09.907.f6dac808387/nixos/pkgs/development/compilers/llvm/7/clang/default.nix' | |
evaluating file '/nix/store/c8gsa6n8lb62xsjkidhivx01a1iyz1y4-nixos-19.09.907.f6dac808387/nixos/pkgs/development/compilers/gcc/common/platform-flags.nix' | |
cmake flags: -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/4qzjhlk2b2pf56n7zspvrl3mzq44gn4m-qtwebkit-5.212-alpha-01-26-2018/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/4qzjhlk2b2pf56n7zspvrl3mzq44gn4m-qtwebkit-5.212-alpha-01-26-2018/libexec -DCM |
This file contains 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
104 xsession.pointerCursor = mkIf cfg.enableHiDPI { | |
1 package = pkgs.vanilla-dmz; | |
2 name = "Vanilla-DMZ"; | |
3 size = 32; | |
4 }; |
This file contains 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
> nix repl release-19.09 [232d274a5e1] (!) untracked | |
Welcome to Nix version 2.3. Type :? for help. | |
nix-repl> :l <nixpkgs> | |
Added 10842 variables. | |
nix-repl> systemdlib = callPackage ./nixos/modules/system/boot/systemd-lib.nix {} |
This file contains 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
> nix-build -k -K '<nixpkgs>' -A pkgs.linux_5_2 --check | |
[...] | |
note: keeping build directory '/tmp/nix-build-linux-5.2.14.drv-0' | |
error: derivation '/nix/store/dcy1vplvfwjbckhvfrk8dqv973sm7mh3-linux-5.2.14.drv' may not be deterministic: output '/nix/store/im1y2sf411940gyn1x59rpfbw1k508b3-linux-5.2.14' differs from '/nix/store/im1y2sf411940gyn1x59rpfbw1k508b3-linux-5.2.14.check' |