worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-inf
gustavderdrache has joined #nixos
vikanezrimaya has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115211 → python3Packages.qiskit: 0.23.5 -> 0.24.0 → https://github.com/NixOS/nixpkgs/pull/115211
<nh2[m]> when I use `fileSystems."/".device = "/dev/disk/by-label/root";`instead of `/dev/disk/by-uuid/...`, my server doesn't boot any more. In the stage-1 rescue shell, `/dev/disk` doesn't exist at all. But how can `/dev/disk/by-uuid/` work when `/dev/disk` doesn't exist?
supersandro2000 has quit [Disconnected by services]
<vikanezrimaya> Say, if I need to launch a program from a user service that needs an environment maximally close to one I can get by opening a login shell, how would I approach writing it as a NixOS module?
supersandro2000 has joined #nixos
<vikanezrimaya> Specifically I need code-server and I'm not sure how well it'll work when launched from outside a proper environment
<vikanezrimaya> (btw code-server is amazing, if you love VSCode you'll love code-server - it's like VSCode but in your browser, saving memory)
andymandias has joined #nixos
redmp has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #115217 → Fix the homepage for Dulwich 0 → https://github.com/NixOS/nixpkgs/pull/115217
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d1257435332 (from 4 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<andoriyu> should I be able to run this binary?
<andoriyu> I get` zsh: no such file or directory: ./sdm` (./sdm is present)
novafacing has quit [Remote host closed the connection]
lovesegfault has joined #nixos
vikanezrimaya has quit [Ping timeout: 240 seconds]
vikanezrimaya has joined #nixos
riksteri has quit [Quit: riksteri]
ericsagnes has quit [Ping timeout: 272 seconds]
<andoriyu> ahh patch elf
<nh2[m]> I solved my question above: Indeed `/dev/disk/by-uuid/` doesn't work either on my new system config, so it's something else that breaks it overall.
andymandias has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @erikarvstedt closed pull request #98655 → nixos-container: re-enable `nixpkgs` option → https://github.com/NixOS/nixpkgs/pull/98655
andymandias has joined #nixos
<{^_^}> [nix] @erikarvstedt closed pull request #2366 → fetchGit: Remove unneeded call to git → https://github.com/NixOS/nix/pull/2366
mbrgm_ has joined #nixos
<remexre> anyone using clang-analyzer when developing w/ nix? It's failing to find <stdlib.h> and <stdio.h> for me...
<remexre> same project works on the same (non-nixos) machine when run outside of nix-shell
<remexre> project depends on pkgs.llvmPackages_11.clang
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @aanderse merged pull request #115135 → apacheHttpdPackages.mod_auth_mellon: 0.13.1 -> 0.17.0 → https://github.com/NixOS/nixpkgs/pull/115135
<{^_^}> [nixpkgs] @lopsided98 opened pull request #115219 → pythonPackages.cbor2: disable failing tests on 32-bit platforms → https://github.com/NixOS/nixpkgs/pull/115219
pjlover has joined #nixos
vikanezrimaya has quit [Quit: Connection closed]
Dr8128 has quit [Ping timeout: 256 seconds]
stree has quit [Ping timeout: 276 seconds]
Sigma has quit [Quit: ZNC - http://znc.in]
Sigma has joined #nixos
LnL- has joined #nixos
LnL- has quit [Changing host]
LnL- has joined #nixos
LnL has quit [Ping timeout: 256 seconds]
proofofkeags has quit [Ping timeout: 260 seconds]
simba1 has quit [Ping timeout: 272 seconds]
Sigma has quit [Client Quit]
Sigma has joined #nixos
ahmed_elgabri has joined #nixos
juliusdeane has joined #nixos
simba1 has joined #nixos
<juliusdeane> is there an icecat package for nixos somewhere out there?
<juliusdeane> I noticed it's not in the main repos
griff_ has joined #nixos
aei has joined #nixos
ericsagnes has joined #nixos
stree has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
redmp has joined #nixos
rajivr has joined #nixos
apache8080 has quit [Ping timeout: 245 seconds]
<abathur> juliusdeane: https://github.com/search?q=language%3Anix+icecat&type=code makes me think it was at one point and has been removed
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JqU7G
<abathur> maybe #79115 is more relevant informationally
<{^_^}> https://github.com/NixOS/nixpkgs/pull/79115 (by flokli, 1 year ago, merged): firefoxPackages.*: remove unsupported packages, clean up derivation
ahmed_elgabri has quit [Ping timeout: 240 seconds]
novafacing has joined #nixos
simba1 has quit [Ping timeout: 260 seconds]
apache8080 has joined #nixos
ris has quit [Ping timeout: 246 seconds]
dbmikus has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @bobrik opened pull request #115220 → python3Packages.py-cpuinfo: add sysctl to runtime dependencies → https://github.com/NixOS/nixpkgs/pull/115220
<{^_^}> [nixpkgs] @bobrik opened pull request #115221 → python3Packages.py-cpuinfo: fix another aarch64-darwin test → https://github.com/NixOS/nixpkgs/pull/115221
simba1 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115219 → python3Packages.cbor2: disable failing tests on 32-bit platforms → https://github.com/NixOS/nixpkgs/pull/115219
svrana has quit [Quit: WeeChat 2.9]
Dr8128 has joined #nixos
Hail_Spacecake has quit [Ping timeout: 268 seconds]
juliusdeane has left #nixos ["ERC (IRC client for Emacs 27.1)"]
MmeQuignon has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115216 → vimPlugins.vim-wayland-clipboard: init at 2021-02-17 → https://github.com/NixOS/nixpkgs/pull/115216
simba1 has quit [Ping timeout: 260 seconds]
simba1 has joined #nixos
CMCDragonkai has quit [Remote host closed the connection]
Emantor has quit [Quit: ZNC - http://znc.in]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115188 → rbw: 0.5.2 -> 1.0.0 → https://github.com/NixOS/nixpkgs/pull/115188
simba1 has quit [Ping timeout: 260 seconds]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
Emantor has joined #nixos
CMCDragonkai has joined #nixos
svrana has joined #nixos
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115190 → polkadot: 0.8.28-1 -> 0.8.29 → https://github.com/NixOS/nixpkgs/pull/115190
m0rphism has quit [Ping timeout: 245 seconds]
Jd007 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115210 → python3Packages.cvxpy: 1.1.10 -> 1.1.11 → https://github.com/NixOS/nixpkgs/pull/115210
sigmundv_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
redmp has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #115223 → [20.09] apacheHttpdPackages.mod_auth_mellon: 0.13.1 -> 0.17.0 → https://github.com/NixOS/nixpkgs/pull/115223
RowanG has joined #nixos
Lord_of_Life_ has joined #nixos
Lord_of_Life has quit [Ping timeout: 260 seconds]
<RowanG> In what nix package can I find `__cxxabi_config.h`? I can't for the life of find it. I have tried `libcxxabi`.
Lord_of_Life_ is now known as Lord_of_Life
Dj has joined #nixos
Dj has quit [Client Quit]
<supersandro2000> RowanG: libcxx
<supersandro2000> ,locate __cxxabi_config.h
<{^_^}> Found in packages: zig, libcxx, emscripten, graalvm8-ce, graalvm11-ce
<{^_^}> [nixpkgs] @aanderse merged pull request #114274 → kodiPlugins.pdfreader: 1.0.2 -> 2.0.2 → https://github.com/NixOS/nixpkgs/pull/114274
apache8080 has quit [Ping timeout: 245 seconds]
<RowanG> thx!
RowanG has quit [Quit: Connection closed]
apache8080 has joined #nixos
griff_ has quit [Quit: griff_]
<mica[m]> does mapping a port using oci-container open the port in the firewall as well? The code looks like no, but nmap says yes
mayhew has quit [Remote host closed the connection]
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @ajs124 opened pull request #115224 → lrzip: 0.640 -> 0.641 → https://github.com/NixOS/nixpkgs/pull/115224
randomuser123 has joined #nixos
Rainy_Day has quit [Remote host closed the connection]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
Scriptkiddi has quit [Quit: Bridge terminating on SIGTERM]
cheriimoya has quit [Quit: Bridge terminating on SIGTERM]
mrpi has quit [Quit: Bridge terminating on SIGTERM]
ajs124 has quit [Quit: Bridge terminating on SIGTERM]
das_j has quit [Quit: Bridge terminating on SIGTERM]
cheriimoya has joined #nixos
mrpi has joined #nixos
das_j has joined #nixos
ajs124 has joined #nixos
Scriptkiddi has joined #nixos
stree has quit [Ping timeout: 260 seconds]
vikanezrimaya has joined #nixos
ahmed_elgabri has joined #nixos
gustavderdrache has joined #nixos
stree has joined #nixos
Dotz0cat_ has joined #nixos
Dotz0cat has quit [Ping timeout: 258 seconds]
_Qubasa has quit [Quit: WeeChat 2.9]
stephank2 has joined #nixos
Qubasa has joined #nixos
LnL has joined #nixos
cartwright has quit [Remote host closed the connection]
cartwright has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
LnL- has quit [Ping timeout: 276 seconds]
aw has joined #nixos
cole-h has joined #nixos
spacefrogg has joined #nixos
stephank has quit [Ping timeout: 264 seconds]
stephank2 is now known as stephank
mkaito has quit [Quit: WeeChat 3.0.1]
ahmed_elgabri has quit [Ping timeout: 260 seconds]
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115197 → collection: format, fix cross-compile, cleanups, etc. → https://github.com/NixOS/nixpkgs/pull/115197
<{^_^}> [nixpkgs] @zseri opened pull request #115225 → zs-wait4host: init at 0.3.2 → https://github.com/NixOS/nixpkgs/pull/115225
mzan has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115174 → rimraf: init at 3.0.2 → https://github.com/NixOS/nixpkgs/pull/115174
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115178 → linux_mptcp_95: 0.95 -> 0.95.1 → https://github.com/NixOS/nixpkgs/pull/115178
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115180 → wire-desktop: linux 3.21.2936 -> 3.22.2937 → https://github.com/NixOS/nixpkgs/pull/115180
AlpineLlama has joined #nixos
andreas31 has quit [Remote host closed the connection]
andreas31 has joined #nixos
KarlJoad has left #nixos ["ERC (IRC client for Emacs 27.1)"]
zebrag has quit [Quit: Konversation terminated!]
orivej has quit [Ping timeout: 260 seconds]
nwspk has quit [Quit: nwspk]
nwspk has joined #nixos
apache8080 has quit [Ping timeout: 265 seconds]
<i1l> ,locate stdio.h
<{^_^}> Found in packages: zig, sdcc, dev86, klibc, root5, z88dk, framac, libbsd, libcxx, marisa, ntirpc, splint, uclibc, arduino, zfs.dev, bind.dev, cdrtools, musl.dev, verifast, wineFull, boomerang, glibc.dev, libgccjit, linux.dev, emscripten, metasploit, wineStable, graalvm8-ce, arduino_core, graalvm11-ce, linux-rt.dev, wine-staging, gcc-unwrapped, glibc_multi.dev, linux-libre.dev, linux_mptcp.dev, open-watcom-bin, zfsUnstable.dev, and 35 more
<i1l> {^_^}++
<{^_^}> {^_^}'s karma got increased to 228
Jd007 has quit [Quit: Jd007]
MidAutumnHotaru has quit [Quit: Quit 啾]
randomuser123 has quit [Quit: Connection closed]
MidAutumnHotaru has joined #nixos
tomberek has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115221 → python3Packages.py-cpuinfo: fix another aarch64-darwin test → https://github.com/NixOS/nixpkgs/pull/115221
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115173 → python3Packages.pytorch: 1.7.1 -> 1.8.0 → https://github.com/NixOS/nixpkgs/pull/115173
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #114893 → pinentry_mac: make it compile on arm64 → https://github.com/NixOS/nixpkgs/pull/114893
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
aei has quit [Ping timeout: 260 seconds]
rail has quit [Quit: gone...]
terinjokes has quit [Quit: ZNC 1.8.1 - https://znc.in]
rail has joined #nixos
terinjokes has joined #nixos
pjt_tmp2 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #111403 → xorg.libXt: 1.2.0 -> 1.2.1 → https://github.com/NixOS/nixpkgs/pull/111403
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115154 → expect: fix cross-compilation → https://github.com/NixOS/nixpkgs/pull/115154
<{^_^}> [nixos-hardware] @mexisme opened pull request #235 → Update MS Surface kernel+patches to 5.10.19 → https://github.com/NixOS/nixos-hardware/pull/235
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115097 → pcl: add wrapQt, remove broken and run nixpkgs-fmt → https://github.com/NixOS/nixpkgs/pull/115097
oida has quit [Remote host closed the connection]
oida has joined #nixos
heywoodlh_ has joined #nixos
heywoodlh has quit [Ping timeout: 260 seconds]
redmp has joined #nixos
LnL has quit [Quit: exit 1]
LnL has joined #nixos
maljub01 has quit [Quit: maljub01]
cartwright has quit [Remote host closed the connection]
cartwright has joined #nixos
maljub01 has joined #nixos
<{^_^}> [nixpkgs] @bobrik opened pull request #115226 → python3Packages.trustme: skip disallowed w+x test on aarch64-darwin → https://github.com/NixOS/nixpkgs/pull/115226
<{^_^}> [nixpkgs] @omasanori opened pull request #115227 → [20.09] re2c: fix CVE-2018-21232 → https://github.com/NixOS/nixpkgs/pull/115227
stree has quit [Ping timeout: 245 seconds]
ahmed_elgabri has joined #nixos
<{^_^}> [nixpkgs] @siraben opened pull request #115228 → treewide: unzip buildInputs to nativeBuildInputs (2) → https://github.com/NixOS/nixpkgs/pull/115228
<{^_^}> [nixpkgs] @rolfschr opened pull request #115229 → Fix shebangs in auto-generated android toolchain scripts. → https://github.com/NixOS/nixpkgs/pull/115229
poscat has quit [Ping timeout: 240 seconds]
poscat has joined #nixos
<{^_^}> [nixpkgs] @CMCDragonkai opened pull request #115230 → WIP: @electron-forge/cli: init at 6.0.0-beat.54 → https://github.com/NixOS/nixpkgs/pull/115230
<{^_^}> [nixpkgs] @zowoq opened pull request #115231 → containerd: 1.4.3 -> 1.4.4 → https://github.com/NixOS/nixpkgs/pull/115231
ahmed_elgabri has quit [Ping timeout: 240 seconds]
stree has joined #nixos
johnw has joined #nixos
palo1 has joined #nixos
Dr8128 has quit [Ping timeout: 260 seconds]
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
johnw has quit [Quit: ZNC - http://znc.in]
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
<{^_^}> [nixpkgs] @xantoz opened pull request #115232 → nyxt: change meta.platforms to platforms.all → https://github.com/NixOS/nixpkgs/pull/115232
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/1ac507ba981 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
davidv7 has quit [Ping timeout: 245 seconds]
evils has joined #nixos
redmp has quit [Ping timeout: 245 seconds]
bahamas has joined #nixos
bitmapper has quit [Quit: Connection closed for inactivity]
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @jpas opened pull request #115233 → WIP: Fix broken lol, lol-apps, and lol-cpp haskell packages → https://github.com/NixOS/nixpkgs/pull/115233
waleee-cl has quit [Quit: Connection closed for inactivity]
ahmed_elgabri has joined #nixos
ahmed_elgabri has quit [Ping timeout: 258 seconds]
<bitonic> the man pages for fontconfig stuff (e.g. `fc-cache(1)`, `fonts-conf(5)`) seem to be missing -- where can i find them?
orivej has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #115234 → python3Packages.somajo: 2.1.2 -> 2.1.3 → https://github.com/NixOS/nixpkgs/pull/115234
<i1l> ,locate fc-cache.1.gz
<{^_^}> Couldn't find in any packages
o1lo01ol1o has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
cole-h has quit [Ping timeout: 245 seconds]
vikanezrimaya has quit [Quit: Connection closed]
jonringer has quit [Remote host closed the connection]
mallox has joined #nixos
<{^_^}> [nixpkgs] @bobrik opened pull request #115235 → gcc: native aarch64-darwin support → https://github.com/NixOS/nixpkgs/pull/115235
jonringer has joined #nixos
domogled has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8edfe0a2e8b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @danieldk opened pull request #115236 → python3Packages.transformers: 4.3.2 -> 4.3.3 → https://github.com/NixOS/nixpkgs/pull/115236
justanotheruser has quit [Ping timeout: 240 seconds]
monokrome has joined #nixos
<monokrome> hey y'all - I ran nixos-infect and wondering if anyone has ideas why `nixos-rebuild switch` doesn't seem to read /etc/nixos/configuration.nix here?
<monokrome> Probably something dumb but I'm a bit confused about it
cript0nauta has quit [Ping timeout: 245 seconds]
<clever> monokrome: by default, it uses whatever <nixos-config> points to, which relies on $NIX_PATH
<{^_^}> [nixpkgs] @FRidh merged pull request #114473 → python3Packages.diskcache: 5.1.0 -> 5.2.1, python3Packages.pandas: 1.2.2 -> 1.2.3 → https://github.com/NixOS/nixpkgs/pull/114473
domogled has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
<monokrome> Does that mean this is normal behavior?
<{^_^}> [nixpkgs] @danieldk opened pull request #115237 → python3Packages.datasets: 1.1.2 -> 1.4.1 → https://github.com/NixOS/nixpkgs/pull/115237
<{^_^}> [nixos-hardware] @mexisme closed pull request #228 → Update MS Surface kernel+patches to 5.10.10 → https://github.com/NixOS/nixos-hardware/pull/228
orivej has joined #nixos
malook has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #115238 → python3Packages.tokenizers: 0.10.0 -> 0.10.1 → https://github.com/NixOS/nixpkgs/pull/115238
domogled has quit [Ping timeout: 260 seconds]
stree has quit [Ping timeout: 260 seconds]
respawn_ has joined #nixos
ahmed_elgabri has joined #nixos
respawn_ has quit [Remote host closed the connection]
respawn_ has joined #nixos
malook has quit [Quit: malook]
stree has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #115239 → Drop Google Play Music-related packages → https://github.com/NixOS/nixpkgs/pull/115239
Ashy has joined #nixos
<{^_^}> [nixpkgs] @dotlambda closed pull request #100186 → google-play-music-desktop-player: copy icons → https://github.com/NixOS/nixpkgs/pull/100186
i1l has quit [Remote host closed the connection]
i1l has joined #nixos
apteryx is now known as Guest69784
apteryx_ has joined #nixos
Guest69784 has quit [Killed (weber.freenode.net (Nickname regained by services))]
apteryx_ is now known as apteryx
<{^_^}> [nixpkgs] @Mic92 merged pull request #115175 → nixos/qemu-flags: add ppc64 → https://github.com/NixOS/nixpkgs/pull/115175
zupo has joined #nixos
<{^_^}> [nixos-hardware] @Mic92 merged pull request #235 → Update MS Surface kernel+patches to 5.10.19 → https://github.com/NixOS/nixos-hardware/pull/235
Ashy has left #nixos ["WeeChat 3.0"]
orivej has quit [Ping timeout: 265 seconds]
riksteri has joined #nixos
orivej has joined #nixos
attila_lendvai has joined #nixos
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
maier has joined #nixos
respawn_ has quit [Quit: Leaving]
lord| has joined #nixos
vidbina_ has joined #nixos
pjt_tmp2 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixos-hardware] @mexisme closed pull request #230 → Surface Go: use KillerNetworking firmware instead of official non-free copy → https://github.com/NixOS/nixos-hardware/pull/230
<{^_^}> [nixos-hardware] @mexisme reopened pull request #230 → Surface Go: use KillerNetworking firmware instead of official non-free copy → https://github.com/NixOS/nixos-hardware/pull/230
wrkzk[m] has quit [Quit: Idle for 30+ days]
kazimazi[m] has quit [Quit: Idle for 30+ days]
simba1 has joined #nixos
tompurl[m] has quit [Quit: Idle for 30+ days]
griff_ has joined #nixos
maier has quit [Ping timeout: 256 seconds]
karantan has joined #nixos
jonringer has quit [Ping timeout: 264 seconds]
<monokrome> clever: This seems right, but it doesn't seem to build to here? /root/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<monokrome> (for NIX_PATH)
<clever> monokrome: that looks like the default NIX_PATH and it has the expected nixos-config=/etc/nixos/configuration.nix
<monokrome> hmm, but if I rebuild then it doesn't seem to even install the packages from that one (http://sprunge.us/JRYk3g)
griff_ has quit [Quit: griff_]
<monokrome> but if I add a syntax error then it shows the syntax error
<monokrome> so the environment must just be pointing to the wrong place somehow
<clever> monokrome: [clever@amd-nixos:~]$ vi ~/apps/nixpkgs/nixos/default.nix
<clever> 1 { configuration ? import ./lib/from-env.nix "NIXOS_CONFIG" <nixos-config>
virkony has quit [Ping timeout: 240 seconds]
<clever> monokrome: if $NIXOS_CONFIG is set, that acts as an override
<monokrome> it's unset
virkony has joined #nixos
<clever> monokrome: nix-instantiate --find-file nixos-config
<monokrome> oh maybe I'm confused
<monokrome> it says the right one and if I introduce a syntax error it fails
<monokrome> but it doesn't build the packages in it
<clever> if the packages are already built, it will reuse them
<monokrome> maybe boot is going to the wrong env?
<clever> if /boot isnt mounted when you run switch, then a reboot will basically be a rollback
<monokrome> I think there's a nix-store command to check that
* monokrome wish she could remember all the nix commands >.<
<clever> does weechat appear in $PATH when you nixos-rebuild switch, and DONT reboot?
<monokrome> ah
<monokrome> mount | grep boot
<monokrome> is empty
<clever> mount boot to the right place, nixos-generate-config, and then nixos-rebuild switch
<monokrome> I already did a `nix-env -iA weechat` so I could message here >.<
<clever> `which --all weechat`
<clever> then you can see whats behind nix-env
<monokrome> grub is in /boot and there's no partition for it
<monokrome> I think it's just stuck in root
<clever> that is also valid
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<monokrome> hmm
<clever> what does `ls -l /run/current-system` report?
<monokrome> so I think it's just not updating bootloader when I nixos-rebuild maybe
<monokrome> lrwxrwxrwx 1 root root 84 Mar 6 07:39 /run/current-system -> /nix/store/59ls530bdq88ia6qmnxx5mp15d40lfaf-nixos-system-chat-20.09.3368.16fc9eb7364
<clever> now try rebooting, and see if it stays the same or not
<monokrome> alrighty brb!
<monokrome> thank you for the help
monokrome has quit [Quit: WeeChat 2.9]
monokrome has joined #nixos
<monokrome> yeah this is too weird
<monokrome> not only is it the same, but if I add a new package to the config, it doesn't build it
<monokrome> I don't think it ever built any of them
<{^_^}> [nixpkgs] @doronbehar merged pull request #82249 → gtklp: init at 1.3.4 → https://github.com/NixOS/nixpkgs/pull/82249
<monokrome> clever: even if I run `nixos-rebuild switch`, the packages don't appear in current env
<monokrome> which is really weird
<clever> monokrome: if you run `nix repl '<nixpkgs/nixos>'` and then eval `config.environment.systemPackages`, do you see weechat?
<monokrome> yeah
<monokrome> but maybe that's because I did `nix-env -iA weechat`
<clever> nope
<clever> nix-env can never appear in that list
<monokrome> oh I see python3 also
<monokrome> which nixos-rebuild didn't even install
<clever> what does `which --all weechat` say?
nicoo has quit [Remote host closed the connection]
<monokrome> /root/.nix-profile/bin/weechat
<monokrome> /nix/var/nix/profiles/default/bin/weechat
<monokrome> if I do `python3`, though, it's not found
<monokrome> (weechat may not be the best example because when I reboot it seems to show up fron the nix-env -iA whatever happened)
<clever> what if you `nix-build '<nixpkgs/nixos>' -A system && ls -l result` ?
<monokrome> what does that one do
<clever> it should be the same as `nixos-rebuild build`
<monokrome> weird, that command just says "Killed"
<clever> check dmesg
<monokrome> omg
<monokrome> OOM killer
* monokrome falls over
<clever> your nixos-rebuild was likely dying the same way
<monokrome> yep
<clever> so its never actually rebuilt
<monokrome> rofl
<clever> slap some swap on that sucker
<monokrome> no wonder this was so weird at least
<clever> how much ram does this poor thing have??
<monokrome> not enough lol
<clever> `free -m` ?
nicoo has joined #nixos
<monokrome> but it seems nixos-infect doesn't generate an fstab w/ swap in it
<monokrome> so I need to nixos-generate-config again maybe
<clever> you can add your own too, one sec
<monokrome> once I mounted the already preexisting swap, it built
<clever> [root@amd-nixos:~]# man configuration.nix
<clever> ah, that works too
<monokrome> 512MB RAM
<clever> and nixos-generate-config will add the swap to hardware-configuration.nix
<monokrome> omg python3 works now
<monokrome> thank you
vidbina_ has quit [Ping timeout: 276 seconds]
<monokrome> a lot >.<
<clever> yep
<monokrome> is there another way
<clever> ?
o1lo01ol1o has joined #nixos
<monokrome> other than nixos-generate-config or manually updating fileSystems
<monokrome> seems 512MB of RAM should have been enough regardless
<clever> swapDevices.*.size
<clever> you can set swapDevices = [ { device = "/path/to/file"; size = 1024; } ];
<clever> and nixos will auto-create the file and swapon for you
<clever> if you didnt have a dedicated partition
ahmed_elgabri has quit [Ping timeout: 264 seconds]
<monokrome> should have probably done it that way
<monokrome> I wonder if the VPS themselves forgot to enable the swap in their images lol
<clever> a swap partition is better performance
<clever> if you have control of the vm, you can create an entire virtual disk just for swap, and then you can freely throw it out and replace it with a bigger one
<monokrome> yeah, they had a default swap partition (unless nixos-infect created that which I assume not)
<clever> justdoit and my kexec tool is more powerful then nixos-infect
<clever> it lets you repartition the disk, and do anything
<monokrome> kexec tool?
<{^_^}> [nixpkgs] @dotlambda opened pull request #115240 → [20.09] ffmpeg: 4.3.1 -> 4.3.2 → https://github.com/NixOS/nixpkgs/pull/115240
<monokrome> that sounds fancy
<monokrome> does it work for automated installs?
<clever> build a magic tarball on one machine, unpack it on the un-suspecting victim, and run /kexec_nixos, and boom, your now running nixos entirely from ram
<clever> wipe the disk and install as usual, like you used a livecd
<monokrome> :o
<clever> justdoit is also pre-installed on that live env
<clever> one single command will wipe and install
<monokrome> O_O
<clever> the biggest problem, is that if the network doesnt work, you loose control of the system
<monokrome> oh no lol
<clever> this module is also installed, it makes the system reboot within an hour, if you fail to ssh into it and gain control
<clever> once your in, if you wipe the disk, then it obviously cant boot, so if you fail to install it right, its bricked
<clever> justdoit automates things enough that you cant really mess up
<clever> the original intent, was to infect remote servers, without any console access to fix mistakes
<monokrome> I think you underestimate me 😹
amfl_ has joined #nixos
sangoma has joined #nixos
<patagonicus> Ok, the kexec for switching to NixOS is really nice. When I installed NixOS on my rented server, I spent quite a long time trying to figure out how to get nix installed in a usable way on one of the available distros, then installed a basic nix to an extra partition and then finally used that to install the real nixos on the full disk.
amfl has quit [Ping timeout: 256 seconds]
amfl_ is now known as amfl
<clever> patagonicus: the kexec stuff is a multi-stage trick, make-system-tarball.nix generate a tarball with a complete /nix/store containing the closure of anything
<clever> in this case, its the closure of a shell script, containing kexec, a kernel, and an initrd
<clever> so you dont even need a working kexec installed on the victim
<clever> the kernel/initrd itself, comes from the netboot utils, which packages the whole rootfs up as a squashfs inside the initrd
est31 has quit [Ping timeout: 268 seconds]
<patagonicus> Yeah, I skimmed the nix files. I should really play around with kexec more, never really used it before. But then I don't really plan on installing nixos on any system that I can't just easily boot a NixOS live CD on any time soon.
est31 has joined #nixos
<clever> patagonicus: this shell code also copies /ssh_pubkey into the initrd, and eventually the /root/.ssh/authorized_keys
<clever> so you can still get in, without needing to rebuild the tarball to include the right ssh pubkey
lucus16 has quit [Quit: WeeChat 3.0]
monokrome has quit [Ping timeout: 246 seconds]
vidbina_ has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MmeQuignon has joined #nixos
simba1 has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/1ac507ba981 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
simba1 has joined #nixos
orivej has quit [Ping timeout: 276 seconds]
orivej has joined #nixos
monokrome has joined #nixos
simba1 has quit [Ping timeout: 240 seconds]
simba1 has joined #nixos
<monokrome> hmm
<monokrome> so most things seem to work now but I think the system is still unstable
<monokrome> `mkpasswd -m sha-512 >> /etc/nixos/configuration.nix` and putting the resulting string in hashedPassword doesn't generate a working password
<monokrome> which seems... messed...
<clever> monokrome: hashedPassword only works if you have set mutableUsers = false i believe
<clever> monokrome: there is also initialHashedPassword, but it only works if the user hasnt been created yet
<monokrome> oh O_o
<monokrome> I've used hashedPassword w/out mutableUsers = false before
<monokrome> maybe I am wrong though
queiw has quit [Remote host closed the connection]
novafacing has quit [Quit: novafacing]
novafacing has joined #nixos
<monokrome> hmm
<monokrome> worked
<monokrome> my brain is broken lol
vidbina_ has quit [Ping timeout: 260 seconds]
bahamas has quit [Quit: leaving]
stree has quit [Ping timeout: 264 seconds]
cmk_zzz has quit [Ping timeout: 265 seconds]
cmk_zzz has joined #nixos
<{^_^}> [nixpkgs] @pasqui23 opened pull request #115241 → minitube: 3.6 -> 3.8.1 → https://github.com/NixOS/nixpkgs/pull/115241
sangoma has quit [Ping timeout: 256 seconds]
cinimod` has joined #nixos
<patagonicus> Documentation says "If the option users.mutableUsers is true, the password defined in one of the three options will only be set when the user is created for the first time."
cinimod has quit [Ping timeout: 245 seconds]
sangoma has joined #nixos
simba1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @dotlambda opened pull request #115242 → libsForQt5.mauikit: init at 1.2.1 → https://github.com/NixOS/nixpkgs/pull/115242
stree has joined #nixos
simba1 has joined #nixos
fendor has joined #nixos
davidv7 has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #114731 → nixos/rl-2105: add hookification of buildRustPackage → https://github.com/NixOS/nixpkgs/pull/114731
spacekookie has quit [Quit: **aggressive swooshing**]
spacekookie has joined #nixos
eliasp[m] has joined #nixos
<sterni> does stdenv or the nix build input trap SIGPIPE somewhere and can it be disabled?
<sterni> e. g. runCommandLocal "foo" {} "yes | head -n 10 > $out" fails to build because yes isn't killed with SIGPIPE
<{^_^}> [nixpkgs] @primeos opened pull request #115243 → chromium: 89.0.4389.72 -> 89.0.4389.82 → https://github.com/NixOS/nixpkgs/pull/115243
<{^_^}> [nixpkgs] @primeos merged pull request #114998 → [20.09] chromium: 88.0.4324.182 -> 89.0.4389.72 → https://github.com/NixOS/nixpkgs/pull/114998
mananamenos has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #115244 → [20.09] chromium: 89.0.4389.72 -> 89.0.4389.82 → https://github.com/NixOS/nixpkgs/pull/115244
<immae> sterni: would "(yes | head -n 10 > $out) || true" work maybe?
<{^_^}> [nixpkgs] @Mic92 opened pull request #115245 → deltachat-electron: 1.15.1 -> 1.15.2 → https://github.com/NixOS/nixpkgs/pull/115245
novafacing has quit [Quit: novafacing]
novafacing has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #115157 → aws-c-common: 0.4.64 -> 0.5.2, unmark musl broken, enable tests → https://github.com/NixOS/nixpkgs/pull/115157
<sterni> immae: well the case where I'm running into it is tests that diff the output of executed commands
<sterni> I have a work around but having a sed to redirect the yes output into stderr is a bit annoying
<sterni> was wondering if you can actually fix the cause of the problem, not the symptoms
nicoo has quit [Remote host closed the connection]
MmeQuignon has quit [Ping timeout: 260 seconds]
nicoo has joined #nixos
i1l has quit [Ping timeout: 245 seconds]
novafacing has quit [Quit: novafacing]
ahmed_elgabri has joined #nixos
edwardk has left #nixos [#nixos]
maier has joined #nixos
ahmed_elgabri has quit [Ping timeout: 240 seconds]
mananamenos has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @sternenseemann opened pull request #115246 → ocamlPackages: recurse into all ocamlPackages sets → https://github.com/NixOS/nixpkgs/pull/115246
__monty__ has joined #nixos
mayhew has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #115247 → ocamlPackages.optint: use dune 2 → https://github.com/NixOS/nixpkgs/pull/115247
m0rphism has joined #nixos
ris has joined #nixos
<viric> "Booting linux kernel..."
johannes_ has joined #nixos
johannes_ is now known as kenran
fuiltilt has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @colemickens opened pull request #115248 → tree-sitter: no longer broken on aarch64 → https://github.com/NixOS/nixpkgs/pull/115248
i1l has joined #nixos
<clever> viric: if the machine has a real serial port, you could try early printk
<clever> viric: but ive never tried that on x86, only arm
<{^_^}> [nixpkgs] @Mic92 merged pull request #115245 → deltachat-electron: 1.15.1 -> 1.15.2 → https://github.com/NixOS/nixpkgs/pull/115245
<viric> clever: I have a screen. it's a laptop :)
<viric> clever: maybe 1GB of RAM is short for a PXE boot?
<viric> >500MB initrd... ok :)
<clever> viric: yeah, thats cutting things a bit tight
<viric> I just tried a 32-bit system; no help
<clever> if you omit the initrd in the ipxe script, then it should boot further
<viric> ok
<viric> let's see
attila_lendvai has quit [Ping timeout: 245 seconds]
Valodim[m] has quit [Quit: authenticating]
sigmundv_ has joined #nixos
Valodim[m] has joined #nixos
simba1 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @samuela opened pull request #115249 → vscode: 1.53.2 -> 1.54.1 → https://github.com/NixOS/nixpkgs/pull/115249
simba1 has joined #nixos
maier has quit [Ping timeout: 245 seconds]
CFS has joined #nixos
kenran has quit [Quit: leaving]
<viric> clever: oh 500MB were gzipped. 750MB gunzipped...
skinnedcat[m] has joined #nixos
<CFS> Hi... I'm (eternally) new to nix. I'm making a small change to a derivation. Specifically, I'm changing a reference to an absolute path (files being copied from a specific place in the HD) to a relative one ( ../..). I thought that would be as trivial as it sounds, but no...
<viric> how would I find out why the initrd is so big
<CFS> looks like relative path points to the nix store
mananamenos has joined #nixos
<CFS> So going from this:
<CFS> infraRepo = p.config."dev:infra".repo;
<CFS> dir = "${infraRepo}/ansible/roles/prometheus/files";
<CFS> to this:
<CFS> dir = "${../../../dashboards}";
<CFS> break stuff
<clever> viric: and it needs 500+750 to perform that whole unpacking
<CFS> (the dirs have the same contents exactly)
<CFS> any hint? I'm rather frustrated at this point
<clever> CFS: how exactly does it break?
<viric> clever: AH the initrd includes the squashfs root in it
<clever> viric: and that squashfs will remain compressed, so it shouldnt expand any further
<viric> clever: but maybe the kernel won't be able to free the initrd
<viric> because there is the squashfs
<clever> viric: but you may want to built config.system.toplevel, and get the closure size down
<CFS> @clever: error: getting attributes of path '/nix/dashboards': No such file or directory
<eliasp[m]> CFS: do you need help in "how do I customize an expression and make it part of my system" (e.g. when using "nixos-rebuild") or do you need help with this specific issue regarding your expression?
<viric> I see. I'll try, clever
<clever> viric: yeah, you need the whole initrd to run, but you can shrink it
<viric> clever:if I could use a network root
<clever> CFS: that looks like something did /nix/store/hash-foo/../../dashboards
<viric> I'm following https://nixos.wiki/wiki/Netboot
<viric> but that puts all into initrd
<clever> viric: you can still shrink that initrd
<viric> iç
<CFS> for reference this is using nix on Ubuntu, not nixOS, and nix is being invoked as part of a large process I don't control (much) so even adding an arg is not totally trival
<viric> I'll try but I've to go < 500MB unpacked
<CFS> @eliasp[m], I need help going through this specific hurdle (for now)
<clever> viric: modify that nix expr, so the symlinkJoin is part of a set, so you access it via `nix-build foo.nix -A netboot`
<clever> viric: then add a second attr to the set, to expose bootSystem.config.system.toplevel
<clever> viric: then build toplevel, and run `du -hc --max=0 $(nix-store -qR ./result) | sort -h | tail` on it, and look for fat you can trim
<CFS> @clever yes, that's clearly what's happening. Of course /nix/store doesn't have a dashboards directory, but it does have a yij69859qxzfb13lnynj8ad0jbldmmhz-dashboards
<CFS> so the question is how do I get the "nix name"
<clever> CFS: what config file did /nix/dashboards wind up in? can you pastebin that whole file?
<CFS> You mean the .nix file?
<clever> CFS: the config that nix generated
<clever> CFS: that is being passed to grafana
simba1 has quit [Ping timeout: 260 seconds]
<CFS> dashboards contain the .json files that were externally copied from somewhere else. But if you tell me how to get to that config file from the .nix file I'll be happy to paste it
mayhew has quit [Remote host closed the connection]
<CFS> The .nix file looks like this:
<CFS> dashboardJsonFiles =
<CFS> dirEntries = builtins.readDir dir;
<CFS> dir = "${../../../dashboards}";
<CFS> let
<CFS> jsonFiles = lib.filterAttrs
<CFS> (path: type: type == "regular" && lib.hasSuffix ".json" path)
<CFS> dirEntries;
<clever> ,paste CFS
<CFS> rawAttrs = map
<{^_^}> CFS: Use a website such as [ https://gist.github.com/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<CFS> (name: {
<CFS> name = "grafana/dashboards/${name}";
<CFS> value = {
<CFS> source = builtins.toFile name (builtins.readFile "${dir}/${name}");
<CFS> };
<clever> CFS: look at the command line grafana was being started with, what are its arguments?
<CFS> })
<CFS> (builtins.attrNames jsonFiles);
<CFS> in
CFS has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<clever> rip
simba1 has joined #nixos
<viric> clever: thank you!
<clever> viric: found some fat?
<viric> clever: nixpkgs
<viric> clever: what if I made initrd not compressed?
<clever> yeah, that adds line 300-400mb
<clever> viric: the utils dont give that option i think
<clever> but nixpkgs can be stripped
<viric> sure
<viric> clever: initrd.compressor = cat ?
CFS has joined #nixos
<clever> interesting idea....
<CFS> @clever: tolkien.freenode.net
<clever> viric: you could use disabledModules to nuke this file from the build, and then nixpkgs wont be included
<CFS> damn, sorry
<viric> clever: I did I did remove nixpkgs
<clever> CFS: first thing, is that the dir on line 3 is used by readDir and readFile, so it doesnt need to be quoted
<clever> CFS: just do a raw `dir = ../../../dashboards/;`
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #109041 → pcl: removed the broken labelling → https://github.com/NixOS/nixpkgs/pull/109041
<clever> CFS: also, line 12 is completely un-needed, just do `source = dir + "/${name}";`, skip that whole toFile and readFile mess
<clever> CFS: look at the command line grafana was being started with, what are its arguments?
<CFS> after doing those two changes the same eror remains: error: opening directory '/nix/dashboards': No such file or directory
<CFS> there's no grafana here yet
<clever> CFS: where is this file located?
<clever> CFS: can you pastebin the entire error, with --show-trace?
<CFS> let me see (not 100% trivial as I don't handle the upstream script that runs nix)
orivej has quit [Ping timeout: 264 seconds]
<clever> CFS: if this file was copied into the nix store the "wrong" way, then ../ wont be the directory your expecting
<CFS> --show-trace is not an arg for nix-build is it?
<clever> CFS: it is
<{^_^}> [nixpkgs] @fabaff opened pull request #115250 → python3Packages.msldap: 0.3.26 -> 0.3.27 → https://github.com/NixOS/nixpkgs/pull/115250
<clever> CFS: /nix/store/3b0qrgrj7r7ms98s3nhb4wgl943jxwia-vms/images/metrics.nix
<clever> CFS: your file got copied, only up to the images dir, so .. works, but ../.. goes too far
<clever> CFS: you need to find whatever is copying that images dir, and modify it to include more, or just not copy the expr into the nix store
<clever> CFS: can you pastebin more of the exprs? how was metrics.nix loaded?
stree has quit [Ping timeout: 246 seconds]
<CFS> @clever I run the build like this: nix-build -E '(import ../../nix {}).standardGcpImages.metrics' --show-trace
<CFS> let me find that .standardGcpImages
<CFS> standardGcpImages = self.lib.genAttrs
<CFS> [ "consul-server" "metrics" "nomad-server" "scene" "video" ]
<CFS> (name: (self.nixos "${../vms}/images/${name}.nix").config.system.build.googleComputeImage);
<clever> CFS: theres your problem, it only copied the vms dir, stop quoting paths
<clever> CFS: self.nixos (../vms + "/images/${name}.nix")
<clever> if its un-quoted, it remains as a special path object, and doesnt copy to the nix store
<clever> "${path}/foo" will copy path to the store, and omit amything in path/..
<clever> path + "/foo" creates a new path, identical to having just done something like ./path/foo
<clever> and nix will defer the copy until the last second, or possibly not copy at all
<CFS> Don't I actually want it into the nix-store?
<clever> you dont need metrics.nix in the store
<clever> nix will automatically copy things when it needs it, and quoting can force it to copy early, and potentially not enough
<viric> clever: I did something wrong and 750MB initrd uncompressed. let's see if it boots .)
<{^_^}> [nixpkgs] @dotlambda merged pull request #112908 → python3Packages.astroid: 2.4.2 -> 2.5.0 → https://github.com/NixOS/nixpkgs/pull/112908
<viric> no.
<CFS> @clever small detour, maybe you also have a solution to this? Could not access KVM kernel module: Permission denied
<CFS> qemu-system-x86_64: failed to initialize kvm: Permission denied
stree has joined #nixos
<CFS> (which I "fix" by chmod'ing /dev/pts
<CFS> /dev/kvm
<clever> CFS: you need write permissions to /dev/kvm
<clever> crw-rw-rw- 1 root kvm 10, 232 Mar 4 21:52 /dev/kvm
<clever> CFS: on nixos, its got write to everybody
<CFS> crw-rw----+ 1 root kvm 10, 232 Mar 6 04:06 /dev/kvm
<clever> CFS: but if you look at the default permissions, it may be in a group you could join
<clever> that + means there is an acl in place also
<clever> but if you just add yourself to the kvm group, it should work
<viric> clever: 650MB, firmware-linux-nonfree
<viric> 560
<viric> 100MB python! Python has grown to 100MB? an interpreter?
<clever> kill it with fire!
<clever> `nix why-depends`
<clever> nix why-depends ./result /path/to/python
<viric> auhm I've never seen that command
<clever> viric: you can mkForce those back to false, and the firmware will go away
<viric> clever: ZFS!
<viric> clever: that's what I did, about mkForce
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
<viric> clever: how can I take out zfs from the supported list?
philr has quit [Ping timeout: 245 seconds]
<viric> forcedly
<clever> viric: this module will try to detect if zfs is in the supportedFilesystems lists, you could maybe mkForce it to false, or disabledModules it
<viric> let's see
<{^_^}> [nixpkgs] @fabaff opened pull request #115251 → python3Packages.defusedxml: 0.6.0 -> 0.7.0 → https://github.com/NixOS/nixpkgs/pull/115251
_virkony_ has joined #nixos
<viric> clever: boot.zfs.enabled is not in release nixpkgs
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115200 → cython: 0.29.21 -> 0.29.22, backport Cython 3.0 trashcan support → https://github.com/NixOS/nixpkgs/pull/115200
<clever> viric: 20.09 is just using a stray var in a let block, so you cant force it off, but you can still use disabledModules to just omit zfs support from nixos entirely
<viric> I'll mkForce the supported fs in boot to []
mkaito has quit [Quit: WeeChat 3.0.1]
virkony has quit [Ping timeout: 245 seconds]
gueorgui has quit [Ping timeout: 276 seconds]
MmeQuignon has joined #nixos
CFS has quit [Remote host closed the connection]
simba1 has quit [Ping timeout: 240 seconds]
simba1 has joined #nixos
CFS has joined #nixos
<viric> clever: it booted further. "/initrd.image incomplete write" linux says
<clever> viric: havent seen that before, how big is the initrd? put the gz back?
ahmed_elgabri has joined #nixos
<viric> what can our kernel unpack?
<clever> [root@amd-nixos:~]# modprobe configs
<clever> [root@amd-nixos:~]# cat /proc/config.gz | gunzip | grep CONFIG_RD
<clever> viric: on my box, gzip, bzip2, lzma, xz, lzo, lz4
<viric> 0all
<viric> I'll try xz
poscat has quit [Quit: ZNC 1.8.2 - https://znc.in]
poscat has joined #nixos
<CFS> OK this is working. thanks a lot for your help @clever
<clever> yep
<viric> clever: the other day I had a question... how would we use the nix toolchain to produce binaries for a standard sysroot?
<viric> nixpkgs gcc's I mean
<CFS> Now I need to decide about my nix life :-) I guess I should just switch to nixOS and embrace it fully and I'm going to be miserable each time I need to change a small thing
ahmed_elgabri has quit [Ping timeout: 272 seconds]
<clever> viric: the gcc that comes with nix has been heavily patched, to actively reject /usr/lib and to add rpath's into the store
<viric> clever: exactly
<clever> viric: you could just build it the nix way, and then use patchelf to un-nix it
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
<viric> patchelf used to break some binaries, long ago...
<clever> the FHS env used by things like steam, just symlinks them to look like a normal /usr/bin, but it still has the normal nix RPATH
m0rphism has quit [Ping timeout: 245 seconds]
<clever> but its also mixing in some libs from debian
<viric> ah
<clever> to avoid compatability problems from using the wrong versions
<viric> I thought all magic was in gcc-wrapper
<viric> but if gcc is also patched...
<clever> i think its a bit of both
<viric> clever: linux didn't like my "xz -T0" image
stampirl has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
CFS has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Trundle opened pull request #115253 → ponyc: 0.38.3 -> 0.39.0 → https://github.com/NixOS/nixpkgs/pull/115253
CFS has joined #nixos
m0rphism has joined #nixos
<viric> clever: how would I remove 'stdenv' that system.extraDependencies adds in installation base?
<viric> fg
<viric> maybe force extraDependencies
<clever> yeah, mkforce should do it
<viric> I hope that doesn't take out too much (mkForce [] there)
cransom has quit [Quit: WeeChat 2.9]
nixnoob has joined #nixos
<exarkun> anyone know if https://spectrum-os.org/ is still being pursued>
<exarkun> It looks inactive but I don't know if that's because lack of resources or someone decided it's not a good idea
<viric> clever: isn't there any userspace thing I could use to serve a rootfs quickly?
<clever> viric: tgtd and iscsi
<clever> viric: you would build a config using fileSystems."/" = { device = "UUID=whatever"; iscsi = { enable = true; host="1.2.3.4"; lun = "something"; }; };
<viric> Ah I see
<viric> why isn't that on nixpkgs? :)
<clever> viric: but to create the rootfs itself, you would need to either build a disk image and share that, or connect it to a temporary box, and nixos-install to it
cransom has joined #nixos
CFS has quit [Quit: Leaving]
<viric> Ah I see
<clever> viric: and the server end, which is still buggy, it completely breaks the link if nixos-rebuild tries to restart tgtd
<viric> that's a block device thing
<viric> even nbd maybe would work
<sterni> exarkun: I bet you can ask in #spectrum probably although qyliss also hangs around in here
<viric> I wondered maybe a nfsv4 server...
<clever> viric: ive found nbd to be rather unreliable, iscsi surprisingly even has windows support
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115220 → python3Packages.py-cpuinfo: add sysctl to runtime dependencies → https://github.com/NixOS/nixpkgs/pull/115220
<clever> viric: so i can expose a zvol to my windows box, and windows just says "sure" and treats it like another block dev, toss ntfs on, and your apps are all happy
<viric> I see
<viric> I wondered more of something in the lines of https://github.com/willscott/go-nfs
<exarkun> sterni: Oh, #spectrum, cool. Thanks. :)
<clever> viric: ive discovered that nfs can be problematic when the client is 32bit, and the server has certain fs combinations
<clever> viric: if you are using xfs, with a disk over 1tb in size, then you wind up with inode numbers over 32bits long
<clever> viric: nfs will happily carry those inode numbers over the network
<clever> viric: a 32bit userland then goes EOVERFLOW when you try to ls a dir with 32bit tools, that had been built without large-file support
<viric> mpf
<clever> viric: half of the bootstrap code in nixpkgs is built without that.....
<viric> It always feels as if in linux people don't use network filesystems
<clever> viric: so it randomly tells you, file not found, when the file clearly is found
<clever> viric: because nobody expected readdir() to return an actual error! lol
<viric> why we have bootstrap pieces without large-file support?
<viric> to save a few bytes
<clever> if it returns non-zero, it must be the end of the dir!
<viric> ?
<clever> it has to be enabled by the configure script (by default)
<viric> all broken. and nfsv4 didn't fix that?
<clever> and a lot of packages just didnt opt-in
<clever> and you just never notice, if your not using something like xfs on a huge disk
<viric> ok
<clever> nfs does have an option to just truncate the inode numbers to 32bits
<clever> but i'm not sure how much i woudl trust it, it would lead to inode collisions
<viric> no way to netboot this with that initrd... meh.
simba1 has quit [Ping timeout: 260 seconds]
<viric> clever: not good, not
<viric> and there is no other networkfs that can be used as root?
<clever> viric: oh yeah, and you dont even need to serve the kernel/initrd over ipxe, when using iscsi
<clever> sanboot iscsi:192.168.2.11:::1:iqn.2016-01.laptop-root
<viric> what is that?
<clever> viric: if you do this in ipxe, it will hijack the legacy bios routines for reading a hdd, and map an iscsi device to it
<viric> a uefi thing?
<viric> AH
<clever> viric: so anything doing legacy bios calls to read the internal disk, will wind up reading iscsi instead
<viric> ok
<clever> plain grub can then boot from that block device
<clever> witout any netboot support
<clever> grub thinks its an internal hdd!
j has joined #nixos
<viric> I'm surprised there is not a poor man's network fs
<clever> ive also been wanting a better file level network fs
simba1 has joined #nixos
<clever> nfs has caused me troubles randomly
<clever> and iscsi only lets 1 client write at a time, preferably 1 client with entirely exclusive access
<clever> iscsi can support multiple writers, but you need an fs that allows it, and a server to coordinate writes
<viric> maybe linux can boot from 9p?
<viric> that's because qemu has a 9p thing, iirc
<clever> viric: the qemu test framework is using 9p's virtio backend, to mount a host fs in the guest, and skip any block devs
<viric> hm I have diod, ...
<ar> clever: OCFS :^)
* ar runs
<{^_^}> [nixpkgs] @git-machete-intellij-plugin-bot opened pull request #115255 → gitAndTools.git-machete: 2.16.1 -> 3.0.0 → https://github.com/NixOS/nixpkgs/pull/115255
<{^_^}> [nixpkgs] @github-actions[bot] closed pull request #115226 → python3Packages.trustme: skip disallowed w+x test on aarch64-darwin → https://github.com/NixOS/nixpkgs/pull/115226
<{^_^}> [nixpkgs] @SuperSandro2000 reopened pull request #115226 → python3Packages.trustme: skip disallowed w+x test on aarch64-darwin → https://github.com/NixOS/nixpkgs/pull/115226
vidbina_ has joined #nixos
<ehmry> clever: 9p is the better network fs, the problem is that unix was designed for networking, and thus linux sucks at it
<ehmry> *not designed for networking
<clever> ehmry: in the past, ive has nfs deadlock because i shutdown the server (a laptop) and took it with me on a trip
simba1 has quit [Ping timeout: 260 seconds]
sangoma has quit [Ping timeout: 260 seconds]
<clever> ehmry: every 5 mins, cron would run `df -h`, and it would deadlock, and 1000's of them built up
<clever> and they slowly slipped into swap
<{^_^}> [nixpkgs] @peti merged pull request #114517 → Update Haskell package set to Stackage Nightly 2021-02-25 (plus other fixes) → https://github.com/NixOS/nixpkgs/pull/114517
<clever> when i got home, turned the laptop back on, every single df woke up
<clever> and all 1000 of them started fighting over ram at once
simba1 has joined #nixos
<viric> ehmry: so how would you start a 9p rootfs for a network linux?
<ehmry> I wouldn't :/
sangoma has joined #nixos
<viric> the initrfs should start / on tmpfs, and mount nix with 9p
<viric> hehe coward
<clever> viric: in theory, just do fileSystems."/" = something; and it will just work
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JqT8p
<clever> you can test on a non-root dir first, to figure out what args are needed
<viric> can qemu boot pxe, for the test?
<clever> yeah
<viric> auhm
<clever> ipxe has a dozen build targets, including what looks like a linux kernel
<clever> and qemu can run it
<clever> oh, where did i put it...
<ehmry> the problem is people use mmap instead of proper i/o on linux
<viric> don't worry don't worry
<viric> ehmry: ah
<viric> ehmry: and linux cannot translate the mmap to something of the network fs?
<clever> viric: there it is, -kernel ${config.system.build.ipxe}/ipxe.lkrn
<clever> the .lkrn file, is ipxe packaged to look like a linux kernel
<clever> -net user,tftp=${config.system.build.ftpdir}/
<viric> Aha
<clever> qemu can also emulate a tftp server
<viric> you have a good stock of .nix
<clever> so you can skip having to run one
<ehmry> viric: its not really possible, the tradeoff is you get something that is probably fast but you can't have a distributed operating system
<{^_^}> [nixpkgs] @peti opened pull request #115256 → Update Haskell package set to Stackage Nightly 2021-03-06 (plus other fixes) → https://github.com/NixOS/nixpkgs/pull/115256
<viric> ehmry: one thing is a networkfs and the other is a distsributed os, no?
<ehmry> yes, but 9p is explicitly a protocol for a distributed os
<viric> agreed
<ehmry> i've tried this 9p root thing, but stuff like get wont work through it
<viric> aha
<viric> good to know
MmeQuignon has quit [Ping timeout: 240 seconds]
D_ has quit [Ping timeout: 245 seconds]
<ehmry> yea, it depends what you want to do, it'll work for some use-cases
<viric> Well I thought more of a readonly 9p /ix
<viric> /nix
<ehmry> *git
<viric> and root on tmpfs
<viric> I have trouble shrinking the initrd image...
D_ has joined #nixos
orivej has joined #nixos
blissdev has quit [Quit: Connection closed for inactivity]
mallox has quit [Quit: WeeChat 3.0.1]
mallox has joined #nixos
<{^_^}> [nixpkgs] @humancalico opened pull request #115258 → vimPlugins.tremor-vim: init at 2020-11-19 → https://github.com/NixOS/nixpkgs/pull/115258
<viric> clever: grub wants zfsuser that wants python again
<clever> [root@amd-nixos:~]# nix edit -f '<nixpkgs>' grub2
<clever> 9 , zfsSupport ? false
<clever> [clever@amd-nixos:~/apps/nixpkgs]$ man configuration.nix
<clever> boot.loader.grub.zfsSupport
<clever> viric: try the config first? and then override grub2 if that isnt enough
<viric> grub2_light, I know. It's netboot.nix...
<clever> where is grub becoming a dep?
<viric> I ended up editing nixpkgs. I don't master that much the options overriding on arrays. or at all.
<viric> clever: added to system packages
<viric> netboot.nix iirc
bitmapper has joined #nixos
<clever> may need an override, setting grub2 = super.grub2.override { zfsSupport = false; };
nixnoob has quit [Ping timeout: 240 seconds]
lsix has joined #nixos
<viric> clever: I don't think so, because it's just grub2 listed in systemPackages
<viric> the main boot grub option is disabled
<clever> modules/installer/netboot/netboot.nix: else [ pkgs.grub2 pkgs.syslinux ]);
j has quit [Quit: K-Lined]
<viric> and the efi above!
j has joined #nixos
<clever> delete!, delete!
<viric> :) definitely
<viric> I wonder why linux xz decoder couldn't pick the initrd compressed with 'xz'
jess has quit [Quit: K-Lined]
<viric> ah I see in xz page. --check=crc32
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #115255 → gitAndTools.git-machete: 2.16.1 -> 3.0.0 → https://github.com/NixOS/nixpkgs/pull/115255
<clever> viric: i ran into similar problems with the cpio used to make an initrd, it needs `-H newc`
<viric> hm
<viric> well that's cpio, not the compressor.
<clever> yeah, but a lot of the tools need special options, due to the kernel being more limited in its unpacking
<viric> grub uses 25MB... how can grub be so big
<viric> I'm about to give up
<clever> viric: grub shouldnt be needed, try removing it entirely?
<clever> viric: why does this system have so little ram?
<viric> it's a small computer and I don't have any other ddr2 at hand
<viric> likely it won't be able to run nixos-rebuild...
<clever> viric: swap
<viric> zram even, maybe
<{^_^}> [nixpkgs] @yevhenshymotiuk opened pull request #115259 → python3Packages.pipx: 0.16.0.0 -> 0.16.1.0 → https://github.com/NixOS/nixpkgs/pull/115259
<viric> my initrd is at 300MB ...
<viric> Can't it be that PXE puts the initrd image in a bad physical address so it's crippled?
<clever> [clever@amd-nixos:~]$ nix-build '<nixpkgs/nixos>' -A config.system.build.toplevel --arg configuration '{ imports = [ <nixpkgs/nixos/modules/installer/netboot/netboot-minimal.nix> ]; }'
isaacr24 has joined #nixos
zebrag has joined #nixos
<viric> that's it, yes
supersandro2000 has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
<clever> removing the firmware dropped mine from 1.4gig to 900mb
<viric> sure, it's big
<isaacr24> Hi. The test suites for time-compat-1.9.2.2 and GHC 8.6.5 are failing. For whatever reason, when I nix-build and use the `dontCheck` override, the tests go anyway.
<clever> system.extraDependencies shaved another 100mb off
<viric> clever: I'm at 770MB
<isaacr24> I'm a nix novice, any tips would be much appreciated
dev_mohe has joined #nixos
stree has quit [Ping timeout: 245 seconds]
<viric> isaacr24: what is "that" override?
dev_mohe has quit [Client Quit]
<viric> clever: I think the problem is more pxe than ram, now
<clever> viric: down to 670mb now
<clever> [clever@amd-nixos:~]$ nix-build '<nixpkgs/nixos>' -A config.system.build.toplevel --arg configuration '{ lib, ... }: { imports = [ <nixpkgs/nixos/modules/installer/netboot/netboot-minimal.nix> ]; hardware.enableAllFirmware=false; hardware.enableRedistributableFirmware = lib.mkForce false; system.extraDependencies = lib.mkForce []; disabledModules = [ "installer/cd-dvd/channel.nix" ]; }'
<isaacr24> I'm working from an obelisk skeleton default.nix
lunik1 has quit [Read error: Connection reset by peer]
<isaacr24> overrides = self: super: with pkgs.haskell.lib; ......
<isaacr24> time-compat = dontCheck (self.callCabal2nix "time-compat" src.time-compat {});
lunik1 has joined #nixos
<viric> isaacr24: ah I don't know that function
<clever> viric: it just does an overrideCabal, with doCheck = false;
<isaacr24> there it is
<isaacr24> it's very odd, since this works for my other packages
<isaacr24> builder for '/nix/store/g8hnl1zjiq8fsp9gnmgi4crpz1ymv9k9-time-compat-1.9.2.2.drv' failed with exit code 1 cannot build derivation '/nix/store/xvdp9dl6jcaisgr9dsckl2kahdr01k5d-aeson-1.4.4.0.drv': 1 dependencies couldn't be built
<isaacr24> I think the issue is that the derivation for aeson is choosing `time-compat` on its own, and ignoring that I'm trying to `dontCheck` on it
<clever> viric: profiles/base.nix looks like more fat to trim...
<clever> viric: 655mb -> 531mb!
<{^_^}> [nixpkgs] @FRidh merged pull request #114452 → Staging next → https://github.com/NixOS/nixpkgs/pull/114452
<isaacr24> ok so the aeson derivation is pointing to a specific time-compat package to build -- I don't know how to say `dontCheck` for the dependency
<isaacr24> before, I could do this in an override in default.nix, but it's ignoring that ovveride
<clever> isaacr24: if you are applying an overlay correctly, it should change the time-compat used by everything
zebrag has quit [Read error: Connection reset by peer]
<isaacr24> time-compat = dontCheck (self.callCabal2nix "time-compat" src.time-compat {});
zebrag has joined #nixos
<isaacr24> I think I'm not doing it correctly
<clever> isaacr24: can you pastebin that whole file?
<clever> [clever@amd-nixos:~]$ nix-build '<nixpkgs/nixos>' -A config.system.build.toplevel --arg configuration '{ lib, ... }: { imports = [ <nixpkgs/nixos/modules/installer/netboot/netboot-minimal.nix> ]; hardware.enableAllFirmware=false; hardware.enableRedistributableFirmware = lib.mkForce false; system.extraDependencies = lib.mkForce []; disabledModules = [ "installer/cd-dvd/channel.nix" "profiles/base.nix" ]; nixpkgs.overlays = [ (self: super: { grub=self.utilli
<isaacr24> there you go
<clever> viric: this gets it down to 502mb before the squashfs
<clever> viric: ack, irc cut it short
stree has joined #nixos
<isaacr24> it's also weird that I can change the version of time-compat in default.nix, but it always builds 1.9.2.2
<viric> clever:
<viric> clever: I think I give up... every attempt is frutiless
<clever> viric: sometimes, its simpler to just rip the hdd out, mount it elsewhere, nixos-install, and then boot that back in the target
<viric> clever: I'll try to get a USB thing
<clever> isaacr24: assuming default.nix is using the overrides on line 31 right, that should work
<viric> clever: It looks like should be able to have a 4MB initrd image that just mounts a nixos from a signed http thing
<viric> Doesn't that exist?
<q3k[m]> does anyone know of a buildFHSUserEnv alternative (for nix-shelling) that would 'properly' build an ld cache instead of using LD_LIBRARY_PATH to point at target libraries?
<isaacr24> Not working -- it always builds 1.9.2.2, even when I change it to 1.9.4, for example
<q3k[m]> ie. that would have a function linker with a fully yeeted env
<clever> viric: ive not seen any that mount over http(s)
<viric> some kind of 'verity' signed from the net directly
<{^_^}> [nixpkgs] @dotlambda opened pull request #115260 → pythonPackages.python_magic: fix build and run tests → https://github.com/NixOS/nixpkgs/pull/115260
<{^_^}> [nixpkgs] @koslambrou opened pull request #115261 → eddy: init at 1.2.1 → https://github.com/NixOS/nixpkgs/pull/115261
Joaquinito3747 has joined #nixos
Joaquinito3747 is now known as tsfs
simba1 has quit [Ping timeout: 240 seconds]
cole-h has joined #nixos
simba1 has joined #nixos
<{^_^}> [nixpkgs] @davidak merged pull request #113382 → python3Packages.pytest: 6.1.2 -> 6.2.2 → https://github.com/NixOS/nixpkgs/pull/113382
<viric> the 20.09 channel says 'firefox is marked broken'?
<viric> AH i686-linux firefox is broken? meh
<viric> "# since Firefox 60, build on 32-bit platforms fails with "out of memory""
<clever> viric: i had the same issue many years ago, just running the linker alone required over 3gig of ram
<viric> But likely we can tell the linker to do something better
<viric> maybe they do LTO or something crazy by default
<viric> I'll try
<{^_^}> [nixpkgs] @FRidh closed pull request #101771 → WIP: python3.pkgs.maturin: PEP 517 build backend → https://github.com/NixOS/nixpkgs/pull/101771
<patagonicus> IIRC either Firefox or Chrome or both at some point had to move their x86 builds to amd64 since they wouldn't build on 32 bit systems anymore. So Firefox is probably not tested for building on 32 bit, just that 32 bit Firefox built on 64 bit systems works.
<viric> so they cross-build?
<clever> yeah, cross-compile from 64->32 is one simpler option
<clever> nixos doesnt give you that option right now
<clever> rather then doing multi-lib or cross, nixos just makes a 100% pure 32->32 env
<viric> sure
<viric> I'll have a look
<viric> Just in case they use a too pretentious linking
<{^_^}> [nixpkgs] @marsam opened pull request #115262 → tflint: 0.24.1 -> 0.25.0 → https://github.com/NixOS/nixpkgs/pull/115262
meh` has joined #nixos
<viric> chromium 32-bit is fine I think
<{^_^}> [nixpkgs] @KAction opened pull request #115263 → passphrase2pgp: init at 1.1.0 → https://github.com/NixOS/nixpkgs/pull/115263
ewok[m] has quit [Quit: Idle for 30+ days]
anon1312[m] has quit [Quit: Idle for 30+ days]
ManiacOfMadness has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 9 commits to master: https://git.io/JqT0U
isaacr24 has quit [Ping timeout: 264 seconds]
vidbina_ has quit [Ping timeout: 245 seconds]
<viric> ah no, chromium 32-bit is like without broken mark
<{^_^}> [nixpkgs] @ThomasMader opened pull request #115265 → Dlang update → https://github.com/NixOS/nixpkgs/pull/115265
<viric> So what would be a browser in nixos i686-linux?
<clever> midori?
<viric> maybe
<viric> I'd expect all webkit things broken though
Rusty1 has joined #nixos
nckx is now known as jorts
<Rusty1> ,locate qutebrowser
<{^_^}> Found in packages: qutebrowser, profile-sync-daemon
<i1l> Rusty1++
<{^_^}> Rusty1's karma got increased to 1
jonringer has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « python37Packages: no longer recurse into set »: https://git.io/JqT0A
* i1l nomad-browser, nyxt..?
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<{^_^}> [nixpkgs] @minijackson opened pull request #115267 → gnvim: fix install phase with Rust with custom target → https://github.com/NixOS/nixpkgs/pull/115267
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #112449 → Add response file support when compiling with clang → https://github.com/NixOS/nixpkgs/pull/112449
Rusty1 has left #nixos ["Konversation terminated!"]
<{^_^}> [nixpkgs] @marsam opened pull request #115268 → shadowsocks-rust: 1.9.1 -> 1.9.2 → https://github.com/NixOS/nixpkgs/pull/115268
<avn> Just curious -- what mean `Resolved derivation: '/nix/store/dsnhbm2a2sc2waf2x61h3fngw7dllyms-zoom_x86_64.pkg.tar.xz.drv' -> '/nix/store/dg2xvzvrxy8bh05psqagv2hb51rpwgdg-zoom_x86_64.pkg.tar.xz.drv'...`
<avn> looks like something new
alexherbo2 has joined #nixos
<gchristensen> huh is that something with CA derivations
oida has quit [Remote host closed the connection]
isaacr24 has joined #nixos
mallox has quit [Quit: WeeChat 3.0.1]
PotentialUser-93 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #115269 → rubocop: 1.10.0 -> 1.11.0 → https://github.com/NixOS/nixpkgs/pull/115269
oida has joined #nixos
<{^_^}> [nixpkgs] @fabaff closed pull request #112786 → python3Packages.python-magic: 0.4.18 -> 0.4.20 → https://github.com/NixOS/nixpkgs/pull/112786
fendor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #115126 → nfpm: 2.2.5 -> 2.3.1 → https://github.com/NixOS/nixpkgs/pull/115126
fendor has joined #nixos
<PotentialUser-93> Hello. How should systemd DynamicUser work with TLS certs? I use NixOS to copy LetsEncrypt certs to /var/certs/matrix but naturally that doesn't work. I'm trying to run matrix-dendrite which is PR109561.
Jd007 has joined #nixos
tsfs has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @gspia opened pull request #115270 → Add kitsas, an accounting application → https://github.com/NixOS/nixpkgs/pull/115270
isaacr24 has quit [Quit: Leaving]
<PotentialUser-93> Should have been clearer: the issue is permissions, due to DynamicUser I don't know which user accesses the certs so I can't set the permissions manually. When the certs are updated I don't know if dendrite is running so I can't copy the certs to /var/lib/matrix-dendrite (and even then the permissions may be wrong).
<{^_^}> [nixpkgs] @marsam merged pull request #114822 → python37Packages.pglast: 1.14 -> 1.17 → https://github.com/NixOS/nixpkgs/pull/114822
ManiacOfMadness has quit [Ping timeout: 272 seconds]
simba1 has quit [Ping timeout: 240 seconds]
<cole-h> PotentialUser-93: You can add an `SupplementaryGroups` to the unit config, where the group has access to that path
<viric> the linux consoles don't have scroll as in shift-prev page?
mayhew has joined #nixos
simba1 has joined #nixos
cole-h has quit [Ping timeout: 245 seconds]
simba1 has quit [Ping timeout: 260 seconds]
simba1 has joined #nixos
<viric> they used to have scroll
<{^_^}> [nixpkgs] @yoctocell opened pull request #115271 → tor-browser-bundle-bin: 10.0.12 -> 10.0.13 → https://github.com/NixOS/nixpkgs/pull/115271
<PotentialUser-93> cole-h Thanks! That seems to be exactly what I need!
<clever> viric: the scrollback buffer is lost if you change to a different tty
<viric> clever: that used to be. but now even not in one
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #115273 → lxd: 4.11 -> 4.12 → https://github.com/NixOS/nixpkgs/pull/115273
PotentialUser-93 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
fendor has quit [Ping timeout: 265 seconds]
fendor has joined #nixos
<viric> clever: when it gets into the non-text console (framebuffer), scrollbuffer is gone
<clever> fbcon also complicates matters
Jd007 has quit [Quit: Jd007]
<viric> how can it be so much a disaster?
<clever> probably a lack of people using console mode
<{^_^}> [nixpkgs] @marsam opened pull request #115274 → syncthing: 1.13.1 -> 1.14.0 → https://github.com/NixOS/nixpkgs/pull/115274
<viric> what is fbcon? A kernel thing?
simba1 has quit [Ping timeout: 260 seconds]
<dominikh> is anyone here familiar with CUPS and foomatic? I'm trying to package https://github.com/philpem/printer-driver-ptouch but it only comes with XML files and I have no idea how to turn them into PPD files, or how to hook them into CUPS and automatic printer detection without turning them into PPD files. I couldn't find any other printer package in nixpkgs that has to do this, either. everyone else
<dominikh> seems to ship PPD files in their tarballs…
civodul has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
simba1 has joined #nixos
zebrag has joined #nixos
<dominikh> I'm beginning to think that we don't package enough of foomatic for this
waleee-cl has joined #nixos
jorts is now known as nckx
Rusty1 has joined #nixos
stree has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @dfoxfranke opened pull request #115276 → nvidia-x11: 460.39 -> 460.56 → https://github.com/NixOS/nixpkgs/pull/115276
simba1 has quit [Ping timeout: 264 seconds]
simba1 has joined #nixos
gustavderdrache has joined #nixos
prsteele has joined #nixos
alexherbo21 has joined #nixos
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo21 is now known as alexherbo2
<prsteele> Hello everyone. I'm trying to figure out an idiomatic approach to the following problem. I have a valid shell.nix file that I would like to instantiate with one additional dependency. I'm happy to invoke this alternate shell in another file, such as linting.nix. Is there a common pattern for gluing two shell.nix files together?
Rusty1 has left #nixos ["Konversation terminated!"]
stree has joined #nixos
<prsteele> I could imagine a solution that involves concatenating two imported buildInputs, but I'm not sure if there is anything else I'd need to propagate from each shell
alexherbo24 has joined #nixos
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo24 is now known as alexherbo2
proofofkeags has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
<ronthecookie> im working on a rust project that links to libpulse yet ldd cant find libpulse: https://termbin.com/w1jz
<infinisil> prsteele: That's exactly what the `inputsFrom` argument from the `pkgs.mkShell` function is for :)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115262 → tflint: 0.24.1 -> 0.25.0 → https://github.com/NixOS/nixpkgs/pull/115262
<Yaniel> viric: FrameBuffer CONsole
<prsteele> that definitely looks promising, thanks infinisil
<Yaniel> viric: one of the non-graphical consoles yes
<prsteele> in that example there are three packages mentioned --- do you know what the semantic difference is between using inputsFrom and buildInputs? Naively I would have expected all three to be in either buildInputs or inputsFrom
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115250 → python3Packages.msldap: 0.3.26 -> 0.3.27 → https://github.com/NixOS/nixpkgs/pull/115250
<infinisil> prsteele: inputsFrom takes the buildInputs (and co.) from the listed packages, and inserts them into the buildInputs of the shellFor itself
<infinisil> So inputsFrom doesn't actually need to build its inputs, it only needs the dependencies
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115258 → vimPlugins.tremor-vim: init at 2020-11-19 → https://github.com/NixOS/nixpkgs/pull/115258
<infinisil> Which is in contrast to buildInputs, which do need to be built (as do all dependencies of all inputsFrom)
fendor_ has joined #nixos
<prsteele> okay, I think I have a better mental model now. I think I actually want to shove something in buildInputs (my linter) and inputsFrom (my package derivation that I want to lint)
kenran has joined #nixos
<infinisil> Hmm not sure
<prsteele> (concretely I'm trying to get a shell with haskell-language-server built to introspect my package)
<infinisil> Oh, I guess mkShell probably isn't what you want then actually
<infinisil> prsteele: How about just adding `withHLS ? false` as an argument to your shell.nix, then using `buildInputs = [ ... ] ++ lib.optional withHLS haskell-language-server`
_bin has quit [Ping timeout: 256 seconds]
fendor has quit [Ping timeout: 265 seconds]
<infinisil> Could then also have a separate file `hls-shell.nix` just consisting of `import ./shell.nix { withHLS = true; }`
<prsteele> that also sounds reasonable
<prsteele> (I can solve this trivially by just making my package depend on hls directly, but that isn't a reasonable thing to do if I want to publish it)
_bin has joined #nixos
<prsteele> although mkShell appears to be working
higherorder__ has quit [Ping timeout: 240 seconds]
davetapley has quit [Ping timeout: 240 seconds]
<prsteele> hm, perhaps not --- cabal build is missing some dependencies with the mkShell approach
<{^_^}> [nixpkgs] @Ekleog merged pull request #115130 → xfce module: enable notification daemon by default → https://github.com/NixOS/nixpkgs/pull/115130
higherorder__ has joined #nixos
davetapley has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115236 → python3Packages.transformers: 4.3.2 -> 4.3.3 → https://github.com/NixOS/nixpkgs/pull/115236
jmeredith has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115238 → python3Packages.tokenizers: 0.10.0 -> 0.10.1 → https://github.com/NixOS/nixpkgs/pull/115238
<prsteele> thanks infinisil. I'll report back when I find something that works... should probably go update some stackoverflow questions that ask this same quesetion without a satisfactory answer
davidv7 has quit [Remote host closed the connection]
griff_ has joined #nixos
poscat has quit [Ping timeout: 245 seconds]
Jd007 has joined #nixos
sterni has quit [Ping timeout: 272 seconds]
carthia has joined #nixos
sterni has joined #nixos
<{^_^}> [nixpkgs] @deviant opened pull request #115277 → vscx/ms-vsliveshare-vsliveshare: 1.0.2902 -> 1.0.3912 → https://github.com/NixOS/nixpkgs/pull/115277
<{^_^}> [nixpkgs] @mweinelt merged pull request #115016 → home-assistant: 2021.2.3 -> 2021.3.0 → https://github.com/NixOS/nixpkgs/pull/115016
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #112909 → vscx/ms-vsliveshare-vsliveshare: 1.0.2902 -> 1.0.3629 → https://github.com/NixOS/nixpkgs/pull/112909
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #115228 → treewide: unzip buildInputs to nativeBuildInputs (2) → https://github.com/NixOS/nixpkgs/pull/115228
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115230 → @electron-forge/cli: init at 6.0.0-beta.54 → https://github.com/NixOS/nixpkgs/pull/115230
jmeredith has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #115276 → nvidia-x11: 460.39 -> 460.56 → https://github.com/NixOS/nixpkgs/pull/115276
<{^_^}> [nixpkgs] @github-actions[bot] closed pull request #115251 → python3Packages.defusedxml: 0.6.0 -> 0.7.0 → https://github.com/NixOS/nixpkgs/pull/115251
j is now known as jess
supermarin has joined #nixos
<hpfr> how can I check my mesa version used with steam?
<clever> hpfr: /proc/PID/maps, shows all libraries mapped by a given pid, mesa should be in that mix
<ambroiseur> Hello peeps
prsteele has quit [Remote host closed the connection]
prsteele has joined #nixos
<ambroiseur> Does anyone use Jellyfin with additional plugins ? I can't ever seem to install them
<hpfr> clever: where the PID is of a game that's running, right?
<clever> hpfr: yeah
<ambroiseur> I'm mostly interest in the Trakt.tv scrobbler, and every time I try to install it, I just get an infinite loading spinner from the webui
orivej has joined #nixos
<ambroiseur> s/interest/interested
<{^_^}> [nixpkgs] @LeSuisse opened pull request #115278 → botan2: 2.17.2 -> 2.17.3 → https://github.com/NixOS/nixpkgs/pull/115278
zupo has joined #nixos
<{^_^}> [nixpkgs] @davegallant opened pull request #115280 → awscli2: 2.1.17 -> 2.1.29 → https://github.com/NixOS/nixpkgs/pull/115280
<{^_^}> [nixpkgs] @jtojnar pushed 20 commits to staging-next: https://git.io/JqToR
alexherbo2 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 65 commits to staging: https://git.io/JqToi
zupo has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @ajs124 opened pull request #115281 → targetcli: 2.1.53 -> 2.1.54 → https://github.com/NixOS/nixpkgs/pull/115281
berberman has joined #nixos
berberman_ has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @LeSuisse opened pull request #115282 → smarty3: 3.1.36 -> 3.1.39 → https://github.com/NixOS/nixpkgs/pull/115282
m4ts has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115232 → nyxt: change meta.platforms to platforms.all → https://github.com/NixOS/nixpkgs/pull/115232
<{^_^}> [nixpkgs] @SuperSandro2000 reopened pull request #115251 → python3Packages.defusedxml: 0.6.0 -> 0.7.0 → https://github.com/NixOS/nixpkgs/pull/115251
zupo has joined #nixos
<ambroiseur> Okay so for future reference, it was because the plugins have been updated for the next version of jellyfin, and the current version does not check if a plugin is compatible with itself
<{^_^}> [nixpkgs] @xantoz opened pull request #115283 → audacity: change meta.platforms to platforms.linux → https://github.com/NixOS/nixpkgs/pull/115283
<ambroiseur> So installing the previous version works as expected
zupo has quit [Client Quit]
growpotkin has joined #nixos
zupo has joined #nixos
allgreed14 is now known as allgreed
ambroiseur is now known as ambroisie
alexherbo27 has joined #nixos
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo27 is now known as alexherbo2
<viric> clever: ah it's cargo linker that dies
stree has quit [Quit: Caught exception]
<viric> in 32-bit firefox
stree has joined #nixos
<viric> this rust is a masochistic with its compile and link times.
ericsagnes has quit [Ping timeout: 240 seconds]
<prsteele> infinisil I ended up going with https://pastebin.com/FqF9mswA
<clever> viric: ah, rust wasnt even started (i think), when i first had such linker problems
<prsteele> essentially, swap out mkDerivation for one that injects new dependencies. This allows me to reuse whatever magic is in the Haskell mkDerivation
<clever> back when i still ran gentoo, and had to compile firefox
<ronthecookie> sigh, my nix-shell got gc'ed out of the store so when i tried to use a binary that links with something built in it it broke
<ronthecookie> i have been debugging this for hours
griff_ has quit [Quit: griff_]
<clever> ronthecookie: run ldd on the binary, then run `nix-store -r` on the relevant missing paths
bhoman has quit [Ping timeout: 246 seconds]
<clever> if its in the cache, that will re-fetch it
<ronthecookie> clever: it wouldn't be in the cache, and anyhow i just rebuilt it
<{^_^}> [nixpkgs] @LeSuisse opened pull request #115284 → stunnel: 5.56 -> 5.58 → https://github.com/NixOS/nixpkgs/pull/115284
<clever> ah
<ronthecookie> it was generated from an old shell.nix
<ronthecookie> it's weird, sometimes nix gets in the way and sometimes its so nicee
Hurttila has joined #nixos
bhoman has joined #nixos
simba1 has quit [Ping timeout: 260 seconds]
cript0nauta has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #114196 → libtiff: 4.1.0 -> 4.2.0 → https://github.com/NixOS/nixpkgs/pull/114196
simba1 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ericsagnes has joined #nixos
<sshow> ,locate xkeyboardconfig
<{^_^}> Found in packages: lxpanel
<sshow> ,locate xkeyboard_config
<{^_^}> Couldn't find in any packages
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
meh` has quit [Ping timeout: 260 seconds]
kenran has quit [Remote host closed the connection]
maier has joined #nixos
dev_mohe has joined #nixos
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @toonn opened pull request #115285 → bitlbee-facebook: 1.2.1 -> 1.2.2 → https://github.com/NixOS/nixpkgs/pull/115285
jonringer has quit [Ping timeout: 240 seconds]
<m1cr0man> Hey folks! I'm trying to convert an openldap config that was using extraConfig options to use the new "settings" module (AKA slapd.conf -> OLC conversion). I was wondering if someone knew a good bit about doing this that I could bounce questions off?
vulpine has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115051 → treewide (darwin): fix or enable darwin build for many packages → https://github.com/NixOS/nixpkgs/pull/115051
heywoodlh_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
prsteele has quit [Quit: Leaving]
karantan has joined #nixos
karantan has quit [Client Quit]
heywoodlh has joined #nixos
<{^_^}> [nixpkgs] @pingiun opened pull request #115286 → python3Packages.APScheduler: add setuptools → https://github.com/NixOS/nixpkgs/pull/115286
<kalbasit[m]> is there anything special about httpd's SSLCertificateKeyFile? I have it set to `/run/secrets/key` and even though the file is owned by wwwrun and its mode is set to 0444 httpd still fails saying the SSLCertificateKeyFile does not exist or is empty
<kalbasit[m]> the secret file is setup by Mic92 's sops-nix
<{^_^}> [nixpkgs] @pingiun opened pull request #115287 → python3Packages.python-telegram-bot: 13.0 -> 13.3 → https://github.com/NixOS/nixpkgs/pull/115287
Jd007 has quit [Quit: Jd007]
<kalbasit[m]> I even tried putting the secret file in `/tmp` and still get the same thing :(
<{^_^}> [nixpkgs] @symphorien opened pull request #115288 → Make versionned llvm packages discoverable → https://github.com/NixOS/nixpkgs/pull/115288
domogled has joined #nixos
vhs has joined #nixos
<kalbasit[m]> hmm actually with mode 0444 it works so seems like the user of httpd can't access it even though it's the same user as far as I can tell
<m1cr0man> What about /run/secrets itself? Also is selinux enabled on your system?
karantan has joined #nixos
<kalbasit[m]> `/run/secrets` is world-readable. I don't have selinux enabled
mananamenos has quit [Ping timeout: 276 seconds]
<kalbasit[m]> it's interesting I think I spoke too fast. It does not work with permissions `0666` either
<m1cr0man> Yeah I would just check with ps what user your httpd is really running.
<kalbasit[m]> I did, it's running wwwrun
simba1 has quit [Ping timeout: 258 seconds]
respawn_ has joined #nixos
<m1cr0man> Do a systemctl cat httpd. I cant remember but if there's any sandboxing options enabled I belive that will make a unique /run appear for httpd
<kalbasit[m]> There's `RuntimeDirectory` set to `/run/httpd` but that's not sandboxing is it? Because it's able to load files from the Nix store as evident by the loading of the httpd.conf it writes
mayhew has quit [Ping timeout: 264 seconds]
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
simba1 has joined #nixos
ahmedelgabri has quit [Ping timeout: 246 seconds]
alexherbo2 has joined #nixos
<ScottHDev5> Hello, how coud I get the output of a derivation from it's .drv path example : from get /nix/store/...-hello-2.10 from /nix/store/...-hello-2.10.drv
<ScottHDev5> ?
<kalbasit[m]> Dang I figured it out :facepalm: `/run/secrets` itself is a symlink to a directory that's not world-readable and the solution was to allow systemd unit to access that specific group.
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115283 → audacity: change meta.platforms to platforms.linux → https://github.com/NixOS/nixpkgs/pull/115283
maier has quit [Ping timeout: 264 seconds]
Siyo has quit [Quit: Bye]
<f0x> https://github.com/DBCDK/morph#installation-and-prerequisites says to use nix-shell, but would there be a recommended way to install it as a sytem package?
<f0x> *system
<m1cr0man> kalbasit[m]: Ah! Glad you got sorted :)
<kalbasit[m]> m1cr0man: thanks!
<gchristensen> f0x: pkgs.morph
Siyo has joined #nixos
<f0x> gchristensen: ohh right, hah
<{^_^}> [nixpkgs] @sternenseemann opened pull request #115290 → ocamlPackages.ctypes: 0.17.1 -> 0.18.0 → https://github.com/NixOS/nixpkgs/pull/115290
<gchristensen> :)
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
ahmedelgabri has joined #nixos
respawn_ has quit [Quit: Leaving]
<mindtree[m]> Hi folks - is it possible to use nix without any channels whatsoever and instead declare them in nix exprs as necessary?
<mindtree[m]> I'm considering trying this with my configuration.nix so that I can keep dependencies like `nixos`, `home-manager` and `nixos-hardware` declarative and more reproducible across machines and in my git history
mananamenos has joined #nixos
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo2 has joined #nixos
Siyo has quit [Quit: Bye]
Siyo has joined #nixos
<{^_^}> [nixpkgs] @zowoq merged pull request #115231 → containerd: 1.4.3 -> 1.4.4 → https://github.com/NixOS/nixpkgs/pull/115231
<m1cr0man> mindtree[m]: The best you could really do is add "-I nixpkgs=$NIXPKGS" where $NIXPKGS is the path to your own local version of the nixpkgs repo. That way you can keep the same version across machines
<m1cr0man> add* to nixos-rebuild. if you're using nixops you can do a similar think afaik (I dont use it though)
<viric> clever: interesting this thing of i686-linux without firefox... the processor can do 64-bit but if I use 64-bit, nix takes 2x ram as it takes on 32-bit
alexherbo26 has joined #nixos
alexherbo2 has quit [Ping timeout: 264 seconds]
alexherbo26 is now known as alexherbo2
<munksgaard> mindtree: Have you considered looking at something like niv?
<mindtree[m]> m1cr0man: ah interesting, so a `nixos` channel must exist for `nixos-rebuild` to function at all?
<kalbasit[m]> mindtree: or flakes
<m1cr0man> mindtree[m]: Well really an instance of nixpkgs must exist, which is what the channels provide
jmeredith has quit [Quit: Connection closed for inactivity]
<mindtree[m]> <m1cr0man "mindtree: Well really an instanc"> But can't I just declare this nixpkgs source in my nix expression?
zupo has joined #nixos
<mindtree[m]> <kalbasit[m] "mindtree: or flakes"> Yeah I'll likely switch to flakes once they eventually land in stable nix
<m1cr0man> mindtree[m]: Ah yeah you could do that actually. You would be redeclaring the "pkgs" variable at the top of your configuration.nix I think
<kalbasit[m]> <mindtree[m] "Yeah I'll likely switch to flake"> See github.com/SoxinOS/soxin for inspiration on that. If you still want the non-flake then my archived project can probably help you github.com/kalbasit/shabka
simba1 has quit [Ping timeout: 258 seconds]
blissdev has joined #nixos
simba1 has joined #nixos
<vulpine> is there a way to put a package thats not in a channel into environment.systemPackages? putting a path to a nixfile seems to not work
maier has joined #nixos
Jd007 has joined #nixos
sparogy has joined #nixos
lsix has quit [Ping timeout: 240 seconds]
<mindtree[m]> kalbasit: thanks for those examples! I'm curious what the role of `mkExternal` is in your old nixos config? e.g. https://github.com/kalbasit/shabka/blob/master/external/nixpkgs/default.nix#L4
jmeredith has joined #nixos
vhs_ has joined #nixos
maier has quit [Ping timeout: 260 seconds]
vhs has quit [Ping timeout: 272 seconds]
seku has joined #nixos
sangoma has quit [Ping timeout: 276 seconds]
<mindtree[m]> <vulpine "is there a way to put a package "> I think this should work, as long as the file is an expression that evaluates to a derivation. That said, it seems to be more common to declare packages as a function that evaluates to a derivation, in which case you might need to use `callPackage /path/to/local/pkg.nix { }` to produce the actual derivation. At least I think it's something along these lines, I'm still new!
<{^_^}> [nixpkgs] @teto merged pull request #115267 → gnvim: fix install phase with Rust with custom target → https://github.com/NixOS/nixpkgs/pull/115267
sangoma has joined #nixos
Izorkin_ has joined #nixos
Izorkin has quit [Ping timeout: 258 seconds]
Izorkin_ is now known as Izorkin
<{^_^}> [nixpkgs] @fabaff merged pull request #115068 → aide: 0.17.1 -> 0.17.3 → https://github.com/NixOS/nixpkgs/pull/115068
jkachmar has joined #nixos
<seku> debating lenses right now
bitmapper has quit [Quit: Connection closed for inactivity]
<viric> clever: I cannot type slashes in the url bar of midori because it interprets them as search in-page
dev_mohe has quit [Quit: dev_mohe]
<viric> 10 points for this browser feature
<viric> who would like to type slashes in a url
<{^_^}> [nixpkgs] @jtojnar merged pull request #114330 → warsow: clean up → https://github.com/NixOS/nixpkgs/pull/114330
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @jtojnar merged pull request #114210 → top-level/php-packages: fix types → https://github.com/NixOS/nixpkgs/pull/114210
<jtojnar> viric: obviously, the solution is removing URL bar
philr has joined #nixos
<viric> :)
<viric> all tests passed.
supermarin has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @jtojnar merged pull request #114954 → cmake: 3.19.4 -> 3.19.6 → https://github.com/NixOS/nixpkgs/pull/114954
ManiacOfMadness has joined #nixos
<{^_^}> [nixpkgs] @osener opened pull request #115291 → ocamlPackages: Init ppx_cstubs at 0.6.1.1, add ppxlib 0.22.0, add ppx_deriving 5.2.1 → https://github.com/NixOS/nixpkgs/pull/115291
evils has quit [Ping timeout: 276 seconds]
genevino has quit [Quit: Great minds discuss ideas. Average minds discuss events. Small minds discuss people.]
philr has quit [Ping timeout: 264 seconds]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #115102 → gtk-layer-shell: 0.5.2 -> 0.6.0 → https://github.com/NixOS/nixpkgs/pull/115102
<{^_^}> [nixpkgs] @jtojnar merged pull request #114981 → gtksourceview4: 4.8.0 -> 4.8.1 → https://github.com/NixOS/nixpkgs/pull/114981
<{^_^}> [nixpkgs] @jtojnar merged pull request #114684 → babl: 0.1.84 -> 0.1.86 → https://github.com/NixOS/nixpkgs/pull/114684
<viric> clever: I can't understand the llvmPackages problem it says when building "pkgsCross.gnu32.firefox"
stree has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115284 → stunnel: 5.56 -> 5.58 → https://github.com/NixOS/nixpkgs/pull/115284
davidv7 has joined #nixos
davidv7 has quit [Client Quit]
davidv7 has joined #nixos
meh` has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
stree has joined #nixos
simba1 has quit [Ping timeout: 272 seconds]
Hurttila has quit [Ping timeout: 240 seconds]
simba1 has joined #nixos
maier has joined #nixos
jonringer has joined #nixos
<drozdziak1> What's the $i variable in installPhase?
maier has quit [Ping timeout: 260 seconds]
sangoma has quit [Ping timeout: 260 seconds]
vidbina_ has joined #nixos
jonringer has quit [Ping timeout: 240 seconds]
ericsagnes has quit [Ping timeout: 258 seconds]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jtojnar> drozdziak1: is there a loop?
ManiacOfMadness has quit [Ping timeout: 272 seconds]
<drozdziak1> jtojnar Doesn't look like there is one, this is the full snippet https://nixos.wiki/wiki/Packaging/Ruby#Build_default.nix
domogled has quit [Quit: domogled]
<jtojnar> drozdziak1: looks like a typo to me
kaliumxyz has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ehmry opened pull request #115292 → taler-exchange, taler-merchant: init at 0.8.1, 0.8.0 → https://github.com/NixOS/nixpkgs/pull/115292
<jtojnar> drozdziak1: I would expect there to be the beef.rb or something
jumper149 has joined #nixos
<drozdziak1> jtojnar Alright, thanks
<drozdziak1> That's actually a great example
<jtojnar> makefu would probably know (wrote the page)
simba1 has quit [Ping timeout: 240 seconds]
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @LeSuisse opened pull request #115293 → [20.09] stunnel: 5.56 -> 5.58 → https://github.com/NixOS/nixpkgs/pull/115293
simba1 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #115013 → libdnf: 0.58.0 -> 0.60.0 → https://github.com/NixOS/nixpkgs/pull/115013
<davidak[m]> Is someone interested in continuing the work on a Calamares GUI Installer for NixOS? Maybe C++ experience is needed to extend it. https://github.com/NixOS/nixpkgs/issues/100475
<{^_^}> #100475 (by jonringer, 20 weeks ago, open): NixOS Calamares installer
dhess` has joined #nixos
simba1 has quit [Ping timeout: 260 seconds]
<viric> oh, firefox is compiled with -g, -ffunction-sections, -fdata-sections, ... no wonder the linker can't afford it
simba1 has joined #nixos
ericsagnes has quit [Ping timeout: 246 seconds]
dbmikus has joined #nixos
slack1256 has joined #nixos
shibboleth has quit [Quit: shibboleth]
philr has joined #nixos
simba1 has quit [Ping timeout: 246 seconds]
simba1 has joined #nixos
Dr8128 has joined #nixos
svrana has quit [Quit: WeeChat 2.9]
dhess`` has joined #nixos
dhess` has quit [Remote host closed the connection]
svrana has joined #nixos
dhess` has joined #nixos
<viric> davidak[m]: I think the goal of Calamares is weird
<viric> davidak[m]: why would one want a GUI to install different distributions?
ericsagnes has joined #nixos
<davidak[m]> viric: it's a program different distros can use as installer. it's not that you choose a distro to install, like https://netboot.xyz/
<viric> ahh
dhess` has quit [Remote host closed the connection]
Jd007 has quit [Quit: Jd007]
<{^_^}> [nixpkgs] @fabaff opened pull request #115295 → python3Packages.pg8000: 1.17.0 -> 1.18.0 → https://github.com/NixOS/nixpkgs/pull/115295
<{^_^}> [nixpkgs] @jtojnar merged pull request #114736 → libabigail: 1.8 -> 1.8.2 → https://github.com/NixOS/nixpkgs/pull/114736
svrana has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @jtojnar merged pull request #114750 → libgxps: 0.3.1 -> 0.3.2 → https://github.com/NixOS/nixpkgs/pull/114750
<ldlework> Just installed DBeaver, and got this: https://gist.github.com/dustinlacewell/d539d2f66d9b6ba3dded1abc251eb42d
<ldlework> Can someone give me a hint as to where I should start?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @jtojnar merged pull request #114730 → ibus-engines.bamboo: 0.6.8 -> 0.6.9 → https://github.com/NixOS/nixpkgs/pull/114730
blissdev has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @samueldr opened pull request #115296 → ruby: Use appropriate targetPlatform → https://github.com/NixOS/nixpkgs/pull/115296
<{^_^}> [nixpkgs] @maxeaubrey opened pull request #115298 → consul: 1.9.3 -> 1.9.4 → https://github.com/NixOS/nixpkgs/pull/115298
<{^_^}> [nixpkgs] @davidak merged pull request #104690 → freac: init 1.1.3 → https://github.com/NixOS/nixpkgs/pull/104690
cole-h has joined #nixos
fendor_ has quit [Remote host closed the connection]
d3z has joined #nixos
Dr8128 has quit [Ping timeout: 276 seconds]
dbmikus has quit [Ping timeout: 260 seconds]
<jtojnar> ldlework: check environment for {GIO,GDK}_* env vars?
cmk_zzz has quit [Ping timeout: 256 seconds]
cmk_zzz has joined #nixos
maier has joined #nixos
<ldlework> jtojnar:
<ldlework> GDK_PIXBUF_MODULE_FILE=/nix/store/7x9bgacwyhy2wa4hzllryzx1p6ba66ci-gdk-pixbuf-loaders.cache
<ldlework> GIO_EXTRA_MODULES=/nix/store/bn07rhz0fn8cj44jar7dpg81s5qn9xsg-glib-networking-2.66.0/lib/gio/modules:/nix/store/arqcsfg0gh15h9bkjadpsc0gx3v5rb77-gvfs-1.46.2/lib/gio/modules:/nix/store/pv997v33kgzga3185wjzzf70k8bi087z-dconf-0.38.0-lib/lib/gio/modules
<ldlework> that's it
vidbina_ has quit [Ping timeout: 245 seconds]
<jtojnar> ldlework: yeah, you can either unset them, or wrap the program with wrapGappsHook
mcornick has joined #nixos
maier has quit [Client Quit]
<ldlework> jtojnar: hmm thanks for the workaround. is it supposed to work this way.
<jtojnar> some people want nixos module set the variables as a fallback
r0bby has quit [Ping timeout: 240 seconds]
dbmikus has joined #nixos
<jtojnar> ldlework: but I would prefer if the module did not set them and everything was wrapped
sorear has quit [Ping timeout: 240 seconds]
dgonyeo has quit [Ping timeout: 268 seconds]
dgonyeo has joined #nixos
joshmeredith has quit [Ping timeout: 272 seconds]
SrPx has quit [Ping timeout: 240 seconds]
philipcristiano has quit [Ping timeout: 264 seconds]
ryjm has quit [Ping timeout: 264 seconds]
r0bby has joined #nixos
joshmeredith has joined #nixos
mitsuhiko has quit [Ping timeout: 240 seconds]
philipcristiano has joined #nixos
ryjm has joined #nixos
mitsuhiko has joined #nixos
sorear has joined #nixos
SrPx has joined #nixos
dbmikus has quit [Ping timeout: 256 seconds]
jkachmar has quit [Quit: Connection closed for inactivity]
__monty__ has quit [Quit: leaving]
zebrag has quit [Quit: Konversation terminated!]
kchnov[m] has joined #nixos
zebrag has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
<cole-h> agreed; otherwise it would be a pain for non-nixos users (where it would likely still need to be wrapped)
<{^_^}> [nixpkgs] @jtojnar merged pull request #113739 → osinfo-db: 20210202 -> 20210215 → https://github.com/NixOS/nixpkgs/pull/113739
<{^_^}> [nixpkgs] @jtojnar merged pull request #113888 → autoconf-archive: 2019.01.06 -> 2021.02.19 → https://github.com/NixOS/nixpkgs/pull/113888
n-osborne has joined #nixos
n-osborne has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar merged pull request #113962 → libgcrypt: 1.9.1 -> 1.9.2 → https://github.com/NixOS/nixpkgs/pull/113962
<{^_^}> [nixpkgs] @iblech opened pull request #115300 → dsniff: unbreak the build (simple bump to newest Debian patches) → https://github.com/NixOS/nixpkgs/pull/115300
<{^_^}> [nixpkgs] @jtojnar closed pull request #113353 → gtk-doc: 1.33.1 -> 1.33.2 → https://github.com/NixOS/nixpkgs/pull/113353
proofofkeags has quit [Remote host closed the connection]
hexa- has quit [Quit: WeeChat 2.9]
<ldlework> error: Package ‘gst-plugins-base-0.10.36’ in /nix/store/21r9dxdkh1xxihjpc4axf6rcqq375h5m-nixos-20.09pre239318.c59ea8b8a0e/nixos/pkgs/development/libraries/gstreamer/legacy/gst-plugins-base/default.nix:55 is marked as broken, refusing to evaluate.
<ajs124> ldlework: pgadmin3 apparently depends on gstreamer 0.10, which is old and broken
<ldlework> shouldn't pgadmin3 then be marked as broken or some such?
<tpw_rules> pgadmin3 is old and broken itself
<ajs124> it's transitively marked as broken. apparently it also depends on an old openssl.
<tpw_rules> unfortunate that 4 is not packaged
<ajs124> there's #33103, but apparently nobody got around to it
<{^_^}> https://github.com/NixOS/nixpkgs/issues/33103 (by srghma, 3 years ago, open): Update pgadmin to v4
<tpw_rules> and 4 is completely different so you can't just replace the number
stree has quit [Ping timeout: 264 seconds]
zebrag has quit [Quit: Konversation terminated!]
hexa- has joined #nixos
<ldlework> tfw you can't just replace the number
kaliumxyz has joined #nixos