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
<shapr> I'd aliased mpc to /usr/bin/mpc
<shapr> doh
<cole-h> Haha
growpotk- has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101702 → mopidy-musicbox-webclient: 2.4.0 -> 3.1.0 → https://git.io/JToBH
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQCR
veleiro has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105076 → skaffold: 1.16.0 -> 1.17.0 → https://git.io/JkQvp
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQCP
rajivr has joined #nixos
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101556 → pantheon.elementary-calendar: 5.1.0 -> 5.1.1 → https://git.io/JTwe6
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQCh
<{^_^}> [nixpkgs] @ZerataX closed pull request #95227 → vscode-extensions.b4dm4n.nixpkgs-fmt init at 0.0.1 → https://git.io/JJyhf
oxalica1 has joined #nixos
oxalica has quit [Ping timeout: 256 seconds]
oxalica1 is now known as oxalica
<{^_^}> [nixpkgs] @Br1ght0ne merged pull request #105093 → tiny: 0.5.1 -> 0.7.0 → https://git.io/JkQ3k
<{^_^}> [nixpkgs] @Br1ght0ne pushed 2 commits to master: https://git.io/JkQWl
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101765 → ncrack: init at 0.7 → https://git.io/JTKMq
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQWu
<{^_^}> [nixpkgs] @flokli opened pull request #105099 → make-desktopitem: desktop-file-utils is a nativeBuildInput → https://git.io/JkQWV
<{^_^}> [nixpkgs] @ZerataX opened pull request #105100 → vscode-extensions.b4dm4n.nixpkgs-fmt: init at 0.0.1 → https://git.io/JkQW1
SomeoneSerge has joined #nixos
meh` has quit [Ping timeout: 246 seconds]
cr4y1_ has quit [Ping timeout: 272 seconds]
<cole-h> Because Nixpkgs/NixOS documentation is written in docbook, which is XML(-based).
<nf> but aren't literal examples exempt from that?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101464 → treewide: ran ./maintainers/scripts/update_redirected_urls.sh → https://git.io/JTaTE
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQl6
<nf> yes, and the manual too
<infinisil> Yeah seems like I was mistaken there
<nf> yeah non-escaped tags are rendered fine in https://nixos.org/manual/nixos/stable/options.html#opt-services.zope2.instances
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #105101 → treewide: run ./maintainers/scripts/update_redirected_urls.sh → https://git.io/JkQlb
<{^_^}> [nixpkgs] @flokli opened pull request #105102 → fribidi: fix cross → https://git.io/JkQlh
orivej has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #105099 → make-desktopitem: desktop-file-utils is a nativeBuildInput → https://git.io/JkQWV
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JkQ8J
iH8c0ff33 has joined #nixos
growpotk- has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105101 → treewide: run ./maintainers/scripts/update_redirected_urls.sh → https://git.io/JkQlb
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JkQ8W
<{^_^}> [nixpkgs] @tomberek closed pull request #47707 → [WIP] gnuradio: 3.7.14.3 -> 3.8.0.0 → https://git.io/fxIVc
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105083 → symengine: 0.5.0 -> 0.6.0, pythonPackages.symengine: 0.4.0 -> 0.6.1 → https://git.io/JkQL1
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JkQ8B
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
iH8c0ff33 has quit [Ping timeout: 260 seconds]
SomeoneSerge has quit [Ping timeout: 246 seconds]
SomeoneSerge has joined #nixos
Guest40130 has quit [Read error: Connection reset by peer]
Guest40130 has joined #nixos
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #105103 → wayland: fix cross → https://git.io/JkQ4m
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101368 → commonsIo: 2.6 -> 2.8.0 → https://git.io/JTgIR
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQ4C
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105104 → utf8proc: 2.5.0 -> 2.6.0 → https://git.io/JkQ4d
<SomeoneSerge> What happens to an .so when it's installed into $out into /nix/store, in terms of linking?
mkaito has quit [Quit: WeeChat 2.9-dev]
<SomeoneSerge> I'm observing smth weird, there's an .so built with bazels cc_library, it contains some pybind11 bindings. When I'm calling those bindings from python, the latency is smhw *much* later if I use the binary built within nix, than if I build in a working directory and use that (calling it several times)
<SomeoneSerge> *much smaller
<cole-h> You could run ldd on the .so and see if it's linked properly
<cole-h> Maybe it's missing something, so it has to dlopen it, introducing latency? (idk)
<SomeoneSerge> I'm looking at the diff of `readelf -d` right now
<SomeoneSerge> NEEDED and RUNPATH are equivalent
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101451 → fix package path for bioc server → https://git.io/JT2Hg
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQBu
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101455 → igmpproxy: init at version 0.2.1 → https://git.io/JT2pm
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQBo
<SomeoneSerge> calling a function in .so from nix store takes 2ms, and calling one built in working directory - about 78ms
<cole-h> Oh, I thought this was the other way around lol
m0rphism has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105105 → vale: 2.6.2 -> 2.6.3 → https://git.io/JkQBF
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #102088 → bctoolbox: 4.4.0 -> 4.4.6 → https://git.io/JTD5u
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JkQBj
abathur has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101049 → goreleaser: init at 0.145.0 → https://git.io/JT8Er
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 4 commits to master: https://git.io/JkQRo
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105106 → visualvm: 2.0.4 -> 2.0.5 → https://git.io/JkQR9
<AmandaC> SomeoneSerge: just a quick sanity check -- both the nix store and the bazel output are on the same disk, partition, fs, etc, right?
<SomeoneSerge> Yes
<SomeoneSerge> I literally copy the resulting binary.
<SomeoneSerge> I just ran another test, another routine which with nix-.so consistently takes 500 *micro* seconds, takes almost 7ms with raw binary from bazel
<SomeoneSerge> I must be missing something very obvious...
<AmandaC> Optimisation level maybe?
<cole-h> Maybe the bazel one is built with debug symbols / etc.
<cole-h> Yeah
<{^_^}> [nixpkgs] @ZerataX closed pull request #105100 → vscode-extensions.b4dm4n.nixpkgs-fmt: init at 0.0.1 → https://git.io/JkQW1
<SomeoneSerge> But the build is exactly the same?
<SomeoneSerge> As in, same flags
<SomeoneSerge> Can those be stripped in postprocessing?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105107 → vultr-cli: 1.0.0 -> 2.0.0 → https://git.io/JkQ0X
<cole-h> Nix does strip as part of the fixupPhase, IIRC
<cole-h> (I mean, literal `strip`)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101687 → metasploit: update to 6.0.12, add updateScript → https://git.io/JToCk
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JkQ0F
<SomeoneSerge> would by chance know where fixupPhase is defined, or the flags for the strip? grep-ed in pkgs/build-support, but no luck
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105105 → vale: 2.6.2 -> 2.6.3 → https://git.io/JkQBF
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQE4
<{^_^}> [nixpkgs] @romildo opened pull request #105108 → marwaita-peppermint: 0.4 -> 0.5 → https://git.io/JkQEr
<cole-h> SomeoneSerge: pkgs/stdenv/generic/setup.sh:1104
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JkQE7
<cole-h> Looks like the strip stuff is part of the setup hook by the same name: pkgs/build-support/setup-hooks/strip.sh
Dotz0cat has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #104770 → haskellPackages.*: unbreak glirc/matterhorn/QuickCheck/etc → https://git.io/Jk1kA
<{^_^}> [nixpkgs] @cdepillabout pushed 8 commits to haskell-updates: https://git.io/JkQE5
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101311 → pantheon.appcenter: 3.4.2 -> 3.5.1 → https://git.io/JTzJv
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQuE
berberman[T] has joined #nixos
Lord_of_Life_ has joined #nixos
Lord_of_Life has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jtacoma opened pull request #105109 → dart: support x86_64-darwin platform → https://git.io/JkQuo
<{^_^}> [nixpkgs] @enderger closed pull request #103865 → kotlin-language-server: init at 0.7.0 → https://git.io/JksFA
thc202 has quit [Ping timeout: 260 seconds]
<SomeoneSerge> I still can't find the flags for strip, but I noticed that `readelf -s` has 1033 lines for .so in nix store, and 18527 for one outside, "which is suggestive of something"
<SomeoneSerge> Anyways, thanks cole-h
<{^_^}> [nixpkgs] @enderger opened pull request #105110 → kotlin-language-server: init at 0.7.0 → https://git.io/JkQzC
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101252 → ryujinx: 1.0.5346 -> 1.0.5551 → https://git.io/JTEFj
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQzX
noudle has quit []
SomeoneSerge has quit [Ping timeout: 264 seconds]
<cole-h> SomeoneSerge: Pretty sure it's just strip -S
<cole-h> stripping (with command strip and flags -S) in /nix/store/......../bin
bridge[evilred] has joined #nixos
ris has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105111 → workcraft: 3.3.1 -> 3.3.2 → https://git.io/JkQgi
<{^_^}> [nixpkgs] @srid closed pull request #101220 → opera: 68.0.3618.63 -> 71.0.3770.271 → https://git.io/JT0i8
<{^_^}> [nixpkgs] @SuperSandro2000 pushed commit from @fmarier to master « safe-rm: Update git repository »: https://git.io/JkQ2G
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #101386 → Update upstream git repository for safe-rm → https://git.io/JTgWc
meh` has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #96609 → lsd2dsl: 0.5.1 -> 0.5.2 → https://git.io/JULDO
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQ26
anderslundstedt has quit [Quit: leaving]
anderslundstedt has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101399 → gtg: unstable-2020-09-16 -> unstable-2020-10-22 → https://git.io/JTgrA
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQaJ
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105107 → vultr-cli: 1.0.0 -> 2.0.0 → https://git.io/JkQ0X
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQaq
h0m1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105111 → workcraft: 3.3.1 -> 3.3.2 → https://git.io/JkQgi
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQal
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105106 → visualvm: 2.0.4 -> 2.0.5 → https://git.io/JkQR9
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkQaw
{`-`} has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #105097 → traefik: 2.3.3 -> 2.3.4 → https://git.io/JkQnC
<{^_^}> [nixpkgs] @kalbasit pushed commit from @r-ryantm to master « traefik: 2.3.3 -> 2.3.4 (#105097) »: https://git.io/JkQVS
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105112 → xmrig: 6.5.3 -> 6.6.1 → https://git.io/JkQwf
jonatanb has joined #nixos
ornxka has quit [Quit: No Ping reply in 180 seconds.]
Dotz0cat has joined #nixos
iH8c0ff33 has joined #nixos
Fare has quit [Ping timeout: 264 seconds]
<redcedar[m]> hey friends, I think I've traced a problem I'm having with an emacs package not installing to this issue: https://github.com/NixOS/nixpkgs/pull/83378, however I don't quite know enough to tell whether I'm depending on a pre-fix or post-fix version. I'm running 20.03; this PR says that it patches 20.03. Is it possible I need to update my system?
<{^_^}> #83378 (by afrepues, 35 weeks ago, merged): Build MELPA package sets without null packages
ornxka has joined #nixos
jonatanb has quit [Ping timeout: 240 seconds]
<stites[m]1> How do I create a `/var/lib/<packagename>/` folder with nix modules?
iH8c0ff33 has quit [Ping timeout: 246 seconds]
<cole-h> A systemd service that runs `mkdir -p /var/lib/<packagename>/`
<stites[m]1> Hmmm... I think I have that but it errors -- can you chown in a systemd script?
Guest40130 has quit [Quit: Leaving]
<stites[m]1> figured it out! invalid user/group
<stites[m]1> thank you!
Fare has joined #nixos
meh` has quit [Ping timeout: 240 seconds]
SomeoneSerge has joined #nixos
<{^_^}> [nixpkgs] @adisbladis opened pull request #105113 → python: Propagate packageOverrides to pythonForBuild → https://git.io/JkQK3
joey has quit [Ping timeout: 240 seconds]
joey has joined #nixos
acarrico has joined #nixos
veleiro has joined #nixos
<veleiro> join #nixos-aarch64
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/9518fac712c (from 2 days ago, history: https://channels.nix.gsc.io/nixos-20.03)
raghavsood has quit [Ping timeout: 245 seconds]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
joey has quit [Ping timeout: 240 seconds]
joey has joined #nixos
lordcirth has quit [Remote host closed the connection]
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
lordcirth has joined #nixos
marek has quit [Ping timeout: 260 seconds]
marek has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #105114 → postgresqlPackages.pg_hll: 2.14 -> 2.15 → https://git.io/JkQQl
iH8c0ff33 has joined #nixos
<virus_dave> QQ: I periodically use `nix repl` ’s `:u somePackage` to test out a package locally in a nix shell without installing it on my system. Is there a way to configure it to launch into a PURE shell ?
iH8c0ff33 has quit [Ping timeout: 240 seconds]
kalbasit has joined #nixos
<evils> virus_dave: you want `nix-shell --pure -p somePackage`?
<virus_dave> yup, that would work. It’s a little more verbose, but it works
<virus_dave> thanks
<virus_dave> PR review / merge pls: https://github.com/NixOS/nixpkgs/pull/104809
<{^_^}> #104809 (by virusdave, 2 days ago, open): unison-ucm 1.0.M1l-alpha -> 1.0.M1m-alpha
waleee-cl has quit [Quit: Connection closed for inactivity]
acarrico has quit [Ping timeout: 240 seconds]
ricks_ has joined #nixos
ricks_ has quit [Max SendQ exceeded]
veleiro has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @JesusMtnez opened pull request #105115 → ammonite: 2.2.0 -> 2.3.8 → https://git.io/JkQpg
veleiro has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
Rusty1 has quit [Quit: WeeChat 2.3]
SanchayanMaity has joined #nixos
kalbasit has quit [Ping timeout: 240 seconds]
lordcirth has quit [Remote host closed the connection]
sangoma has joined #nixos
palo1 has joined #nixos
cole-h has quit [Ping timeout: 265 seconds]
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
tdeo has quit [Ping timeout: 260 seconds]
lvrp16 has quit [Ping timeout: 260 seconds]
samhza has quit [Ping timeout: 260 seconds]
samhza has joined #nixos
tdeo has joined #nixos
lvrp16 has joined #nixos
iH8c0ff33 has joined #nixos
raghavsood has joined #nixos
ece has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 5 commits to release-20.09: https://git.io/Jk7TR
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/272744825d2 (from 5 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
vanbeast has joined #nixos
alp has joined #nixos
iH8c0ff33 has quit [Ping timeout: 246 seconds]
s34m has joined #nixos
s34m has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105116 → bison: 3.7.3 -> 3.7.4 → https://git.io/Jk7ko
s34m has joined #nixos
s34m has quit [Client Quit]
<typetetris> Moin! Is there a function which offers `if a ? b then a.b else default` somethere?
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « python3Packages.sphinx: 3.0.3 -> 3.3.1 »: https://git.io/Jk7kF
vidbina has joined #nixos
<typetetris> oh i can simply use or for that .. noice
<typetetris> not
<clever> > let set = { a=42; }; in set.b or "fallback"
<{^_^}> "fallback"
<clever> > let set = { a=42; }; in set.a or "fallback"
<{^_^}> 42
<typetetris> > let set = {}; in set.a or "fallback"
<{^_^}> "fallback"
<clever> typetetris: like that?
<typetetris> clever: exactly
<typetetris> > let t = {}; t.a || "uiae"
<{^_^}> error: syntax error, unexpected OR, expecting '.' or '=', at (string):435:17
<typetetris> > let t = {}; in t.a || "uiae"
<{^_^}> attribute 'a' missing, at (string):435:16
<typetetris> oh
<clever> "or" and "||" are different operators
<typetetris> I did see `or` being defined in terms of `||` in `trivial.nix` but maybe some subtlety about lazyness escaped me ...
<clever> "lib.or" and "or" are also different
<{^_^}> [nixpkgs] @FRidh pushed 0 commits to python-unstable: https://git.io/Jk7I9
<colemickens> I'm trying to update vim-plugins, but... it says vim-slime: HTTP Error 404: Not Found
<colemickens> even though vim-slime's entry is "jpalardy/vim-slime" which is still available?
<clever> colemickens: run `nix show-derivation` on the .drv file that failed, what URL is it loading?
<colemickens> it's not the derivation failing, it's the update script.
<colemickens> unless I'm not understanding the question.
mallox has joined #nixos
<clever> ah, not sure then
<{^_^}> [nixpkgs] @doronbehar merged pull request #104705 → voxelands: 1512.00 -> 1704.00 → https://git.io/JkiAd
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to master: https://git.io/Jk7LK
<colemickens> I'm just going to drop it locally, I'm not going to PR this anyway
malook has joined #nixos
domogled has joined #nixos
captn3m0- has joined #nixos
captn3m0 has quit [Ping timeout: 264 seconds]
turlando has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #104356 → ocamlPackages.ocaml-protoc: 1.2.0 → 2.0.2 → https://git.io/JkzwX
iH8c0ff33 has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/Jk7mW
gthm has quit [Ping timeout: 265 seconds]
cfricke has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @etu merged pull request #105040 → php: 7.3.24 -> 7.3.25, 7.4.12 -> 7.4.13 → https://git.io/JkHq4
<{^_^}> [nixpkgs] @etu pushed 3 commits to master: https://git.io/Jk7Yr
<{^_^}> [nixpkgs] @stigtsp merged pull request #104955 → dolt: 0.22.0 -> 0.22.1 → https://git.io/JkS8z
<{^_^}> [nixpkgs] @stigtsp pushed 2 commits to master: https://git.io/Jk7OX
zombinedev has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105108 → marwaita-peppermint: 0.4 -> 0.5 → https://git.io/JkQEr
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk73e
<zombinedev> Hey, Nix newbie here. How can I import an expression defined in the nixpks repo, which is not available as a package? I want to call the function (derivation) defined here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/dmd/binary.nix like this:
<zombinedev> However, I couldn't figure out how to import it
<zombinedev> I thought it should as simple as `import <nixpkgs>/development/compilers/dmd/binary.nix` or something like that, but this doesn't seem to work for me
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101437 → discordpy: 1.3.4 -> 1.5.1 → https://git.io/JT2LF
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk736
eoli3n has joined #nixos
zombinedev has quit [Remote host closed the connection]
zombinedev has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.ocaml-migrate-parsetree-2-1: init at 2.1.0 »: https://git.io/Jk73A
vidbina has quit [Quit: vidbina]
zombinedev has quit [Remote host closed the connection]
<clever> zakame: <nixpkgs/pkgs/development/compilers/dmd/binary.nix>
<clever> dang, he ran off!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105117 → abcm2ps: 8.14.9 -> 8.14.10 → https://git.io/Jk7s2
SomeoneSerge has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #105118 → proverif: install emacs mode → https://git.io/Jk7Ge
saschagrunert has joined #nixos
addcninblue has quit [Quit: ZNC 1.7.5 - https://znc.in]
lcvass has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
lcvass has joined #nixos
noudle has joined #nixos
<raghavsood> anyone have any insight into how to fix boost with python linking that fails with tons of `undefined reference to` errors for various python internal functions/types
<raghavsood> For example, `libboost_python37.so: undefined reference to `PyNumber_Remainder'`
da_dada has quit [Ping timeout: 256 seconds]
addcninblue has joined #nixos
da_dada has joined #nixos
werner291 has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @wayofthepie opened pull request #105120 → doc: convert coq to commonmark → https://git.io/Jk7nT
thibm has joined #nixos
SomeoneSerge has joined #nixos
gulplante has joined #nixos
FRidh has joined #nixos
sangoma has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105121 → _1password-gui: 0.9.4-1 -> 0.9.5-2 → https://git.io/Jk7cf
<gulplante> Is it still possible to use nixpkgs.config.allowUnfreePredicate system wide? I am having trouble with this in upgrading to 20.09 and the manual is worded in way that makes it sound like it is per user only.
gthm has joined #nixos
<{^_^}> [nixpkgs] @cpages merged pull request #103438 → SDL2: fix cmake interface includes for SDL2::SDL2 → https://git.io/JkIQm
<raboof> gulplante: works for me on nixos-unstable
<{^_^}> [nixpkgs] @cpages pushed 2 commits to staging: https://git.io/Jk7cN
<Reventlov> Hey.
<Reventlov> Is there a way, using home-manager, to clone some repository to some path? Can I just use "fetchfromgithub" (for example) in the home.nix ?
<Reventlov> or is there something more suitable ?
<spacefrogg> You want to clone a repository to the nix store and link to it from your home directory?
<Reventlov> yep, and maintaining up to date regularly
<Reventlov> (it's my password repository, to use in conjunction with pass/gopass)
werner291 has quit [Ping timeout: 272 seconds]
rnhmjoj has quit [Changing host]
rnhmjoj has joined #nixos
rnhmjoj has joined #nixos
<{^_^}> [nixpkgs] @domenkozar closed pull request #104679 → release.nix: remove aarch64 as blocker, fixes #104550 → https://git.io/Jkicw
<gulplante> raboof: Odd. Does not work for me on unstable either. But at least I know it is on my end then.
marek has quit [Ping timeout: 264 seconds]
<raboof> gulplante: pasted my configuration.nix at https://pastebin.com/g6w6v2AK , maybe you can spot a difference (warning: it's bit of a mess ;) )
cr4y1 has joined #nixos
marek has joined #nixos
<gulplante> raboof: Thanks. Something weird is going on with my config. I tried moving the offending unfree packages to a file separate from the unfreePredicate declaration, importing this. Now it works.
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a445a00efb3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
SomeoneSerge has quit [Ping timeout: 256 seconds]
gulplante has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105121 → _1password-gui: 0.9.4-1 -> 0.9.5-2 → https://git.io/Jk7cf
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk781
sevenfourk has joined #nixos
LilleCarl has quit [Ping timeout: 256 seconds]
<thibm> Reventlov: there's a generic home.file option
<Reventlov> yeah, found it
<Reventlov> will do, now I just have to understand how to use fetchgitPrivate
<Reventlov> thanks
LilleCarl has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105122 → avocode: 4.7.0 -> 4.10.3 → https://git.io/Jk7B0
orivej has joined #nixos
Tritlo has quit [Ping timeout: 260 seconds]
Tritlo has joined #nixos
detran has quit [Ping timeout: 260 seconds]
tokudan has quit [Read error: Connection reset by peer]
tokudan has joined #nixos
znello[m] has quit [Ping timeout: 260 seconds]
berberman[T] has quit [Ping timeout: 260 seconds]
tmeres[m] has quit [Ping timeout: 260 seconds]
wenngle[m] has quit [Ping timeout: 260 seconds]
blackriversoftwa has quit [Ping timeout: 260 seconds]
bourbon has quit [Ping timeout: 260 seconds]
musicmatze has quit [Ping timeout: 260 seconds]
zmacs has quit [Ping timeout: 260 seconds]
heatm1s3r has quit [Ping timeout: 260 seconds]
evck_ has quit [Ping timeout: 260 seconds]
detran has joined #nixos
znello[m] has joined #nixos
tmeres[m] has joined #nixos
wenngle[m] has joined #nixos
tomturbo has joined #nixos
da_dada has quit [Ping timeout: 256 seconds]
blackriversoftwa has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101216 → todoist-electron: 1.23.0 -> 1.24.0, update license, use desktop icon → https://git.io/JT0r6
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 4 commits to master: https://git.io/Jk7B9
musicmatze has joined #nixos
da_dada has joined #nixos
berberman[T] has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100984 → jdupes: 1.18.2 -> 1.19.0 → https://git.io/JTls4
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk7Bh
heatm1s3r has joined #nixos
bourbon has joined #nixos
<tomturbo> hello, I have a shell.nix which I use to develop. now I would like to use it to create a container which can be used as a jenkins build slave, so that the dev and ci environments are the same. is something like this possible?
evck_ has joined #nixos
zmacs has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101014 → libdigidocpp: 3.14.3 -> 3.14.4 → https://git.io/JTlK6
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk7RU
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
malook has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @clefru opened pull request #105123 → libvirt: Add reasonable memory_backing_dir default for qemu. → https://git.io/Jk70I
sevenfourk has quit [Quit: leaving]
<{^_^}> [nixpkgs] @zimbatm opened pull request #105124 → goreleaser: 0.145.0 -> 0.147.2 → https://git.io/Jk70a
civodul has joined #nixos
<{^_^}> [nixpkgs] @siraben opened pull request #105125 → bombadillo: init at 2.3.3 → https://git.io/Jk7Eu
<patagonicus> tomturbo: I don't know about containers with Nix, but at the very least you can put common things in a file and import them in both the shell.nix and the nix file for container creation. I'd probably start by looking at how to create a container with nix, copy and pasting stuff from the shell.nix unless it works with your code and then extract the
<patagonicus> common stuff into a common.nix or something.
<tomturbo> patagonicus: that makes sense, thanks!
sangoma has quit [Quit: WeeChat 2.9]
alp_ has joined #nixos
alp has quit [Ping timeout: 272 seconds]
davidv7 has quit [Quit: Konversation terminated!]
davidv7 has joined #nixos
<{^_^}> Channel nixos-cross-wayland advanced to https://github.com/NixOS/nixpkgs/commit/8c3fb270f3c (from 2 minutes ago, history: https://channels.nix.gsc.io/nixos-cross-wayland)
<evils> wtf's that channel?
<{^_^}> [nixpkgs] @sikmir opened pull request #105127 → qmapshack: 1.15.0 → 1.15.1 → https://git.io/Jk7gA
<flokli> this is me accidentially pushing to the wrong remote…
<flokli> I'll get it fixed, sorry.
<evils> xD
mkaito has joined #nixos
thibm has quit [Ping timeout: 240 seconds]
gthm has quit [Quit: leaving]
gthm has joined #nixos
thibm has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #105128 → python3Packages.snowflake-connector-python: Fix boto3 replace → https://git.io/Jk72r
hlolli__ has joined #nixos
mounty has joined #nixos
<mounty> Hello, new user here, using NixOS after a decade or so on Gentoo. Is there a general way of finding the package which contains a command that you need? In my case, KDE spectacle is failing because it needs qdbus.
jess has joined #nixos
<evils> ,locate bin/qdbus
<{^_^}> Found in packages: qt4, qt48Full, qt5.full, qt5.qttools.bin, qt5.qttools.dev
thc202 has joined #nixos
<evils> that command is backed by `nix-index`
<clever> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<mounty> By running "find / -mount -name qdbus" it seems that it is in a package qttools but if I add that explicitly to the list of packages in configuration.nix, then nixos-rebuild says it can't find qttools
<clever> mounty: qt5.qttools
<thibm> evils: there's the option programs.command-not-found.enable
<thibm> sorry, I meant mounty
<sphalerite> Is there a middle path between mutableUsers = true; and mutableUsers = false;? I basically want /etc/passwd to correspond exactly to the config, but still allow setting passwords, i.e. stateful /etc/shadow
<evils> thibm: defaults to true though
<thibm> yes
<thibm> mounty: the shell should tell you which packages to install when you type a command, just try to type "qdbus" in your shell
<lassulus> sphalerite: I hack this with a custom pam module, but would be nicer if there was an option for that
<mounty> It just replies "qdbus: command not found"
<thibm> OK
<thibm> the module write to some init files for bash and zsh, but it's easy to get misconfigured I guess
<thibm> mounty: can you try `command-not-found qdbus `
malook has joined #nixos
<mounty> DBI connect('dbname=/nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite','',...) failed: unable to open database file at /run/current-system/sw/bin/command-not-found line 13.
<mounty> cannot open database `/nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite' at /run/current-system/sw/bin/command-not-found line 13.
<clever> mounty: it relies on having a channel called nixos on root, are you using channels or flakes?
<mounty> How can I tell?
<clever> mounty: `sudo nix-channel --list`
<clever> could just be an old version, `sudo nix-channel --update` may fix it, but will also update the versions of some things
<tomturbo> "let mycacert = pkgs.cacert.overrideAttrs ... in pkgs.buildEnv { paths = [ mycacert ] }" makes nix complain that "mycacert" is undefined, what am I doing wrong?
<mounty> I only installed it today. Trying anyway.
<raghavsood> Anybody familiar with boost and python config? I keep getting complains about undefined references at the final linking step when trying to package and application that uses boost with python
<mounty> unpacking channels...
<mounty> created 1 symlinks in user environment
<clever> tomturbo: can you pastebin the whole expr?
<evils> clever++
<{^_^}> clever's karma got increased to 545
<{^_^}> [nixpkgs] @flokli pushed 0 commits to remove-bluespec: https://git.io/Jk7w3
<mounty> So any more ideas about identifying which package contains a command?
<clever> mounty: nix-locate and nix-index
<tomturbo> clever: will do, one sec
<{^_^}> [nixpkgs] @Ma27 opened pull request #105129 → Revert "nmap: 7.80 -> 7.90" → https://git.io/Jk7w9
simonpe^^ has joined #nixos
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 260 seconds]
<clever> tomturbo: line 30 is to blame, the let block is only in scope during 30 i think
<simonpe^^> hey! We use nix in my project to cross compile source code for embedded devices. Usually we use dockerTools.buildImage and deploy an OCI container but now we have a new device with only 8MB of flash so we can't afford the podman binary or even systemd on that device. An additional requirement is that the software is installed FHS-style on the device. How would we deploy this software to our new tiny
<clever> tomturbo: you would want to wrap 30-60 in ( and ) i think
<simonpe^^> device?
<sphalerite> lassulus: oh boy
<clever> simonpe^^: one minute
<tomturbo> clever: thanks, I'll give it a shot
<clever> simonpe^^: this will cross-compile a bunch of things to armv7l, and package them all up into an initrd
m0rphism has joined #nixos
<simonpe^^> hmmm, is it "converting" it into FHS?
<clever> simonpe^^: nope, it has a full /nix/store within the initrd, and a /init symlink at the root so the kernel is happy
cfricke has quit [Quit: WeeChat 2.9]
<clever> simonpe^^: but the nix binary itself is absent
mounty has quit [Read error: Connection reset by peer]
cfricke has joined #nixos
<clever> simonpe^^: lines 117-135 says to create symlinks at /init, /lib/modules, /bin, and /etc, so i dont have to force modprobe too heavily, and the $PATH is simpler
mounty has joined #nixos
<simonpe^^> clever: thing is, we already have a requirement that the OS is build with Yocto/Bitbake so we basically want to "convert" our cross compiled source code including dependencies to a tarball with all the /nix/store stuff removed
<simonpe^^> So we have an OS already, we're just interested in deploying our applications to it
<clever> simonpe^^: ah, thats a bit more complex, i tend to just do everything the nix way
<thibm> doesn't pkgsCross.*.pkgsStatic should work (in theory)?
<simonpe^^> oooh I never heard of that
<{^_^}> [nixpkgs] @ehmry merged pull request #105125 → bombadillo: init at 2.3.3 → https://git.io/Jk7Eu
<{^_^}> [nixpkgs] @ehmry pushed commit from @siraben to master « bombadillo: init at 2.3.3 »: https://git.io/Jk7oY
<clever> simonpe^^: that would leave you free to move the binaries around without things breaking, but it may wind up larger, because your not sharing libc between each binary
cfricke has quit [Client Quit]
<simonpe^^> but if that implies static linking then I believe it is out, this device is VERY resource constrained so we need shared libraries
<clever> yeah
<thibm> yes it does
<clever> simonpe^^: the other option is patchelf
<clever> simonpe^^: you can move all of the binaries and libs into a single $out, and then re-patchelf them to look in the new dir
<clever> and discard all the unwanted files
<simonpe^^> that is very smart
<clever> this is how nixos does it, to make the initrd smaller
<clever> but that code is geared towards running the nixos stage-1-init.sh, script
<clever> it needs to be extracted out and made generic, so others can then easily recycle it
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #96292 → gitter: 4.1.0 -> 5.0.1 → https://git.io/JUUKl
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk7or
<thibm> While we are talking about cross compilation, I have a package which doesn't build when cross compiled because of an input set in nativeBuildInputs. That does not make sense to me, I guess something is broken in the dependency package (asciidoc)
<clever> simonpe^^: i also have another more extreme option...
<simonpe^^> thibm: usually the derivations are missing the `with buildPackages; [...`
<clever> simonpe^^: this generates a single haskell binary at /init, and ZERO other files
<simonpe^^> lol
<clever> simonpe^^: and being haskell, you can cheaply embed other programs into the same binary
<clever> and being static, it relies on nothing
<thibm> simonpe^^: I didn't get it
<clever> (assuming the other programs are also haskell)
<clever> simonpe^^: the initrd is 2mb in size, so it would fit your needs, lol
<simonpe^^> thibm: usually the derivation says something like `nativeBuildInputs = [ cmake ];` but it SHOULD be `nativeBuildInputs = with buildPackages; [ cmake ];`
<tomturbo> oh man, I'm stupid. the problem wasn't in this file at all: all of this code used to be in a shell.nix, which also had a shellHook where I would export NIX_SSL_CERT_FILE to point to mycacert. now I'm trying to split the shell and non-shell part so I can reuse the non-shell part for a container, but the shell.nix still tries to reference mycacert (which obviously doesn't exist anymore in this context)
<clever> but only if you rewrite everything
<clever> simonpe^^: callPackage does some magic, so nativeBuildInputs can find the right cmake
<clever> simonpe^^: but if your not using callPackage, that magic breaks
<{^_^}> [nixpkgs] @Th0rgal opened pull request #105130 → ledger-live-desktop: 2.16.0 -> 2.17.1 → https://git.io/Jk7op
<thibm> simonpe^^: I can try. I admit that I should dig into the buildPackages thing.
<adisbladis> simonpe^^: Is the /nix/store directory actually a problem?
<simonpe^^> clever: well, the use case is the developer hits build in vscode and the application is re-deployed as a sysvinit service so we can't really remove busybox and everything lol :D
<thibm> simonpe^^: I can try. I admit that I should dig into the buildPackages thing.
mounty has quit [Read error: Connection reset by peer]
<thibm> But I thing the dependency's doing things wrong. I'll try buildPackages before trying to fix it.
<clever> [nix-shell:~/apps/rpi/lk]$ nix repl '<nixpkgs>'
<clever> nix-repl> x = pkgsCross.armv7l-hf-multiplatform.callPackage ({cmake}: cmake) {}
<clever> nix-repl> x.__spliced
<clever> { buildBuild = «derivation /nix/store/5p4lh26b6f5wm92v4gpsblfy682z8qw9-cmake-3.18.2.drv»; buildTarget = «derivation /nix/store/3hfna44b732w9n31hl6dl24xr0g6imv5
mounty has joined #nixos
<clever> simonpe^^: behind the scenes, nativeBuildInputs is using __spliced to extract the native version of cmake from the set, when "${cmake}" is target
<clever> > cmake.__spliced
<{^_^}> attribute '__spliced' missing, at (string):435:1
<clever> but that attr only exists if you get cmake from callPackage
<simonpe^^> adisbladis: well we don't want the store to fill up due to the extreme resource restrictions - and we also want to separate to using nix for as a build system, not as a runtime platform
<thibm> clever: thanks for the pointer
<simonpe^^> I mean, I'm not the only one in this project and my Ethos took a big hit initially when I just threw Nix into the pot as the first platform engineer in the project
<simonpe^^> Now the others have more trust in it but I don't want to take it too far
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105122 → avocode: 4.7.0 -> 4.10.3 → https://git.io/Jk7B0
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk7KA
<{^_^}> [nixpkgs] @zimbatm pushed 0 commits to ipfs-0.7.0: https://git.io/Jk76G
<adisbladis> simonpe^^: I was just thinking you could do something along these lines:
<adisbladis> (buildEnv { name = "my-env"; paths = [ hello bash ]; }).overrideAttrs(old: { buildCommand = old.buildCommand + "mkdir -p $out/nix/store"; })
<adisbladis> mkdir /nixchroot
<adisbladis> simonpe^^: I just think some
<adisbladis> mount -o bind /nix/store/0rbp9n150ahf6x9nci9s04p3maxpjaki-my-env /nixchroot
<clever> adisbladis: buildEnv has a hook for that
<adisbladis> (Sorry, accidentally scrolled back)
<adisbladis> clever: Oh, I didn't know :)
<adisbladis> What's it called?
<clever> postBuild
<clever> 78 ${buildPackages.perl}/bin/perl -w ${builder}
<clever> 79 eval "$postBuild"
<adisbladis> [continued]: mount -o bind /nix/store /nixchroot/nix/store
<clever> the buildCommand will just eval it after the perl script ran things
<adisbladis> chroot /nixchroot/ /bin/bash
<adisbladis> simonpe^^: And at that point you pretty much have an FHS root
<adisbladis> I think you're gonna have a much easier time deduplicating & sharing with an actual store
<clever> adisbladis: in the nix-msd example i linked above, i just symlink /bin to ${foo}/bin
<clever> no need for a bind mount
<mounty> clever: thanks.
<tomturbo> ok, new question: lets say I have a default.nix which has a "let mycacert = pkgs.cacert.overrideAttrs ... in pkgs.buildEnv { paths = [ mycacert ]; }". now I import this default.nix in a shell.nix and want to get the path of the "mycacert" package. is this possible?
malook has quit [Quit: malook]
<clever> tomturbo: only way to access that, is to have the file return a set rather then a package
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105132 → containerd: 1.4.1 -> 1.4.2 → https://git.io/Jk76h
<clever> tomturbo: { pkg = buildEnv ...; inherit mycacert; }
<tomturbo> clever: ahh, that didn't even cross my mind, I'll give it a try
<simonpe^^> adisbladis: I'm deciphering that
<mounty> Running nixos-rebuild and getting many lines of the form: substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/aw1bf5ayn2f1g2plpvw6kxzfpiyj9wb4-udev-rules/69-bcache.rules'
vvvvv84 has joined #nixos
<simonpe^^> so we create a buildenv with a local nix/store and copy it to the device, then we mount the buildenv into a known path, then we mount the /nix/store to the known paths local nix/store and chroot
<{^_^}> [nixpkgs] @peti pushed 1000 commits to haskell-updates: https://git.io/Jk7iZ
<vvvvv84> Hello! Any docs on how to install nixos from another linux installation while preserving existing bootloader? https://nixos.org/manual/nixos/stable/index.html#sec-installing-from-other-distro seems to assume I'd want to overwrite my existing one
<vvvvv84> finally nixos-install fails with "Failed to check file system type of "/boot": No such file or directory"
<clever> vvvvv84: if you use grub, and set boot.loader.grub.device = "nodev";, then it wont install into the MBR
<vvvvv84> clever: awesome, thanks for the quick help!
<clever> vvvvv84: but it will still update the config in /boot, so give nixos its own /boot (which could be in the / partition)
<{^_^}> [nixpkgs] @etu merged pull request #105129 → Revert "nmap: 7.80 -> 7.90" → https://git.io/Jk7w9
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/Jk7iu
<clever> vvvvv84: you can then use the include statement in another grub.conf file, to import the nixos grub.conf
<{^_^}> [nixpkgs] @7c6f434c merged pull request #104719 → Wine update → https://git.io/JkPLN
<{^_^}> [nixpkgs] @7c6f434c pushed 7 commits to master: https://git.io/Jk7iw
<vvvvv84> I see, yeah, that makes a ton of sense. Again, thanks!
<clever> ive done the same thing, back before i was committed to nixos
<thibm> simonpe^^: using buildPackages.<dep> instead of <dep> gives the same derivation as I expected.
<{^_^}> [nixpkgs] @markuskowa opened pull request #105133 → Gromacs: fix SIMD flags, and OpenMP → https://git.io/Jk7i9
<simonpe^^> thibm: hmmm, I've had to do that a copule of times when building - idk what differs
<thibm> I think the dependency package would not cross compile the way it's writen. But, I don't understand why it would break the cross-compilation of the package which depends on it, because the dep is not cross-compiled
werner291 has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #105077 → shotcut: use qt-5.15, rework → https://git.io/JkQvh
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/Jk7PD
<{^_^}> [nixpkgs] @7c6f434c opened pull request #105134 → z3: enable build on non-x86_64 unix; checked the build on aarch64-linux → https://git.io/Jk7Ph
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100918 → elementary-planner: 2.4.6 -> 2.5.4 → https://git.io/JTWTF
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk7Xl
vvvvv84 has quit [Remote host closed the connection]
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon2 is now known as Mateon1
<sphalerite> lassulus: hm, sounds nasty, but if it works… is it public? :p
Ariakenom has joined #nixos
<lassulus> sphalerite: https://cgit.lassul.us/stockholm/tree/lass/3modules/usershadow.nix still uses an old version of the non upstream nix-writers though, I should update this some day
raghavsood has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105127 → qmapshack: 1.15.0 → 1.15.1 → https://git.io/Jk7gA
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk7M3
<sphalerite> lassulus: thanks!
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100860 → waifu2x-converter-cpp: 5.2.4 -> 5.3.3, add OpenCL support → https://git.io/JTCnV
<woffs> lassulus: thanks!
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/Jk7Dq
dsx has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @primeos merged pull request #105103 → wayland: fix cross → https://git.io/JkQ4m
<{^_^}> [nixpkgs] @primeos pushed commit from @flokli to staging « wayland: fix cross (#105103) »: https://git.io/Jk7Do
dsx has joined #nixos
werner291 has quit [Quit: werner291]
Fare has quit [Ping timeout: 264 seconds]
werner291 has joined #nixos
oladandola has joined #nixos
<{^_^}> [nix] @edolstra pushed 4 commits to progress-bar: https://git.io/Jk7St
<oladandola> Hi, any way I can add time together with the date in the boot entries that nixos creates?
eyenx has quit [Quit: Bridge terminating on SIGTERM]
alp_ has quit [Ping timeout: 272 seconds]
eyenx has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « fix a link »: https://git.io/Jk7Sw
<{^_^}> [nixos-homepage] @garbas opened pull request #652 → Smaller improvements to the README → https://git.io/Jk7So
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « Smaller improvements to the README »: https://git.io/Jk7SS
stic has joined #nixos
stic has left #nixos [#nixos]
dsx has quit [Ping timeout: 268 seconds]
dsx has joined #nixos
ardumont has quit [Ping timeout: 264 seconds]
zupo has joined #nixos
ardumont has joined #nixos
<{^_^}> [nix] @edolstra pushed to progress-bar « nix build: Add outro message »: https://git.io/Jk7Hg
<sphalerite> lassulus: hm, why does this shadow_verify_pam need setuid?
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/f900be57309 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-20.09)
<{^_^}> [nixpkgs] @primeos merged pull request #105054 → chromedriver: Switch to Chromium's upstream-info.json → https://git.io/JkH1D
<{^_^}> [nixpkgs] @primeos pushed to master « chromedriver: Switch to Chromium's upstream-info.json (#105054) »: https://git.io/Jk77e
<lassulus> ah, yes, it should
<lassulus> not sure where that went though
<{^_^}> [nixpkgs] @raboof opened pull request #105135 → jetbrains: updates → https://git.io/Jk75G
<oladandola> When doing "nix search $package" everything is duplicated, one under "nixpkgs" and one under "nixos", was thinking I have two channels, but doing "nix-channel --list" shows no channels...
<thibm> under which account? Does root has the two channels?
<oladandola> thibm: ah, of course, wasn't running with root. Root "nix-channel --list" shows nixos as one channel, guess the other is built-in then?
<sphalerite> lassulus: why do you also use pam_permit for auth?
thibm has quit [Ping timeout: 240 seconds]
<sphalerite> AFAIU it shouldn't have any effect?
<oladandola> seems I'm hitting the same issue as posted about in the last message here: https://discourse.nixos.org/t/duplicate-results-in-nix-search/4922/5
thibm has joined #nixos
<oladandola> also did it from arch, and ended up with two channels, one which I cannot see/remove with `nix-channel`
alp_ has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to staging « chromium: Enable Ozone's DRM/GBM platform [0] »: https://git.io/Jk7Fh
<sphalerite> lassulus: also, I can has licence? :p
vidbina has joined #nixos
<bqv> zbam.o
<{^_^}> [nixpkgs] @cizra opened pull request #105136 → tdm: removed → https://git.io/Jk7b6
<bqv> oops
<oladandola> someone know where `~/.nix/defexpr` gets populated from? Seems to be the source of my "duplicated search results" issue
<lassulus> sphalerite: I did most of the stuff by trial and error and stole it from some defaults, I'm not really sure why stuff is the way it is :D what licence do you want? generally its WTFPL
<{^_^}> [nixpkgs] @zakame opened pull request #105137 → perlPackages.Appcpm: init at 0.994 → https://git.io/Jk7NG
<sphalerite> lassulus: I really don't mind, something that lets me use and modify and redistribute it :p
<lassulus> sphalerite: sure, do what you want with it, better improve it or upstream it :D
aflatter[m] has joined #nixos
<tomturbo> on nixos I can use services.openssh.* to create a custom openssh config. is it possible to somehow use this syntax with dockerTools
cosimone has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105138 → cimg: 2.9.3 -> 2.9.4 → https://git.io/Jk7AG
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105132 → containerd: 1.4.1 -> 1.4.2 → https://git.io/Jk76h
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk7An
werner292 has joined #nixos
Jackneill has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100779 → mpvScripts.mpris: fix build → https://git.io/JTnzg
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk7AH
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
dsx has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100824 → geeqie: 1.4.0 -> 1.5.1 → https://git.io/JTcrN
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk7xM
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<buffet> Hey, I'm trying to package a few vim coc plugins, but coc seems to not recognize them as being installed. Any idea what could cause this?
<buffet> I'm defining the plugins as `coc-fzf = buildVimPluginFrom2Nix { name = "coc-fzf"; src = sources.coc-fzf; }` (sources managed with niv).
da_dada has quit [Ping timeout: 256 seconds]
Jackneill has joined #nixos
da_dada has joined #nixos
<jophish> Hi all
<jophish> buffet: coc-fzf is already packaged I think
<buffet> in unstable, apparently
<buffet> its not just coc-fzf though, its also other plugins
<supersandro2000> can someone explain to me when to use ``outputs = [ "out" "man" ]``?
jonatanb has joined #nixos
<jophish> buffet: as far as I know coc will pick up plugins in the rtp
whatisRT has joined #nixos
<buffet> Also was does rtp stand for?
<buffet> I didn't really understand that part.
<jophish> run time path, it's where vim searches for plugins, I'm pretty sure that's the mechanism by which they're passed to vim from nix
<buffet> Ah, right.
Jackneill has quit [Max SendQ exceeded]
cr4y1 has quit [Remote host closed the connection]
Jackneill has joined #nixos
<jophish> this is my init.vim
<jophish> all the plugins live in those two directories at the top
<mizukota[m]> Is it possible to write nicely nix-packageable cross-compileable games in something other than C?
<jophish> sure, why not?
raghavsood has joined #nixos
<sphalerite> java :D :P
<supersandro2000> nix java and nice
<jophish> Can be done in Haskell too
<supersandro2000> c++
<jophish> I bet lua "cross compiles" well too
<supersandro2000> go, rust
cr4y1 has joined #nixos
cosimone has quit [Remote host closed the connection]
<raghavsood> HTML or bust
<jophish> oh, bash I guess
cosimone has joined #nixos
<raghavsood> Anyone know how to reorder the sequence in which libraries are passed to `ld`? I'm beginning to suspect my boost issues are due to python being tacked on too late
cr4y1_ has joined #nixos
<mizukota[m]> just reorder -llib1 -llib2 to -llib2 -llib1 in your linker invocation?
cr4y1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Aptrug closed pull request #101998 → vimPlugins.vim-easyclip: init at 2019-02-18 → https://git.io/JTMVm
<{^_^}> [nixpkgs] @roberth opened pull request #105140 → Hercules ci agent 0.7.5 → https://git.io/Jk5vO
dsx has joined #nixos
<evils> supersandro2000: i think: separate man pages whenever convenient or when the size of that output is significant enough to warrant the hassle?
<raghavsood> mizukota[m]: I'm not invoking the linked, it is being done by `cmake` - wondering if I can reordering without messing with the projects own build instructions
cosimone has quit [Remote host closed the connection]
<mizukota[m]> in cmakefile you should have list of libraries to link in some place, probably you should change order there
cfricke has joined #nixos
<supersandro2000> evils: mmm.
oxalica has quit [Quit: oxalica]
<supersandro2000> I would never use that on my own
<raghavsood> mizukota[m]: That does seem logical, gonna go and try to find it - just hope it isn't hidden in a sub-cmake set of instructions
orivej has quit [Ping timeout: 260 seconds]
<raghavsood> Maybe I need to explicitly include python....
<mizukota[m]> it's so easier to use meson than cmake, and I love that nixos has cross-compilation working with meson
oxalica has joined #nixos
domogled has quit [Ping timeout: 256 seconds]
<evils> supersandro2000: ma27 nudged me towards using it once, and people use nixos on routers, phones, etc, so being able to exclude man pages probably has a fair bit of value (openwrt for example doesn't even include `man`)
cr4y1_ has quit [Remote host closed the connection]
<typetetris> Some has a sphinx + mermaid build process at hand in nix expressions?
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @stigtsp merged pull request #105137 → perlPackages.Appcpm: init at 0.994 → https://git.io/Jk7NG
<{^_^}> [nixpkgs] @stigtsp pushed 2 commits to master: https://git.io/Jk5Uc
saschagrunert has quit [Remote host closed the connection]
cfricke has quit [Quit: WeeChat 2.9]
cfricke has joined #nixos
<thibm> supersandro2000: I'd say always, especially if it works oob
<mizukota[m]> is there a non-msvc c++ compiler with full c++20 modules support?
<jophish> typetetris: let me know if you find one!
werner292 has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
est has quit [Remote host closed the connection]
est31 has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c opened pull request #105141 → pythonPackages.browsermob-proxy: drop insecure python-cryptography tr… → https://git.io/Jk5kB
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/ffb3aab257e (from 2 days ago, history: https://channels.nix.gsc.io/nixos-20.09)
<supersandro2000> evils: if people want it they can send a PR I guess
acarrico has joined #nixos
justanotheruser has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100936 → fondo: 1.3.9 -> 1.3.10 → https://git.io/JTWzg
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk5Iu
cosimone has joined #nixos
<evils> supersandro2000: that's maybe not the best argument for not using best practices though :P
SanchayanM has joined #nixos
SanchayanM has quit [Client Quit]
<{^_^}> [nixpkgs] @wentasah opened pull request #105142 → autorandr: Install manpage → https://git.io/Jk5Lq
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101131 → keepassrpc: 1.8.0 -> 1.14.0 → https://git.io/JTRcu
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk5L0
<{^_^}> [nixpkgs] @victorb opened pull request #105143 → Change initialHashedPassword to initialPassword → https://git.io/Jk5Lz
<{^_^}> [nixpkgs] @ShamrockLee opened pull request #105144 → uwc: Init at 1.0.4 → https://git.io/Jk5Lg
iH8c0ff33 has quit [Ping timeout: 240 seconds]
<oladandola> holy moly there is a ton of PRs, has there been any efforts of figuring out a workflow that can minimize them?
<gchristensen> it isn't that much when you consider the merge rate
<gchristensen> just 2% ar
<gchristensen> e open
<{^_^}> [nixpkgs] @7c6f434c merged pull request #105141 → pythonPackages.browsermob-proxy: drop insecure python-cryptography tr… → https://git.io/Jk5kB
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/Jk5tE
<gchristensen> and we merge about 2500/mo
<evils> lol, looking at the graph of open PRs, i think you can see where supersandro2000 got merge access xD
<supersandro2000> can you send me the link to that?
iH8c0ff33 has joined #nixos
<supersandro2000> evils: something like this should be enabled by default and disabled for the 5% packages it fails for
<supersandro2000> I am waiting for the moment someone is like: you broke everything with the PR 2 months ago 😂
<evils> supersandro2000: man page separation? i'm not familiar enough with it to say that it's 95% success, and failure detection could be tricky?
<supersandro2000> I guess the 23.11. 😂
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105145 → broot: 1.0.5 -> 1.0.6 → https://git.io/Jk5qv
<supersandro2000> evils: I just mean I won't add it to 5k packages by hand...
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<simonpe^^> holy shit that is incredible
<{^_^}> [nixpkgs] @marsam merged pull request #105114 → postgresqlPackages.pg_hll: 2.14 -> 2.15 → https://git.io/JkQQl
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jk5qt
<gchristensen> supersandro2000: don't burn out pushing yourself just because it is fun to have people appreciate your hard work :)
da_dada has quit [Ping timeout: 246 seconds]
iH8c0ff33 has quit [Ping timeout: 256 seconds]
<supersandro2000> gchristensen: I will probably slow down in a week or so
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100891 → powertop: strip hcitool FSH path → https://git.io/JTCil
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk5qM
<evils> supersandro2000++
<{^_^}> supersandro2000's karma got increased to 12
da_dada has joined #nixos
<simonpe^^> supersandro2000++
<{^_^}> supersandro2000's karma got increased to 13
fendor_ has joined #nixos
<supersandro2000> ?
<simonpe^^> !\
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105146 → enlightenment.evisum: 0.5.7 -> 0.5.8 → https://git.io/Jk5mP
fendor has quit [Ping timeout: 240 seconds]
nly has joined #nixos
nly has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
waleee-cl has joined #nixos
<supersandro2000> ehmmm I can't follow you
SomeoneSerge has joined #nixos
<{^_^}> [nixops-aws] @adisbladis merged pull request #116 → Add t3a instance types → https://git.io/JTwlh
<{^_^}> [nixops-aws] @adisbladis pushed 2 commits to master: https://git.io/Jk5YA
<{^_^}> [nixpkgs] @NieDzejkob opened pull request #105147 → racket: Update source hashes → https://git.io/Jk5Yh
thibm has quit [Ping timeout: 240 seconds]
superherointj has joined #nixos
thibm has joined #nixos
iH8c0ff33 has joined #nixos
superherointj has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105148 → etcd_3_4: 3.4.13 -> 3.4.14 → https://git.io/Jk5Op
lordcirth has joined #nixos
<{^_^}> [nixpkgs] @onsails opened pull request #105149 → tabnine: fix binary permissions → https://git.io/Jk53T
<ma27[m]> evils: what did I do? :)
switchy has quit [Quit: Bye!]
<{^_^}> [nixpkgs] @FRidh pushed 856 commits to staging-next: https://git.io/Jk53Z
<{^_^}> [nixpkgs] @FRidh pushed 861 commits to staging: https://git.io/Jk53W
<evils> recommend `outputs = [ "out" "man ];` on a PR of mine a while ago, i mentioned you because you maybe know more about it, in case supersandro2000 has followup questions
switchy has joined #nixos
iH8c0ff33 has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @Ma27 pushed to master « neomutt: 20201120 -> 20201127 »: https://git.io/Jk53H
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.09 « neomutt: 20201120 -> 20201127 »: https://git.io/Jk5sW
alp_ has quit [Remote host closed the connection]
alp_ has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
cfricke has quit [Quit: WeeChat 2.9]
whatisRT has quit [Read error: Connection reset by peer]
dstzd has quit [Quit: ZNC - https://znc.in]
dstzd has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105146 → enlightenment.evisum: 0.5.7 -> 0.5.8 → https://git.io/Jk5mP
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk5Gj
werner292 has joined #nixos
zupo has joined #nixos
iH8c0ff33 has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105150 → dfu-util: 0.9 -> 0.10 → https://git.io/Jk5ZN
iH8c0ff33 has quit [Ping timeout: 260 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
bitmapper has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @B4dM4n opened pull request #105151 → copyDesktopItems: add new setup-hook → https://git.io/Jk5nu
jonatanb has quit [Remote host closed the connection]
example has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
iH8c0ff33 has joined #nixos
bitmapper has joined #nixos
cosimone has quit [Remote host closed the connection]
example has quit [Client Quit]
example has joined #nixos
kreyren has quit [Quit: Leaving]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oladandola has quit [Ping timeout: 245 seconds]
example has quit [Client Quit]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c6a8fcd945a (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a445a00efb3 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
meh` has joined #nixos
<{^_^}> [nixops-aws] @adisbladis merged pull request #118 → Allow Route53 recordsets to point at EIPs → https://git.io/JTw67
<{^_^}> [nixops-aws] @adisbladis pushed 3 commits to master: https://git.io/Jk5Wm
simonpe^^ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm merged pull request #100922 → ephemeral: 6.4.1 -> 7.0.4 → https://git.io/JTWt2
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jk5Wi
<jophish> A good reason to enable sandboxing for builds: https://github.com/microsoft/DirectXShaderCompiler/issues/3277#issuecomment-734858681
<jophish> christ
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #100590 → python37Packages.aws-lambda-builders: 0.9.0 -> 1.1.0 → https://git.io/JT3VD
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #100619 → python37Packages.flask-babel: 1.0.0 -> 2.0.0 → https://git.io/JTsm9
<{^_^}> [nixpkgs] @SuperSandro2000 reopened pull request #100590 → python37Packages.aws-lambda-builders: 0.9.0 -> 1.1.0 → https://git.io/JT3VD
<{^_^}> [nixpkgs] @SuperSandro2000 reopened pull request #100619 → python37Packages.flask-babel: 1.0.0 -> 2.0.0 → https://git.io/JTsm9
<supersandro2000> maybe the bot should not post everything here especially if I change my mind 5 seconds later
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2020/09 »: https://git.io/Jk5lO
<gchristensen> pretty complicated logic, and a bit rare
<adisbladis> I'd rather have a few too many events than missed ones
<{^_^}> [nixpkgs] @msteen opened pull request #105152 → Removed msteen from the list of maintainers → https://git.io/Jk5lK
<{^_^}> [nixpkgs] @FRidh opened pull request #105153 → GH Action: merge staging(-next) periodically → https://git.io/Jk58I
<supersandro2000> Will there be a ZHF for 21.03 like there was for 20.09?
jonatanb has joined #nixos
<supersandro2000> someone recently asked how staging works. I don't know who anymore but you can find it in ä105153
<supersandro2000> #105153
<{^_^}> https://github.com/NixOS/nixpkgs/pull/105153 (by FRidh, 1 minute ago, open): GH Action: merge staging(-next) periodically
<adisbladis> supersandro2000: We always have ZHF every release cycle
<supersandro2000> thanks for clarification. I only use nix since one major release
jonatanb has quit [Remote host closed the connection]
zupo has joined #nixos
<bbigras> Is there a way to update all the flakes with `nix flake update`?
cosimone has joined #nixos
<ma27[m]> I usually do `nix flake update --impure --recreate-lock-file --commit-lock-file`
<bbigras> ah yeah it will do the same thing. thanks!
<bbigras> ma27++
<{^_^}> ma27's karma got increased to 2
<euandreh> supersandro2000++ for doing PR reviews everywhere. 3 out of 5 of recent PRs I checked out had a reviews by supersandro2000!
<{^_^}> supersandro2000's karma got increased to 14
cosimone has quit [Remote host closed the connection]
<bbigras> yeah I see that person in all my PRs
cosimone has joined #nixos
<bbigras> great job supersandro2000
<{^_^}> [nixpkgs] @CheariX opened pull request #105154 → joplin-desktop: 1.3.18 -> 1.4.15 → https://git.io/Jk5Rc
acarrico has quit [Ping timeout: 246 seconds]
sangoma has joined #nixos
meh` has quit [Ping timeout: 265 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<supersandro2000> I am all over you 🦹
<supersandro2000> *your PRs
<bbigras> yeah. resistance is futile :)
tlaxkit has joined #nixos
cosimone has quit [Remote host closed the connection]
ilmu1 has quit [Ping timeout: 264 seconds]
Fare has joined #nixos
ilmu1 has joined #nixos
<thibm> Looks like traceSeq on a package is not a good idea http://ix.io/2FGK
fabioluciano has joined #nixos
<thibm> thanks we have .outPath (which is what I wanted)
fabioluciano_ has joined #nixos
fabioluciano has quit [Client Quit]
acarrico has joined #nixos
dsx has quit [Ping timeout: 268 seconds]
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « Use livereload to drive the development. »: https://git.io/Jk5Ex
jvo has joined #nixos
as3ii[m] has quit [Quit: authenticating]
as3ii[m] has joined #nixos
as3ii[m] has quit [Client Quit]
zebrag has joined #nixos
as3ii[m] has joined #nixos
inkbottle has quit [Ping timeout: 240 seconds]
fabioluciano_ has quit [Quit: Leaving]
dsx has joined #nixos
<supersandro2000> thibm: I always use nix repl and auto completion to find out about stuff
meh` has joined #nixos
<thibm> I do too
aasg has quit [Quit: Bridge terminating on SIGTERM]
<adisbladis> > "${hello.outPath}"
<{^_^}> "/nix/store/byghkc1k0xmrrl2jk04lp0qipmpmz547-hello-2.10"
<adisbladis> > hello.outPath
<{^_^}> "/nix/store/byghkc1k0xmrrl2jk04lp0qipmpmz547-hello-2.10"
<adisbladis> thibm: ^
<adisbladis> These are equivalent
<thibm> Hum, yes, so?
<adisbladis> thibm: Just fyi :)
<thibm> You meant "${hello}" I guess?
<adisbladis> Oh, yes
<adisbladis> :P
<thibm> otherwise it's not impressive at all ;)
werner292 has joined #nixos
<hexa-> > ${hello}.outPath
<{^_^}> error: syntax error, unexpected DOLLAR_CURLY, at (string):435:1
<hexa-> :)
EmoSpice has joined #nixos
<{^_^}> [nixpkgs] @FRidh opened pull request #105155 → WIP Python: use pythonPackagesBuildHost.pkg.python instead of pythonF… → https://git.io/Jk5zB
<adisbladis> > hello.${"outPath"}
<{^_^}> "/nix/store/byghkc1k0xmrrl2jk04lp0qipmpmz547-hello-2.10"
<adisbladis> ^_^
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<adisbladis> > "${{outPath = "where is your god now";}}"
<{^_^}> "where is your god now"
<hexa-> idk!
<thibm> supersandro2000: In fact, I'm debugging the cross compilation issue, and I want to ensure that 2 packages (one cross compiled, one native) has the same dependency. I wrote the == test in a file I use with nix-instantiate --eval. In this case it's much more convenient that the repl
<hexa-> pretty sure having a god is optional
<thibm> and it avoids a lot of :r
<adisbladis> I find it amusing ${} just checks for outPath
<{^_^}> [nixos-weekly] @domenkozar merged pull request #135 → Call for Content: 2020/09 → https://git.io/JTIHo
<{^_^}> [nixos-weekly] @domenkozar pushed 8 commits to production: https://git.io/Jk5zo
<hexa-> heh :)
<thibm> adisbladis: it does not do "just" that ;)
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Call for Content: 2020/10 »: https://git.io/Jk5z1
<{^_^}> [nixos-weekly] @domenkozar opened pull request #138 → Call for Content: 2020/10 → https://git.io/Jk5zy
<thibm> there's actually a lot of nix magic behind the scene with "${hello}"
<rogerr> any rust users? need some general guidance
<adisbladis> I know this all too well :P
<lordcirth> rogerr, just ask the question
<thibm> and that magic is abused in some derivations which are completly broken in cross-compilation context :<
<thibm> The blaming point commit in 2013 :/
aasg has joined #nixos
<thibm> (even some commits from civodul from 2008)
<thibm> oops, I should not have mention him, sorry (did not think he was connected)
<civodul> hi! did i break something? :-)
acarrico has quit [Ping timeout: 260 seconds]
<thibm> hi :) you committed to a broken package (in cross compilation context) according to git blame. But I'd admit that I won't blame you for "stdenv.mkDerivation rec {" :p
cirno[m] has left #nixos ["User left"]
elher has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « Adding gitpod configuration to make it easier to contribute »: https://git.io/Jk52g
<elher> Any status on https://cache.nixos.org? I can't reach it anymore
<gchristensen> what does https://www.fastly-debug.com/ say
<lewo`> elher: same here (i'm on the Orange network)
<lewo`> but it works well for me from the OVH network
tomturbo has quit [Quit: leaving]
<thibm> It works from 2 different networks here
<elher> lewo` & thibm : ok thanks
<lewo`> fastly-debug.com is not responding from my Orange connection
<gchristensen> well that answers that :P
<EmoSpice> Hi all - I'm attempting to create an overlay for dwm with some custom patches applied and custom dependencies. When overriding the patches, I've created a small function to grab all of "*.patch" files out of a dir and create a list from that. When doing this manually (by updating the static list), the patches apply fine, but with the dynamic
<EmoSpice> update, `nixos-rebuild switch` reports that it cannot find the files.
<EmoSpice> Script in question: http://ix.io/2FGZ
jvo has quit [Remote host closed the connection]
jvo has joined #nixos
<thibm> EmoSpice: can you try without quotes around the path (line 3)?
<regnat> EmoSpice: I think that's because dwmPatchBaseDir is a string and not a path
<regnat> So yeah, try removing the quotes
<rogerr> if i want each rust project to have its own rust toolchain version and/or target (host system, wasm, etc) that means i can't use the mozilla overlay because it's global, i have to use the per directory nix-shell solution right?
<jmercouris> R U S T
<EmoSpice> Wow. Let's try that again...
<bigvalen> Is 'wine' broken for everyone, or just me ? ' nix-env -iA nixos.wineWowPackages' gets 'error: while setting up the build environment: opening file '/nix/store/vzar2msj3v5n53yq3y66fai9wr1j4ww9-user-environment.drv.chroot/nix/store/fn1la2j5v58mnjw18wsrfjvyv705lq9r-wine-mono-4.9.4.msi': Permission denied' - not sure have I broken something locally, or what.
<jmercouris> W I N E
<rogerr> jmercouris hi ya i wanna try it
<jmercouris> rogerr: to anser your question, Y E S
<rogerr> dnno if you're being serious or trolling me out of hatred for rust
<supersandro2000> if anyone sees any python package which requires pyobjc* then please head to #105156 and link/comment it. I plan to fix most of them after the required PR is merged and I want to have an overview what could be done next.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/105156 (by SuperSandro2000, 5 minutes ago, open): Python on Darwin: pyobj tracking issue
<{^_^}> [nixpkgs] @primeos merged pull request #105152 → Removed msteen from the list of maintainers → https://git.io/Jk5lK
<{^_^}> [nixpkgs] @primeos pushed commit from @msteen to master « google-chrome: Remove msteen from the list of maintainers (#105152) »: https://git.io/Jk5Vz
<EmoSpice> That's failing - but it's failing probably because I incorrectly generated the patches I'm using. Thanks for dealing with my stupidity :P
<thibm> That wasn't stupid.
<lewo`> elher: fyi, it's now working on my side
<elher> lewo` confirm on my side it is also working well
pushqrdx_ has joined #nixos
pushqrdx has quit [Ping timeout: 265 seconds]
<euandreh> rogerr: You can you Mozilla's overlay on the local project shell.nix
justanotheruser has joined #nixos
<rogerr> ty euandreh++
<{^_^}> euandreh's karma got increased to 2
<euandreh> and each project could have its own Rust toolchain
<{^_^}> [nixpkgs] @mweinelt opened pull request #105157 → libslirp: fix CVE-2020-29129 → https://git.io/Jk5wZ
<euandreh> something like 'pkgs = import <nixpkgs> { overlays = [ mozilla-overlay ]; }'
acarrico has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
<euandreh> rogerr: that works!
<rogerr> ty
malook has joined #nixos
<thibm> EmoSpice: to "dynamically" import files with a given suffix from a directory, you can take at what cachix generates here: https://github.com/cachix/cachix/blob/3a84e73476e843eb466f41201a388d8a43f31674/cachix/src/Cachix/Client/InstallationMode.hs#L193L196
<{^_^}> [nixos-homepage] @garbas pushed to improve-readme « add a gitpod badge »: https://git.io/Jk5rW
<dutchie> "i found" ;)
<dutchie> yw rogerr
<siraben> If I want to move away from using channels for configuration.nix as well, should I use niv for that? I currently use niv for my home-manager config
<siraben> Or should I use flakes for everything
<EmoSpice> thibm: That's interesting. That link is basically what I wrote, though I'm not looking to import anything - just generate a string from their full path. (this is the "right kind of lazy", I think- I don't want to have to keep this list of patches up to date with the contents of the directory :/) This would've been very useful when I was writing
<EmoSpice> this though! It'd be nice to have `nixpkgs.lib.filesystem.listFilesRecursive` in a release for this very reason
<gchristensen> that function is a bit evil :(
<gchristensen> I thought we reverted that function or something
<thibm> x)
<{^_^}> [nixpkgs] @7c6f434c merged pull request #105134 → z3: enable build on non-x86_64 unix; checked the build on aarch64-linux → https://git.io/Jk7Ph
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/Jk5os
<EmoSpice> It's not in a release at the moment, but it seems still in the git history, as that's how I found it
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #105138 → cimg: 2.9.3 -> 2.9.4 → https://git.io/Jk7AG
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/Jk5oi
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #105115 → ammonite: 2.2.0 -> 2.3.8 → https://git.io/JkQpg
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/Jk5oy
<EmoSpice> Or rather - I *thought* it was in HEAD, but I could be wrong. I was browsing nixpkg's source for inspiration and stumbled on that function (and then didn't realize it wasn't released and tried to use it...)
<raghavsood> Gonna try again since we have more people around: I'm trying to package Zilliqa, which depends on boost compiled with python - everything compiles fine, but falls apart at the linking step, where the boost module tries to link to python functions and complains about every thing being an `undefined reference` - I can't figure out why, the derivation
<raghavsood> is in line with other boost with python derivations
<raghavsood> Anyone have any insights?
<raghavsood> Here's the derivation and the build log: https://gist.github.com/RaghavSood/c9ee37c42fcd1f158a195193b3dbdcce
<raghavsood> Based on my haphazard googling, it seems to crop up in some scenarios where `ld` receives python too late in its argument list, but I'm uncertain if that is the case here
<EmoSpice> I'm far from an expert, but that sounds like a missing argument to the linker.
<EmoSpice> But you discovered that by googling and said it while I was looking over your link!
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #97101 → python3Packages.wxPython_4_0: build on darwin → https://git.io/JU3Pi
<FRidh> raghavsood: and if you don't build both static and shared?
<thibm> raghavsood: if you can, you should give the broken package and a similar working package
<raghavsood> FRidh: Fails the same way - I've tried all packaged versions of python, all available versions of boost, all fail in the same way
<raghavsood> straight up fails to compile with python2 - upstream is using boost158 and python35, both of which are no longer in nixpkgs
malook has quit [Quit: malook]
<raghavsood> thibm: A similar, working derivation with boost with python is ledger: https://github.com/NixOS/nixpkgs/blob/85afe9cbe9c8e2eb02ae8c5e0b31fb7d7a3614ff/pkgs/applications/office/ledger/default.nix
<eacameron> Anyone here have experience with using Nix on Azure pipelines
SanchayanMaity has quit [Quit: SanchayanMaity]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105158 → gnome3.evolution: 3.38.1 -> 3.38.2 → https://git.io/Jk563
EmoSpice has quit [Remote host closed the connection]
FRidh has quit [Ping timeout: 264 seconds]
FRidh has joined #nixos
jvo has quit [Quit: ERC (IRC client for Emacs 27.1)]
<pinpox> I know there is a Github action for installing nix, is it possible to have github check my system config (configuration.nix) on push?
<pinpox> I've hosted all my systems pulbicly here https://github.com/pinpox/nixos I'd like to have it check the files on changes (push, PR's..)
<bbigras> pinpox: a couple of us are building our systems with Github actions.
<pinpox> bbigras: Could you elaborate? I didn't think about building my system actually that way, but I guess you are probably running checks aswell?
astylian has joined #nixos
<pinpox> Any examples?
<bbigras> what kind of checks? I actually run a nixos test while building.
shibboleth has joined #nixos
<bbigras> I use nixus to build and deploy my system. so it's not building directly a configuration.nix but there must be a way to do the same in your case.
<pinpox> bbigras At a very minimum that the syntax is correct. I'd like to make as sure as possible that a change won't "break" the configuration
<rogerr> dutchie++ didn't know you were here too
<{^_^}> dutchie's karma got increased to 0x7
<bbigras> pinpox: oh. I have no idea if you can check without building. but if might want to consider building with github actions. that way you can it run every day at like 4 am. update your dependencies. build and push to cachix to make it faster to update your system.
<bbigras> pinpox: maybe `nixos-rebuild dry-build` would make sure the syntax is ok
<pinpox> bbigras: Thing is, some of the computers are not online 24/7 (like my notebook running nixos). How would that work?
meh` has quit [Ping timeout: 240 seconds]
<thibm> pinpox: you can always `nix-instantiate '<nixpkgs/nixos>' -A system` to do it "manually"
<thibm> Actually it depends on what you mean by "github check my system".
<pinpox> thibm: bbigras Ok, correct me if I'm wrong: I can have github install nix and build the configuration.nix without using the actual machine for which that config is written?
noudle has quit []
<thibm> yes
<pinpox> thibm: Do you have any example of how to do that?
<bbigras> pinpox: I think so. My config does it for 3 machines. My laptop included.
<bbigras> pinpox: here's my config https://github.com/bbigras/nix-config/
<thibm> (you can also evaluate it without building it, that's the command I gave you)
<cirno-999> can I convert file contents to a string? something like toString but with file contents
<bbigras> thibm: which command was that?
<thibm> pinpox: nix-instantiate '<nixpkgs/nixos>' -A system
<bbigras> thanks
<pinpox> Building is even better, I just assumed that wouldn't be possible if the system is not online
<thibm> pinpox: nix-build '<nixpkgs/nixos>' -A system to build it
<thibm> obviously :p
<pinpox> Thank's I'll look on how to use that with github actions
<regnat> cirno-999: builtins.readFile?
<thibm> pinpox: you "just" build a "system", it doesn't matter if a random system is online somewhere in the universe
<cirno-999> aah, I think that's bulitins.readFile if I'm not mistaken
<cirno-999> yes :D
<cirno-999> regnat++
<{^_^}> regnat's karma got increased to 8
<thibm> pinpox: "'<nixpkgs/nixos>' -A system" is what is used internally by nixos-rebuild (and other tools). You can do the plumbing yourself
<bbigras> pinpox: check https://github.com/Infinisil/nixus . there was also https://serokell.io/blog/deploy-rs that was announced this week (it works with flakes).
ttamttam has joined #nixos
<{^_^}> [nixpkgs] @maralorn merged pull request #105140 → [haskell-updates] fix hercules-ci-agent (after hackage2nix update to agent 0.7.5) → https://git.io/Jk5vO
<adisbladis> pinpox: Just to help you the last bit
<{^_^}> [nixpkgs] @maralorn pushed 4 commits to haskell-updates: https://git.io/Jk5Xu
<adisbladis> nix-build '<nixpkgs/nixos>' -A system
werner292 has joined #nixos
<adisbladis> Picks up the configuration file from NIX_PATH
<bbigras> pinpox: so 3 days a week, a github actions update my dependencies (like updating the nixpkgs channel but I'm using niv), it build my desktop, laptop and work system. then pushes it to cachix so when I want to update my computers, I run a command and they just need to download the stuff. no builds.
<ttamttam> What would be your advice to deal with this:
<adisbladis> So either `export NIX_PATH=nixos-config=path/to/configuration.nix` or:
<ttamttam> # nixos-rebuild switch --upgrade unpacking channels...building Nix...building the system configuration...these derivations will be built: /nix/store/qhmv0fr973fy025mz9ybk4x43b8g1bdf-etc.drv /nix/store/ibpf1zkbx7nxq5hqk9cfb3di1ypjclb7-nixos-system-pcdell-20.09.2076.ffb3aab257e.drvbuilding
<ttamttam> '/nix/store/qhmv0fr973fy025mz9ybk4x43b8g1bdf-etc.drv'...mkdir: cannot create directory '/nix/store/bsi9602zg1fk5m819rb03rw7z05pj3af-etc/etc/dconf/db/local.d': Permission deniedbuilder for '/nix/store/qhmv0fr973fy025mz9ybk4x43b8g1bdf-etc.drv' failed with exit code 1cannot build derivation
<ttamttam> '/nix/store/ibpf1zkbx7nxq5hqk9cfb3di1ypjclb7-nixos-system-pcdell-20.09.2076.ffb3aab257e.drv': 1 dependencies couldn't be builterror: build of '/nix/store/ibpf1zkbx7nxq5hqk9cfb3di1ypjclb7-nixos-system-pcdell-20.09.2076.ffb3aab257e.drv' failed
<adisbladis> env NIXOS_CONFIG=path/to/configuration.nix nix-build '<nixpkgs/nixos>' -A system
<pinpox> bbigras: That sounds awesome.
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
philr_ has quit [Ping timeout: 240 seconds]
<srid> What display manager do you use with your tiling window manager setup? (Bonus points if it will support fingerprint sensor)
<bbigras> pinpox: yeah I love it. I'm trying the deploy-rs tool now. To give flakes a try.
<ttamttam> ```What would be your advice to deal with this:
astylian has quit [Remote host closed the connection]
<bbigras> You are running as root right? Should be with the `#` prompt.
<siraben> When I run `sudo nixos-rebuild switch` it doesn't create a new generation, despite being successful, what's happening?
davidv7 has quit [Ping timeout: 240 seconds]
<siraben> When I reboot the generation list is still the same
<thibm> siraben: did you change the configuration?
<siraben> thibm: Yes, and it affected the switch
sangoma has quit [Ping timeout: 246 seconds]
<siraben> As in, if there was an error in configuration.nix, it would error out
<thibm> siraben: you can `ix-env -p /nix/var/nix/profiles/system --list-generations` to see system generation without rebooting
<thibm> (Or take a look at the bootloader config)
jonatanb has joined #nixos
<siraben> Oh, it's 103 when I see 83 at boot
<{^_^}> [nixpkgs] @maralorn pushed to haskell-updates « haskellPackages: Move some overrides and update affected derivations »: https://git.io/Jk5Mv
<siraben> Hm
jonatanb has quit [Remote host closed the connection]
jvo has joined #nixos
<notgne2[m]> bbigras: you could also set up your repo to deploy with with deploy-rs automatically, we do this at Serokell with our CI/CD stuff (most of the reason it was built actually)
<thibm> siraben: the default bootloader one and the system generation are decorelated
<notgne2[m]> siraben: you mean it's on the list though not automatically selected and requires manually scrolling down?
<notgne2[m]> because a few of my machines have that issue and I'd love to figure out why
mir100 has quit [Quit: WeeChat 2.8]
<thibm> Although they should stay correlated if you only used nixos-rebuild.
mir100 has joined #nixos
<thibm> siraben: you can use "/nix/var/nix/profiles/system-103-link/bin/switch-to-configuration boot" to set this generation as default boot
<thibm> then check in the bootloader config to see if it works
<siraben> notgne2: not even manually scrolling down
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #105159 → python3Packages.wxPython_4_0: build on darwin → https://git.io/Jk5MM
<siraben> it doesn't appear at all
<thibm> that's strange indeed
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<bbigras> notgne2: yeah of course. I'm going to test it soon. I'm almost done fighting with the conversion to flakes. I also had to figure out how to update my github actions.
<siraben> thibm: yeah i just switched but when booting it selects 103 again
<thibm> siraben: (thanks anyway, you gave me an more motivation to fix the bootloader generation scripts ;))
<thibm> siraben: wait, do you want 103 or 83?
justanotheruser has quit [Ping timeout: 264 seconds]
<siraben> 103
<siraben> This is strange I never had this error before
<thibm> "when booting it selects 103 again" ?
<siraben> Oh sorry, it selects 83 again
<thibm> OK
cr4y1_ has joined #nixos
<siraben> Ok I deleted all the generations, it's forced to choose gen 103 now
<thibm> I hope so :)
cr4y1 has quit [Read error: Connection reset by peer]
<siraben> Hmm, it still shows 83! I wonder if it's something to do with home-manager?
<siraben> 82 and 83 are still there, so the generations didn't disappear
<thibm> in the bootloader conf?
<thibm> Hum…
<siraben> How do I check the bootloader conf?
<thibm> Which bootloader are you using?
<siraben> Can I force grub to synchronize?
<siraben> grub
<thibm> It's in /boot/grub/grub.cfg
<siraben> At some point it seems to have desynced, every time I upgraded NixOS it didn't actually create a new generation, I just noticed now
<thibm> At the end
cosimone has quit [Remote host closed the connection]
<siraben> menuentry "NixOS - Configuration 99 (2020-11-01 - 21.03pre249162.1dc37370c48)" {
cosimone has joined #nixos
<siraben> It goes like this, 103, 102, 101, 100, 99
<thibm> siraben: did you do a "nixos-rebuild boot" or a "/anything/bin/switch-to-configuration boot" after you deleted all generations?
<siraben> I don't think so.
<thibm> That's why the bootloader conf is not updated
<thibm> (for this case, not the previous ones)
<siraben> Also, these nixos commands have to be run as root right?
<thibm> When you delete generations its conf is not updated.
<thibm> They should be, yes
<siraben> Ok I ran nixos-rebuild boot but no difference
<thibm> Can you run "/nix/var/nix/profiles/system-103-link/bin/switch-to-configuration boot"?
<siraben> Hm I don't recall messing around with bootloader entries
fendor__ has joined #nixos
<siraben> Ok it says updating grub 2 menu
Lord_of_Life_ is now known as Lord_of_Life
cosimone has quit [Remote host closed the connection]
<siraben> No difference.
<thibm> Do you use an up-to-date nixos? (to be sure)
<thibm> (although it should work anyway)
fendor_ has quit [Ping timeout: 240 seconds]
dsx has quit [Quit: dsx]
<siraben> How do I check that?
<siraben> 20.09pre239318.c59ea8b8a0e (Nightingale)
dsx has joined #nixos
<siraben> nixos-version gives that
<thibm> I mean you're not running 16.03
<thibm> KO
<thibm> OK,
ttamttam has left #nixos [#nixos]
<raghavsood> so I've definitely got python in my cmake, ld, pkgconfig, and all other paths and flags - yet, boost can't be linked against it
alp_ has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4807d589a9a (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
__monty__ has joined #nixos
iH8c0ff33 has quit [Ping timeout: 260 seconds]
malook has joined #nixos
<thibm> siraben: you could try to do "nixos-rebuild boot --install-bootloader"
<thibm> but I don't have hope
<davidtwco> I'm overriding python3 in multiple overlays, each of them using packageOverrides to add/change a package. But when I try and use one of the packages (in withPackages) then it says it cannot be found - the last-evaluated overlay's python is removing the packages added in earlier overlays? How could I work around this?
malook has quit [Client Quit]
<siraben> thibm: didn't fix it
<siraben> Hm, I wonder how I got into this state in the first place
<thibm> siraben: so, right now, you have only 1 system generation (103) and the grub.cfg is messed up (with generation 83 present), right?
cosimone has joined #nixos
<siraben> Yes
<thibm> Yes it does not make sense.
ardumont has quit [Ping timeout: 240 seconds]
dsx has quit [Ping timeout: 268 seconds]
<siraben> I'm on generation 83 and 103 simultaneously, heh
<thibm> The grub generation is literally doing (glob "/nix/var/nix/profiles/system-profiles/*")
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adisbladis> As you've discovered Python's packageOverrides is composable. Is it possible for you to get a list of all your overlays somewhere?
<rawtaz> is the next version of nixos supposed to be in six months from september?
<rawtaz> or more six months from october, or even something else?
<rawtaz> i tried to find a roadmap but couldnt on either the website nor the wiki
<adisbladis> davidtwco: If you can, then this works `packageOverrides = lib.foldr lib.composeExtensions (self: super: { }) overlays`
<thibm> (I meant (glob "$profile-*-link"), with profile=nix/var/nix/profiles/system)
<adisbladis> Where overlays is he list of overlays
<adisbladis> rawtaz: Next release is 21.03
<rawtaz> so in practice maybe april then
<rawtaz> thank you regardless!
<adisbladis> Yeah, I was just gonna say that :)
<rawtaz> cheers
<adisbladis> Usually around march 40th ;)
<rawtaz> lol
<davidtwco> adisbladis: what would `overlays` be in that case?
<adisbladis> davidtwco: A list of packageOverrides functions
<adisbladis> davidtwco: You can see how this is used in poetry2nix here https://github.com/nix-community/poetry2nix/blob/2acbe722a8846f6a2d11ca1f64d1ba46f62095c2/default.nix#L178
<siraben> thibm: Should I reinstall NixOS?
<siraben> This hasn't happened in over a year of using it, but 20 generations ago it stopped updating the generation list at boot
<davidtwco> adisbladis: am I understanding correctly that python would have be overriden only once in one nixpkgs overlay?
<rawtaz> thibm: good chiming in! :) is this because the previous one for that specific position has to quit or is it a routine to have one per year or something like that?
<adisbladis> davidtwco: Exactly
<thibm> siraben: hm, I'm out of ideas right now
<davidtwco> adisbladis: right, I've run into this by trying to logically separate my overlays into a few different files, a few of which all override python - I'll need to revisit how I do that then.
<rawtaz> for those not used to running linux *desktop*, whats the short summary of why nixos recommends picking the gnome version over plasma?
<adisbladis> rawtaz: We don't recommend one over the other?
<thibm> rawtaz: The last three release, it's was three different persons I thin
<gchristensen> the installer webpage suggests gnome b/c it supports hidpi out of th ebox
<rawtaz> adisbladis: im referring to that https://nixos.org/download.html#nixos-iso says "Recommended for most users" on the GNOME one :)
<adisbladis> I had missed that :)
<rawtaz> gchristensen: ah, that makes sense. thanks
<{^_^}> nixos-homepage#643 (by grahamc, 2 weeks ago, merged): Revert "Revert "NixOS Download: recommend GNOME""
cole-h has joined #nixos
<siraben> thibm: Is my system in an inconsistent state? Everything seems to work still
<thibm> siraben: we should dig into /nix/var/nix/profiles/ to know that
fendor__ is now known as fendor
<siraben> $ ls /nix/var/nix/profiles
<siraben> default default-1-link per-user system system-103-link
<thibm> I won't advise you to reinstall, but if you fell comfortable with that you can do it
<thibm> *feel. OK, this had been a long day.
stoile has quit [Remote host closed the connection]
<adisbladis> gchristensen: I think it's unfortunate but I buy the argument
<gchristensen> unfortunate that we stopped recommending plasma?
<cirno-999> regnat: hmm, what if I wanted to use an integer with readFile? any way to convert string to integer?
oxalica has quit [Quit: oxalica]
<thibm> > toString 5
<{^_^}> "5"
<thibm> cirno-999: ^
oxalica has joined #nixos
<thibm> oops
<cirno-999> that's the reverse of what I want ;D
sangoma has joined #nixos
cosimone has quit [Quit: cosimone]
<siraben> thibm: I see. What would you recommend instead?
<thibm> > toInt "5"
<{^_^}> 5
<cirno-999> oh
<cirno-999> yeah, that's it :D
<cirno-999> thibm++
<{^_^}> thibm's karma got increased to 7
<thibm> > toInt "nope"
<{^_^}> unrecognised JSON value
<etu> :D
<thibm> x)
h0m1 has quit [Quit: WeeChat 3.0]
<cirno-999> > toInt 44
<{^_^}> value is an integer while a string was expected, at /var/lib/nixbot/nixpkgs/master/repo/lib/strings.nix:691:22
<cirno-999> > toInt "44 "
<{^_^}> 44
h0m1 has joined #nixos
<cirno-999> error: undefined variable 'toInt' at /etc/nixos/configuration.nix:121:20
<cirno-999> is it lib.strings.toInt?
<thibm> siraben: what's the output of `df /boot`?
alp_ has joined #nixos
<thibm> cirno-999: yes, or lib.toInt
wnklmnn has joined #nixos
<cirno-999> works❄
iH8c0ff33 has joined #nixos
<siraben> thibm: /dev/sda3 510984 41220 469764 9% /boot
<thibm> OK
<thibm> siraben: for the discourse link, that's the reason why I asked you to do "/nix/var/nix/profiles/system-103-link/bin/switch-to-configuration boot". It should update the bootloader config
<thibm> (in the post, result is a link to the same "thing" as /nix/var/nix/profiles/system-103-link)
<siraben> thibm: with sudo, yes?
<siraben> `updating GRUB 2 menu...`
<thibm> yes
<thibm> You can post on discourse, may be you'll get more ideas.
<siraben> Ok, thanks.
cosimone has joined #nixos
<rogerr> anyone not like using discourse? just curious why
dsx has joined #nixos
iH8c0ff33 has quit [Ping timeout: 240 seconds]
aswanson has quit [Ping timeout: 272 seconds]
werner292 has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<thibm> siraben: you could try `nixos-rebuild build-vm-with-bootloader` but I'm not sure what would be the result
<cirno-999> hmm, I've noticed my screenshots probably have the subpixels reversed
<cirno-999> anyone had that happen?
<{^_^}> [nixpkgs] @veprbl merged pull request #104185 → runLaTeX: fixed empty table of contents + refactor → https://git.io/JkRb5
<{^_^}> [nixpkgs] @veprbl pushed commit from @ilyakooo0 to master « runLaTeX: rerun at least twice + refactor (#104185) »: https://git.io/Jk5F0
<cirno-999> (if that's a thing...)
cosimone has quit [Quit: cosimone]
<Orbstheorem> Hi o/ How can I pin the nixpkgs flake so that I don't have to download a new index everytime I want to enter a shell?
<cole-h> With the nix.registry option
bn_work has quit [Quit: Connection closed for inactivity]
<Orbstheorem> Great, thanks!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105162 → datovka: 4.15.5 -> 4.15.6 → https://git.io/Jk5br
bbarker has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105163 → discord-ptb: 0.0.22 -> 0.0.23 → https://git.io/Jk5N0
hnOsmium0001 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 closed pull request #105089 → tesseract: 3.05.00 -> 4.1.1 → https://git.io/JkQYS
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #85133 → mosquitto: systemd service sandboxing → https://git.io/JvjP1
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk5Ak
<{^_^}> [nixpkgs] @ajs124 merged pull request #104819 → nginx: 1.19.4 -> 1.19.5 → https://git.io/JkMZE
<{^_^}> [nixpkgs] @ajs124 pushed 2 commits to master: https://git.io/Jk5AZ
zupo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105164 → discord-canary: 0.0.115 -> 0.0.116 → https://git.io/Jk5A2
Izorkin has quit [Ping timeout: 272 seconds]
Izorkin_ has joined #nixos
Izorkin_ is now known as Izorkin
alp_ has quit [Ping timeout: 272 seconds]
growpotkin has joined #nixos
jonringer has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #105135 → jetbrains: updates → https://git.io/Jk75G
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jk5xe
cognemo_ has quit [Ping timeout: 272 seconds]
iH8c0ff33 has joined #nixos
berberman has quit [Quit: ZNC 1.7.5 - https://znc.in]
cognemo has joined #nixos
berberman has joined #nixos
orivej has joined #nixos
dsx has quit [Quit: dsx]
endformationage has joined #nixos
<{^_^}> [nixpkgs] @Ma27 closed pull request #104011 → vault: 1.5.5 -> 1.6.0 → https://git.io/JkCuo
<{^_^}> [nixpkgs] @Ma27 merged pull request #104792 → autofs: fix compilation fail due to libtirpc changes → https://git.io/Jk1QD
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jk5pf
mallox has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @ThibautMarty opened pull request #105165 → poweralertd: init at 0.1.0 → https://git.io/Jk5pP
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #104760 → linux: explicitly enable RAS → https://git.io/JkX1N
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/Jk5pQ
mallox has joined #nixos
mallox has quit [Client Quit]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105162 → datovka: 4.15.5 -> 4.15.6 → https://git.io/Jk5br
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk5hf
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105163 → discord-ptb: 0.0.22 -> 0.0.23 → https://git.io/Jk5N0
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk5hk
dsx has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #105164 → discord-canary: 0.0.115 -> 0.0.116 → https://git.io/Jk5A2
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #100269 → rm .github/workflows/pending-* → https://git.io/JTkOD
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100544 → pyditz: 0.10.3 -> 0.11 → https://git.io/JTOMe
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jk5hy
<{^_^}> [nixpkgs] @SamirHafez opened pull request #105166 → plex: Add an updateScript → https://git.io/Jk5h5
berberman has quit [Quit: ZNC 1.7.5 - https://znc.in]
berberman has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #105066 → blender: fix on darwin → https://git.io/JkHxx
<{^_^}> [nixpkgs] @gebner pushed 3 commits to master: https://git.io/Jk5hh
werner292 has joined #nixos
<{^_^}> [nixpkgs] @tadeokondrak reopened pull request #105164 → discord-canary: 0.0.115 -> 0.0.116 → https://git.io/Jk5A2
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
dsx has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @tadeokondrak closed pull request #105164 → discord-canary: 0.0.115 -> 0.0.116 → https://git.io/Jk5A2
rajivr has quit [Quit: Connection closed for inactivity]
iH8c0ff33 has quit [Ping timeout: 265 seconds]
MichaelRaskin has joined #nixos
sciamp has joined #nixos
virus_dave has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed 71 commits to haskell-updates: https://git.io/JkdvU
alp has joined #nixos
sciamp has quit [Ping timeout: 260 seconds]
virus_dave has joined #nixos
zaeph has quit [Ping timeout: 260 seconds]
virus_dave has quit [Ping timeout: 256 seconds]
ris has joined #nixos
Fare has quit [Ping timeout: 264 seconds]
zaeph has joined #nixos
dsx has joined #nixos
Fare has joined #nixos
deadpixels has joined #nixos
virus_dave has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages to fix evaluation errors on Hydra »: https://git.io/JkdfK
<solene> are there some people using NixOS on a Pinebook Pro ?
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Jkdfy
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
berberman_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « git-annex: update sha256 hash for the new 8.20201127 version »: https://git.io/Jkdfj
<{^_^}> [nixpkgs] @jonringer merged pull request #105128 → python3Packages.snowflake-connector-python: Fix boto3 replace → https://git.io/Jk72r
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JkdJv
iH8c0ff33 has joined #nixos
berberman has quit [Ping timeout: 264 seconds]
domogled has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #100573 → python37Packages.djangorestframework: 3.11.1 -> 3.12.1 → https://git.io/JT3Ow
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #99195 → fractal: mark broken on Darwin → https://git.io/JUyGV
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105167 → frostwire-bin: 6.8.7 -> 6.8.8 → https://git.io/JkdJC
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdJW
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s34m has joined #nixos
<{^_^}> [nixpkgs] @mredaelli opened pull request #105168 → tickrs: init at 0.7.1 → https://git.io/JkdJP
jfb has joined #nixos
iH8c0ff33 has quit [Ping timeout: 260 seconds]
oxalica has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
ilmu1 has quit [Ping timeout: 260 seconds]
<rogerr> when i install lorri and direnv then try to use it the first time, i get "direnv: error .envrc is blocked. Run `direnv allow` to approve its content." so then i type that and it works. any way to have it done automatically by nixos or home manager?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105169 → fetchmail: 6.4.13 -> 6.4.14 → https://git.io/JkdUl
<bbigras> you need to type that every time the .envrc file changes. it's like a security thing.
sss2 has joined #nixos
<cole-h> Exactly
<simpson> So that you can't get owned by cloning a git repository with a .envrc in it.
oxalica has joined #nixos
<cole-h> If you had a .direnv that had the contents `sudo rm -rf --no-preserve-root`, and you had passwordless sudo / were otherwise root, your system would be trashed immediately.
<etu> ,locate bin partprobe
<{^_^}> Found in packages: parted, toybox, busybox
<rogerr> bbigras++ simpson++ cole-h++
<{^_^}> bbigras's karma got increased to 0b11
<{^_^}> cole-h's karma got increased to 112
<{^_^}> simpson's karma got increased to 42
<bbigras> 0b11?
<cole-h> 3 :)
<bbigras> nice
<{^_^}> [nixpkgs] @jonringer opened pull request #105170 → libmtp: fix sha → https://git.io/JkdUi
sangoma has quit [Ping timeout: 246 seconds]
<cole-h> Because it's an example from around that time, I'd guess.
<cole-h> It's left as an exercise to the reader to update to a more recent commit, if desired.
<{^_^}> [nixpkgs] @danieldk merged pull request #105145 → broot: 1.0.5 -> 1.0.6 → https://git.io/Jk5qv
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JkdUy
zakame has quit [Ping timeout: 240 seconds]
s34m has quit [Quit: s34m]
zakame has joined #nixos
thibm has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @FRidh merged pull request #105088 → [staging] libxml2: fix CVE-2020-24977 → https://git.io/JkQmb
<{^_^}> [nixpkgs] @FRidh pushed commit from @mweinelt to staging « libxml2: fix CVE-2020-24977 »: https://git.io/JkdTs
<{^_^}> [nixpkgs] @jonringer merged pull request #105092 → tilt: 0.17.11 -> 0.17.12 → https://git.io/JkQOi
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « tilt: 0.17.11 -> 0.17.12 »: https://git.io/JkdTB
werner292 has joined #nixos
SomeoneSerge has quit [Ping timeout: 256 seconds]
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
iH8c0ff33 has joined #nixos
disasm has quit [Quit: WeeChat 2.0]
disasm has joined #nixos
plakband has joined #nixos
<{^_^}> [nixpkgs] @mweinelt closed pull request #102838 → [20.03] ant: 1.10.2 -> 1.10.9 [20.03] → https://git.io/JTArb
<{^_^}> [nixpkgs] @mweinelt closed pull request #102762 → [20.03] zsh: 5.7.1 -> 5.8 → https://git.io/JTNpy
Morfio has quit [Quit: Leaving]
iH8c0ff33 has quit [Ping timeout: 256 seconds]
fendor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mweinelt opened pull request #105171 → libxml2: fix CVE-2020-24977 → https://git.io/JkdkZ
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #99509 → bcompare: 4.3.5.24893 -> 4.3.7.25118 → https://git.io/JU7br
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jkdkr
<{^_^}> [nixpkgs] @mweinelt closed pull request #102708 → mediawiki: update 1.34.0 -> 1.34.4 [20.03] → https://git.io/JTNLD
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100414 → pasystray: ayatana appindicators instead of libappindicator → https://git.io/JTtpA
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdIv
jonringer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages to fix evaluation errors on Hydra »: https://git.io/JkdIg
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JkdIr
vidbina has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105167 → frostwire-bin: 6.8.7 -> 6.8.8 → https://git.io/JkdJC
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdI9
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #88786 → clipit: enable appindicator support → https://git.io/Jfaph
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdI7
iH8c0ff33 has joined #nixos
<{^_^}> [nixpkgs] @mweinelt pushed to release-20.09 « microcodeIntel: 20201112 -> 20201118 »: https://git.io/JkdLn
<{^_^}> [nixpkgs] @mweinelt pushed to release-20.03 « microcodeIntel: 20201112 -> 20201118 »: https://git.io/JkdL8
iH8c0ff33 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @peti pushed 24 commits to haskell-updates: https://git.io/JkdLu
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JkdLg
<{^_^}> [nixpkgs] @Tomahna opened pull request #105173 → metals: 0.9.6 -> 0.9.7 → https://git.io/JkdLa
cosimone has joined #nixos
acarrico has quit [Ping timeout: 256 seconds]
mounty has quit [Quit: Konversation terminated!]
sangoma has joined #nixos
ms[m] has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #100334 → xorg.xrandr: 1.5.0 -> 1.5.1 → https://git.io/JTIbK
ATuin has joined #nixos
<{^_^}> [nixpkgs] @malob opened pull request #105174 → vimPlugins: fix coc-markdownlint and coc-vimlsp → https://git.io/Jkdtl
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #99971 → python3Packages.nipype: disable neurdflib by default to avoid package collision → https://git.io/JUp9o
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JkdtK
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/Jkdty
zupo has joined #nixos
<Orbstheorem> Firejail has an option to build a profile, to do so, it reinvokes itself using a compile-time path. Since nixos wraps the firejail binary, I've made a patch to change the hardcoded path to `/run/wrappers/bin/firejail`. I want to open a PR to nixpkgs, but I don't know whether I should include as a package override in the module (since it's specific to the way nixos handles SUID binaries) or in the package
<Orbstheorem> itself.
<Orbstheorem> What format would be acceptable?
<{^_^}> [nixpkgs] @StefanSchroeder opened pull request #105175 → #104970: Update and rename perl.xml to perl.md → https://git.io/JkdqU
<infinisil> Orbstheorem: Can't you point it to $out/bin/firejail?
fendor has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
<Orbstheorem> That doesn't work.
<infinisil> Why?
<Orbstheorem> In detail: firejail calls fbuilder, which will call /nix/.../firejail instead of /run/wrappers/bin/firejail
<Orbstheorem> NB: fbuilder needs to run as the calling user
cosimone has quit [Remote host closed the connection]
shibboleth has quit [Quit: shibboleth]
<energizer> rogerr: if your threat model is such that anybody who can edit the .envrc can also edit the source (extremely common), then `direnv allow` doesn't make much sense, but i'm not sure if direnv has an option for that
cosimone has joined #nixos
<cole-h> I disagree. You're not automatically running the source when you `cd` into that directory.
<lordcirth> energizer, there's a difference between intentionally compiling and running the code in a repo vs entering it,
<cole-h> ^
<cole-h> By entering the directory of a project you've `direnv allow`'d, that .envrc is sourced every time.
<energizer> in theory, sure
<energizer> in practice, if i'm using a project im not gonna read the whole codebase
<cole-h> Even still
zupo has quit [Ping timeout: 256 seconds]
<energizer> there are so many ways to own somebody if they're running your code
<infinisil> Orbstheorem: And why can't you pass $out to fbuilder while compiling?
<infinisil> You could even use `${placeholder "out"}` in Nix code to refer to $out
<{^_^}> [nixos-homepage] @garbas pushed 3 commits to improve-readme: https://git.io/Jkdqd
<jfb> Hello folks -- I am getting back into Nixos as a daily driver (it's been working beautifully as my home server for years)
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #86694 → horizon-eda: init at 1.1.1 → https://git.io/JfsoD
<jfb> and I was wondering if it is possible to use a different window manager with, say, GNOME
<jfb> like, there's some nice stuff in gnome, but I really want to use xmonad or notion or something
<jfb> I am aware that this is more of a "GNOME" question than a "NixOS" one
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4807d589a9a (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<Orbstheorem> infinisil: I'm not sure I get what you mean. The firejail derivation is built before firejail is wrapped (and independently).
zupo has joined #nixos
<Orbstheorem> and the `$out` of that derivation points to the /nix/...-firejail/ path, not to the wrapped one.
<infinisil> Ohh, I missed the /run/wrappers thing
SomeoneSerge has joined #nixos
<infinisil> I think I get it now yeah
<cole-h> Maybe fbuilder should just use PATH, rather than resolving to an absolute path? Since /run/wrappers is part of the PATH on NixOS.
cosimone has quit [Remote host closed the connection]
<infinisil> That sounds sensible ^
cosimone has joined #nixos
<energizer> lordcirth: if they're just looking at the code, then yeah i guess the distinction matters
<Orbstheorem> I think that's acceptable.
<energizer> almost anything else can be dangerous tho
eoli3n has quit [Remote host closed the connection]
<cole-h> That's a pretty nihilistic view. I don't necessarily disagree, but just because something "can" be dangerous, doesn't mean we should make it easier to do so.
<cole-h> (Like auto-trusting of all .envrcs certainly would)
<energizer> you could trust a repo and not have to re-trust it
<cole-h> That's exactly how direnv works now, unless the .envrc changes.
eoli3n has joined #nixos
<energizer> i mean not have to re-trust on every .envrc change
<simpson> energizer: How often do they change, though? It's not *that* much of a hassle IME.
<cole-h> Sounds like a bad idea to me. Since you already don't audit the codebase, what would prevent a bad actor from (somehow or another) adding a commit changing .envrc to exfiltrate secrets / trash disks and you pulling that change?
<cole-h> simpson++
<{^_^}> simpson's karma got increased to 42.99999999999998
<{^_^}> [nixpkgs] @peti merged pull request #104424 → Update Haskell package set to Stackage Nightly 2020-11-23 (plus other fixes) → https://git.io/Jk2Rv
<{^_^}> [nixpkgs] @peti pushed 24 commits to master: https://git.io/Jkdm8
werner292 has joined #nixos
<energizer> simpson: when i'm working on my project tooling it changes often
<cole-h> If you're editing .envrc's enough for it to be annoying, just create an alias or something to `$EDITOR .envrc && direnv allow`
<{^_^}> [nixpkgs] @mweinelt merged pull request #105171 → [staging-20.09] libxml2: fix CVE-2020-24977 → https://git.io/JkdkZ
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to staging-20.09: https://git.io/Jkdmu
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/Jkdmg
<simpson> energizer: Interesting. My .envrc rarely changes, but my shell.nix changes all the time.
<energizer> if Mal can get me to run a python interpreter in their directory i'm owned. i'm sure lots of similar ridiculous vulns exist
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<cole-h> If you could, wouldn't you want to protect against those, too? Your argument sounds awfully close to "everything sucks, so let's just open my entire system up to everybody and anybody", IME.
<energizer> what's the threat model where you trust a repo and then someone puts malicious code into it?
<energizer> er
<energizer> what's the threat model where you trust a repo and then someone puts malicious code into it, and you never execute any code from that repo?
<cole-h> Of course, there's nothing stopping you from forking direnv and replacing the `allow` check with `if (true)` :)
jfb has quit [Ping timeout: 240 seconds]
<simpson> Remember that "X trusts Y" is the same relation as "X is vulnerable to Y".
iceypoi has joined #nixos
<qyliss> energizer: what if you download some code to look around, but before you can decide whether to trust it or not you're already owned?
<energizer> qyliss: the original question (as i understood it) was about TOFU but persisting that trust across changes
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « minecraft: Skip desktop file validation »: https://git.io/JkdYO
jfb has joined #nixos
<energizer> erm on rereading it actually wasnt
<energizer> but anyway that's what i'm talking about
icey_ has quit [Ping timeout: 272 seconds]
<energizer> if i'm a maintainer, mal can send me a malicious pr on my trusted repo, i check it out and get owned by malicious .envrc. certainly that could happen
<ornxka> is there progress on fixing the glibc problem yet
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100333 → ugtrain: init at v0.4.1 → https://git.io/JTI9G
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdYr
<energizer> but also what could happen is mal sends me a malicious pr with the hack elsewhere in the code and i run the test suite and get owned
<cole-h> ornxka: You'd be better served by opening an issue rather than inquiring here ;)
<energizer> a difference that depends on which malicious files i execute
<ornxka> you are correct although i am mainly looking for catharsis at this point
deadpixels has quit [Ping timeout: 246 seconds]
<energizer> ie it could matter, but it's just a chance thing that i happen to have direnv running and not run the test suite
<cole-h> ornxka: Considering I'm unaware of any "glibc" problems as a whole, an issue is probably the best way to achieve that. It can't be solved when it's unknown :P
<energizer> qyliss: is spectrum gonna save us from this kind of thing?
<qyliss> I hope so!
<energizer> qyliss: is it more of a research project, or a practical thing that i'll have as a daily driver next year?
<{^_^}> #95808 (by primeos, 14 weeks ago, open): Breaking glibc changes cause crashes due to impurities
<qyliss> energizer: former
<energizer> qyliss: thanks for working on it. it kills me that all the other operating systems have app sandboxing and i dont
<MichaelRaskin> energizer: I think firejail is good enough to match what other systems call sandboxing, no?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105173 → metals: 0.9.6 -> 0.9.7 → https://git.io/JkdLa
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdOu
<energizer> MichaelRaskin: firejail needs to be configured for each app. i want *all* nixpkgs applications to be sandboxed
<MichaelRaskin> No you do not want _all_, only most, but you can also use identically configured firejail for large classes of apps
<MichaelRaskin> (all my browser instances and PDF viewers and graphical editors are nsjail-ed, BTW)
<energizer> semantics, but i think i do want all, just configured sensibly
sangoma has quit [Ping timeout: 246 seconds]
<energizer> even cli apps nowadays are sending telemetry :(
<MichaelRaskin> You sometimes want unsandboxed coreutils and maybe vim or nano or emacs for management purposes
<MichaelRaskin> But yeah, scripted firejail or nsjail or bubblewrap you can use today
<energizer> cole-h: you're right of course that reducing attack surface is a good thing, and in reality i actually do favor the direnv approach of trusting each time.
tlaxkit has quit [Ping timeout: 240 seconds]
<energizer> MichaelRaskin: `config.firejail.enable = true` without each user having to think about how to configure each app
<MichaelRaskin> Erm
<MichaelRaskin> You do want to think how to configure each _instance_ of an app
<MichaelRaskin> More precisely, to have an option
<MichaelRaskin> To set up what this instance can see, you know
<energizer> no, i want that to be set up in a reasonable way in advance
<cole-h> Reasonable is very likely to be subjective
davidv7 has joined #nixos
<energizer> sure, if someone has unusual needs they can reconfigure
<MichaelRaskin> There is no reasonable way even for a single user that spans all instances of a single app
<energizer> i dont understand
<MichaelRaskin> Go and actually use firejail at least for something
<MichaelRaskin> Because abstract dreams of isolation without trying to use pretty powerful tools already available to learn the problem space — these make correct solutions further from us, not closer
<energizer> here's an example
<energizer> a calculator app can be wrapped in firejail so that it can't read the filesystem or use the network
<energizer> i dont need to configure it for every isntance
<MichaelRaskin> There are browser instances launched to upload my ID photo. There are browser instances launched to run a video call. There are browser isntances that surely must not have access to either
<MichaelRaskin> I mean, there is a ton of applications that I run just as @sub application-name
<MichaelRaskin> Sure
<MichaelRaskin> (which means, no network, FS of only store, and /dev of like ten entries)
<energizer> that decision can be built into nixpkgs
<energizer> -hardened
fendor has quit [Remote host closed the connection]
<MichaelRaskin> You know NixOS hardened profile is not supposed to be used without actual review of what it does and reconfiguring it, right?
<simpson> Baking policy decisions into recommended build configurations sounds like an anti-pattern. The main reason why there's a separate hardened build profile is because it really does involve configuring the kernel and compiler differently; however, that doesn't prevent individual packages from having their own security policies.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105176 → fastjet-contrib: 1.042 -> 1.045 → https://git.io/Jkd3A
<energizer> you can't read everything. every application makes decisions for you. people who understand the common use cases can start improving everybody's security.
<simpson> (IOW I doubt distros would bother with -hardened if Linux address hardening could be enabled at runtime or per-process, and if GCC stack-protection code could be enabled or disabled at runtime on the cheap.)
<MichaelRaskin> energizer: you can write a one-line wrapper nix package that prefixes isolate-everything firejail call around all binaries of a package
<MichaelRaskin> Go. And. Try. It.
<simpson> energizer: Okay, like, I agree with that sentiment, but if we take that seriously then we don't get firejail but pledge(). (And I would love to see pledge() in Linux, but it's not likely.)
<energizer> MichaelRaskin: yes, but then i have to think about each application, and you do too, and simpson does too. instead, we can share!
<MichaelRaskin> I do not want to share with you
<MichaelRaskin> Because you have no idea what you are doing
zakame has quit [Ping timeout: 256 seconds]
<simpson> I am still recovering from the last time I had to use SELinux.
<energizer> haha yes i know that
<MichaelRaskin> And won't be able to use any of my tools either
<energizer> right!
<MichaelRaskin> Because they require understanding what you are doing, naturally
mpiechotka has joined #nixos
zakame has joined #nixos
plakband has quit [Quit: WeeChat 2.9]
<energizer> but i trust you to make reasonable decisions -- indeed, better decisions than i would have made. because you know what you're doing!
<energizer> and indeed lots of people know what they're doing
<cole-h> Again, reasonable is subjective.
<MichaelRaskin> Nix* still does not provide any decisive benefits to people who do not understand what they want well enough to notice Ubuntu differs from their wishes
iH8c0ff33 has joined #nixos
<MichaelRaskin> Again, I make decisions in the direction that makes no sense to you in your current state
<energizer> i have a very limited set of things i know a lot about. for everything else i trust other people
<MichaelRaskin> If you run a program, you have an idea what you want to do with it
<MichaelRaskin> For absolutely most programs no one else can have that idea for you
cosimone has quit [Remote host closed the connection]
<energizer> for many common programs it's obvious what i want to do with it
<MichaelRaskin> Once again, there is _no_ answer to the question «should browser have access to webcam»
pushqrdx_ has quit [Quit: pushqrdx_]
<MichaelRaskin> No, it is not obvious even there
cr4y1_ has quit [Ping timeout: 256 seconds]
<energizer> should gcalculator have access to the webcam?
cr4y1 has joined #nixos
pushqrdx has joined #nixos
<MichaelRaskin> Because for a ton of programs it is unclear what you want to do with state
<MichaelRaskin> Like preferences\
<cole-h> energizer: If you want to take a picture of something and have it use OCR to recognize the problem... maybe :)
mpiechotka has quit [Client Quit]
<MichaelRaskin> Use preexisting profile as a copy or read-only? HAve a long-lived profile? Start with empty?
<energizer> as you said, for most apps "you can also use identically configured firejail for large classes of apps"
cyrinux has joined #nixos
<MichaelRaskin> energizer: go and try using this package adapter
<energizer> and yet each individual person has to think about each individual app? very inefficient
<MichaelRaskin> You will gain in isolation, and you will actually understand what
<MichaelRaskin> you are doing
<MichaelRaskin> No, not each individual app
<MichaelRaskin> Each individual launch of each app
iH8c0ff33 has quit [Ping timeout: 264 seconds]
<energizer> even worse
<MichaelRaskin> Then some of these decisions end up cachedf
<MichaelRaskin> But most of launches of the applications need this configurability at least tacitly present
<energizer> is firejail the one you'd recommend?
thc202 has quit [Ping timeout: 260 seconds]
<cyrinux> Hi :) I'm new no nix, i try to install it with zfs encrypted, systemd-boot and efi, i can't get the passphrase prompt at boot, this stay stuck on something like zfs import .... but no prompt. I found this that match my problem but this doesnt help me https://discourse.nixos.org/t/zfs-encrypted-boot-installation-no-password-prompt/5179/14
<MichaelRaskin> I personally use nsjail. And a very custom daemon to also run each nsjail as a different UID
kalbasit has joined #nixos
tlaxkit has joined #nixos
<MichaelRaskin> energizer: whatever you use, you will end up scripting it
cyrinux has quit [Remote host closed the connection]
<energizer> MichaelRaskin: it sounds like you're putting a lot of effort into it. is it possible for a user to get sandboxing without putting in a lot of effort, using firejail/bubblewrap/whatever?
catern has quit [Ping timeout: 256 seconds]
xe4 has quit [Ping timeout: 256 seconds]
greymalkin has quit [Ping timeout: 256 seconds]
<MichaelRaskin> I put a lot of effort once to script wrapper generators with a lot of cool stuff, like proxying only specific network ports instead of all-or-nothing network access
neiluj has joined #nixos
neiluj has joined #nixos
neiluj has quit [Changing host]
statusfailed has quit [Ping timeout: 256 seconds]
Guest60204 has quit [Ping timeout: 256 seconds]
<energizer> MichaelRaskin: is that public?
plp_ has joined #nixos
statusfailed has joined #nixos
<MichaelRaskin> Firejail, nsjail, bubblwrap — you need to read what it does and what flags it supports
cr4y1_ has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
<MichaelRaskin> Then use it
rail has quit [Ping timeout: 256 seconds]
c_wraith has quit [Ping timeout: 256 seconds]
<neiluj> hello
raghavsood has quit [Ping timeout: 245 seconds]
xe4 has joined #nixos
<neiluj> trying to downgrade some drivers: https://tpaste.us/9jb4
greymalkin has joined #nixos
pistache has quit [Ping timeout: 256 seconds]
rail has joined #nixos
<neiluj> building this with flakes yields an error: attribute ‘currentSystem’ missing
<MichaelRaskin> energizer: yep, but it is a bunch of Common Lisp code with half of it running as root and not really separated from other tasks this Common Lisp code handles. https://github.com/7c6f434c/lang-os
woffs has quit [Ping timeout: 256 seconds]
plp has quit [Ping timeout: 256 seconds]
elher has quit [Ping timeout: 245 seconds]
<neiluj> looks like the system must be specified. How do you do that?
Guest60204 has joined #nixos
heath has quit [Ping timeout: 256 seconds]
c0c0 has quit [Ping timeout: 272 seconds]
davidv7_ has joined #nixos
arianvp has quit [Ping timeout: 256 seconds]
jbo has quit [Ping timeout: 256 seconds]
pistache has joined #nixos
davidv7 has quit [Ping timeout: 256 seconds]
nbathum has quit [Ping timeout: 256 seconds]
heath has joined #nixos
veleiro has quit [Read error: Connection reset by peer]
nisstyre has quit [Ping timeout: 256 seconds]
nbathum has joined #nixos
jbo has joined #nixos
arianvp has joined #nixos
zopieux has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100532 → treewide: Fix broken desktop files and mark packages as broken → https://git.io/JTO81
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdGx
barm has quit [Ping timeout: 256 seconds]
iH8c0ff33 has joined #nixos
c_wraith has joined #nixos
barm has joined #nixos
zopieux has joined #nixos
cosimone has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105177 → inter: 3.11 -> 3.15 → https://git.io/JkdZT
shapr has quit [Ping timeout: 256 seconds]
<MichaelRaskin> Instead of empty {} argument set for Nixpkgs import, pass system = "x86_64-linux"; inside
<neiluj> excellent, thanks
Aleksejs has quit [Ping timeout: 256 seconds]
Aleksejs has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105178 → agave: 30 -> 35 → https://git.io/JkdZ6
catern has joined #nixos
julm has quit [Ping timeout: 256 seconds]
shapr has joined #nixos
shapr is now known as Guest98709
<energizer> my main point is, software development is a process of finding abstractions for common cases to reduce "it depends"/"it's subjective"/"it requires judgement" down to "X% of use cases fall into one of these N categories, for which we can develop a policy"
julm has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105158 → gnome3.evolution: 3.38.1 -> 3.38.2 → https://git.io/Jk563
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdZQ
<energizer> and increasing X and decreasing N without messing stuff up too bad
neiluj has quit [Quit: leaving]
<MichaelRaskin> You know, one piece of software I respecte despite its being huge and messy and everchanging, is valuable precisely because it empathetically punts the question of policy outside of its scope
<energizer> yeah, recognizing where you don't have a good abstraction/rule/policy is critical
<energizer> the wrong abstraction is way worse than no abstraction
<MichaelRaskin> You do not understand
<energizer> ?
cr4y1_ has quit [Ping timeout: 240 seconds]
werner292 has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<MichaelRaskin> We need mechanisms and understanding of mechanisms
<energizer> i dont think you're saying "security isn't nixpkgs' job", but i'm not sure what you're saying instead
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #85769 → WIP lbry: init at 0.44.0 → https://git.io/JfkSg
sangoma has joined #nixos
nisstyre has joined #nixos
<MichaelRaskin> General policies… well, once mechanisms are perfect, those who are not competent to just write their own policy in an hour could be given something
<energizer> like, i use a ton of applications. i dont want to spend 100 hours
<MichaelRaskin> Majority of policies Nixpkgs has hardcoded are pretty bad
<MichaelRaskin> It is not an hour per application
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #68663 → pythonPackages.dyndnsc: init at 0.5.1 → https://git.io/JkdnO
<MichaelRaskin> Any person I care about will be able to recognise classes of tasks
<MichaelRaskin> Sure, the better mechanisms for that, the better
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #96128 → jackett: 0.16.175 -> 0.16.1023 → https://git.io/JUfBH
johnw has joined #nixos
chipb has quit [Ping timeout: 256 seconds]
ATuin has quit [Ping timeout: 240 seconds]
chipb has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105179 → gitAndTools.gitstatus: 1.3.1 -> 1.4.3 → https://git.io/Jkdna
<{^_^}> [nixpkgs] @zowoq merged pull request #105148 → etcd_3_4: 3.4.13 -> 3.4.14 → https://git.io/Jk5Op
<{^_^}> [nixpkgs] @zowoq pushed commit from @r-ryantm to master « etcd_3_4: 3.4.13 -> 3.4.14 »: https://git.io/Jkdnr
jeaye has quit [Ping timeout: 256 seconds]
jeaye has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #96192 → multimc: remove unneeded flag → https://git.io/JUJTx
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdnF
jfb has left #nixos ["ERC (IRC client for Emacs 27.1)"]
cr4y1__ has joined #nixos
LilleCarl has quit [Read error: Connection reset by peer]
c0c0 has joined #nixos
Guest98709 is now known as shapr
shapr has joined #nixos
shapr has quit [Changing host]
kalbasit has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100949 → go-migrate: 4.12.2 -> 4.13.0 → https://git.io/JTWPn
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jkdcl
<adisbladis> "
<eacameron> Is there a recommended repo or way of tracking the Ubuntu docker image but with Nix installed?
<adisbladis> eacameron: What does that question even mean?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105144 → uwc: Init at 1.0.4 → https://git.io/Jk5Lg
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdcN
<eacameron> adisbladis: Like: I need an Ubuntu Docker image, but with Nix installed. I can do this myself of course, but I'm wondering if there's already someone doing that and uploading their images or if there's an example I can follow to make sure I do it *well*
<{^_^}> [nixpkgs] @mweinelt merged pull request #105179 → gitAndTools.gitstatus: 1.3.1 -> 1.4.3 → https://git.io/Jkdna
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JkdCe
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #100197 → sndio: use multiple outputs → https://git.io/JTU6K
gctaylor[m] has joined #nixos
SomeoneSerge has quit [Ping timeout: 256 seconds]
ifthenelse has quit [Quit: Ping timeout (120 seconds)]
ifthenelse has joined #nixos
ldlework has quit [Remote host closed the connection]
terrorjack has quit [Read error: Connection reset by peer]
terrorjack has joined #nixos
ldlework has joined #nixos
cosimone has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos pushed to staging « chromium: Cleanup useOzone and useVaapi »: https://git.io/JkdCu
cosimone has joined #nixos
<lewo`> eacameron: here an example: https://pastebin.com/WxM2WjA0
cr4y1__ has quit [Ping timeout: 260 seconds]
<eacameron> lewo`: Thanks! That's pretty close to what I had, but better.
fendor has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
alp has quit [Remote host closed the connection]
alp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105180 → gmic: 2.9.3 -> 2.9.4 → https://git.io/JkdW0
<eacameron> lewo`: I copied some of the NIX_ env vars into ENV as well so that you can do things like nix-build directly instead of having to run bash and then do nix-build
rprije has joined #nixos
<{^_^}> [nixpkgs] @nh2 merged pull request #105170 → libmtp: fix sha → https://git.io/JkdUi
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to staging: https://git.io/JkdlT
cosimone has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105181 → glib: 2.66.2 -> 2.66.3 → https://git.io/Jkdlc
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100908 → cppzmq: 4.6.0 -> 4.7.1 → https://git.io/JTCNR
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 4 commits to master: https://git.io/JkdlW
cosimone has joined #nixos
aswanson has joined #nixos
<Reventlov> hey there
<sss2> hi all, how to add user to trusted-users via configuration.nix ?
<Reventlov> I'm trying to rebuild a package with a newest version, so I modified the nixpkgs default.nix, but trying to build the package the way I usually try to build it does not work.
<Reventlov> I'm doing "nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'", and I get error: anonymous function at /home/remy/bpftrace/default.nix:1:1 called without required argument 'kernel', …
<Reventlov> (bpftrace being the package)
sangoma has quit [Ping timeout: 272 seconds]
<sss2> found it
Fare has quit [Ping timeout: 260 seconds]
<immae> Reventlov: if you cpopied the default.nix from nixpkgs you should check the caller if it specifies some value for kernel
<{^_^}> [nixpkgs] @roosemberth opened pull request #105182 → firejail: fix -overlay and -build functionality on NixOS → https://git.io/Jkd8n
<immae> (in pkgs/top-level/all-packages.nix )
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105124 → goreleaser: 0.145.0 -> 0.147.2 → https://git.io/Jk70a
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jkd8w
<Reventlov> immae: thanks, missed it
<Reventlov> because github sucks and the search is broken
domogled has quit [Read error: Connection reset by peer]
domogled1 has joined #nixos
<immae> good :)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100958 → gtk-layer-shell: 0.2.0 -> 0.3.0 → https://git.io/JTW9f
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jkd8Q
domogled1 is now known as domogled
<{^_^}> [nixpkgs] @jshcmpbll opened pull request #105183 → [REVIEW] codefresh: init at 0.73.21 → https://git.io/Jkd4l
<{^_^}> [nixpkgs] @jtojnar merged pull request #105180 → gmic: 2.9.3 -> 2.9.4 → https://git.io/JkdW0
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « gmic: 2.9.3 -> 2.9.4 »: https://git.io/Jkd4z
werner292 has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d26aa3293c9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/df25e214c8e (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e111e9d4c05 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #77421 → Xen: build EFI binaries and drop unsupported versions → https://git.io/Jvvov
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JkdBW
BlessJah has quit [Ping timeout: 240 seconds]
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105147 → racket: Update source hashes → https://git.io/Jk5Yh
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdBy
davidv7 has joined #nixos
jonringer has joined #nixos
KarlJoad has joined #nixos
mkaito has quit [Quit: WeeChat 2.9-dev]
<KarlJoad> I want to improve the packages surrounding GNU Octave. I already found https://github.com/NixOS/nixpkgs/issues/65398. Is there anything else I should keep in mind?
<{^_^}> #65398 (by matthuszagh, 1 year ago, open): Octave packages support
BlessJah has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105169 → fetchmail: 6.4.13 -> 6.4.14 → https://git.io/JkdUl
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdBN
davidv7_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105178 → agave: 30 -> 35 → https://git.io/JkdZ6
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdR8
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105177 → inter: 3.11 -> 3.15 → https://git.io/JkdZT
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdR2
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/df25e214c8e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @jonringer merged pull request #105174 → vimPlugins: fix coc-markdownlint and coc-vimlsp → https://git.io/Jkdtl
<{^_^}> [nixpkgs] @jonringer pushed 5 commits to master: https://git.io/Jkd0m
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> `mdl` is a super old Ruby derivation. I'm going to try to update it.
<selfsymmetric-mu> It uses something strange called `bundleApp`.
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #97271 → rainloop: allow multiple instances to use the same package → https://git.io/JUGOp
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jkd07
<supersandro2000> selfsymmetric-mu: you can always reinit at
<supersandro2000> it
<selfsymmetric-mu> Ah okay, that's not a bad idea.
ZaraChimera has joined #nixos
<selfsymmetric-mu> Because the Ruby section in the NixOS manual does not know what `bundleApp` is, even though the people in the PR seem to understand it implicitly.
Rusty1 has joined #nixos
<selfsymmetric-mu> Oh, my bad, it's `bundlerApp`, that's why I was having trouble Googling things.
<{^_^}> [nixpkgs] @reedrw opened pull request #105184 → papermc: 1.16.2r141 -> 1.16.4r296 → https://git.io/JkdEt
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #99935 → libsass-python: init at 0.20.1 → https://git.io/JUxXK
alp has quit [Ping timeout: 272 seconds]
cosimone has quit [Quit: cosimone]
alp has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #99894 → datagrip: remove loskutov from maintainers → https://git.io/JUAMq
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkduL
SomeoneSerge has joined #nixos
cosimone has joined #nixos
johnw has quit [Quit: ZNC - http://znc.in]
iH8c0ff33 has quit [Ping timeout: 256 seconds]
cosimone has quit [Client Quit]
alp has quit [Ping timeout: 272 seconds]
stree has quit [Quit: Caught exception]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105185 → hwinfo: 21.70 -> 21.71 → https://git.io/Jkdu5
stree has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100033 → Ikiwiki fixes and update → https://git.io/JUjlO
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 5 commits to master: https://git.io/Jkdzv
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105187 → gnome3.gnome-desktop: 3.38.1 -> 3.38.2 → https://git.io/JkdzL
<dminuoso> Mmm. 2 years into nixos, and it finally occured to me to run `nix-collect-garbage -d`
<dminuoso> Now its stuck on: deleting '/nix/store/trash'
<Yaniel> Endless Space
<dminuoso> Have been for nearly 10 minutes now.
<supersandro2000> dminuoso: just wait a bit
<dminuoso> Mmm.
<Yaniel> it's not stuck, that one just takes a long time
<supersandro2000> if you delete 150 GB it can take a while
<Yaniel> even if you gc once a week or so
<cole-h> Because that's the step that actually *deletes* stuff
<supersandro2000> on WSL it takes somtimes 90 minutes
<dminuoso> cole-h: Ah, so everything else previously just moved it into trash?
<cole-h> Yep.
<dminuoso> I see.
<cole-h> (and/or was unlinked)
Dotz0cat has quit [Quit: ZNC 1.7.5 - https://znc.in]
werner292 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #88611 → unison-ucm: 1.0.M1l-alpha -> 1.0.M1m-alpha → https://git.io/Jf2Mf
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jkdzl
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #100011 → helmsman: 3.4.4 -> 3.4.5 → https://git.io/JUh1B
<dminuoso> Ah it's done now. :)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105184 → papermc: 1.16.2r141 -> 1.16.4r296 → https://git.io/JkdEt
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdzB
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
Dotz0cat has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #100973 → ibus: 1.5.22 -> 1.5.23 → https://git.io/JTlT5
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdzV
eoli3n has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105117 → abcm2ps: 8.14.9 -> 8.14.10 → https://git.io/Jk7s2
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JkdzH
<{^_^}> [nixpkgs] @r-ryantm opened pull request #105188 → gnome3.gnome-tetravex: 3.38.1 -> 3.38.2 → https://git.io/Jkdge
meh` has joined #nixos
fuzzypixelz has joined #nixos
<fuzzypixelz> hello, how do verify my iso with the SHA-5 checksum please?
<Yaniel> SHA-5?
<fuzzypixelz> 256* sorry
Fare has joined #nixos
lawr3nce has joined #nixos
<cole-h> Add `.sha256` to the end of the URL you got your ISO from.
iH8c0ff33 has joined #nixos
<Yaniel> ^ or do you want to locally calculate the SHA-256 for the file you downloaded?