worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || 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-info
morgrimm_ has joined #nixos
morgrimm has joined #nixos
kaliumxyz has quit [Remote host closed the connection]
kaliumxyz has joined #nixos
kaliumxyz has quit [Client Quit]
kaliumxyz has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #88104 → podman: don't build "podman-remote" → https://git.io/JfusR
gustavderdrache has joined #nixos
cole-h has joined #nixos
cole-h has quit [Client Quit]
cole-h has joined #nixos
<emily> ,locate mcookie
<{^_^}> Found in packages: toybox, utillinux, libuuid.bin, utillinux.bin
<{^_^}> [nixpkgs] @adisbladis closed pull request #88101 → nixos/display-managers: Use dbus socket unit shipped by upstream → https://git.io/Jfu3d
<{^_^}> [nixpkgs] @adisbladis reopened pull request #88101 → nixos/display-managers: Use dbus socket unit shipped by upstream → https://git.io/Jfu3d
ris has quit [Ping timeout: 256 seconds]
LarryTheCow has joined #nixos
msirabella has quit [Quit: Goodbye, World!]
<LarryTheCow> I need help people. I switched from nix-shell to venv and now I can't get python -m venv to work
mjsir911 has joined #nixos
ornxka has quit [Quit: No Ping reply in 180 seconds.]
ornxka has joined #nixos
<energizer> LarryTheCow: why use venv instead of nix-shell?
<LarryTheCow> Because I need to work with people who are not willing to use nix-shell...
<energizer> they can use venv, you can use nix-shell
<energizer> anyway, what's the problem
<LarryTheCow> Apparently, pip wants to --upgrade, but since nix is read-only, it fails
<LarryTheCow> Nvm. I managed to get virtualenv to work
<adisbladis> LarryTheCow: Don't do `pip --upgrade`, whatever it tells you that you should
<LarryTheCow> Oh I wasn't doing it
<LarryTheCow> python -m venv was doing it
<{^_^}> [nixpkgs] @marsam opened pull request #88105 → postgresqlPackages.timescaledb: 1.7.0 -> 1.7.1 → https://git.io/Jfusj
<energizer> pip --upgrade is almost always an alias for "please make my system unusable"
<adisbladis> Haha, imperative package management is bad for your health
<LarryTheCow> But what if I want my system to be unreproducible and unstable?
<bqv> Then you're a fool
<energizer> try np.random.choice(generations)
proofofkeags has joined #nixos
<LarryTheCow> But seriously, I think I'll probably switch to pip2nix
<energizer> does your project have c extensions?
<LarryTheCow> Gladly no
<adisbladis> On of your dependencies probably do
<energizer> strongly recommend using poetry and poetry2nix instead of pip/setup.py/virtualenv
<energizer> that's ok
<LarryTheCow> It seems interesting. One of the reasons that made me leave cabal for stack was the easy nix integration
<kaliumxyz> ok I give up, if anyone has any insight on the digilent adept software and making digilent software / hardware behave please let me know.
<{^_^}> [nixpkgs] @marsam merged pull request #87851 → go: 1.14.2 -> 1.14.3 → https://git.io/JfBdV
<{^_^}> [nixpkgs] @marsam pushed 2 commits to staging: https://git.io/JfuGT
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfuGk
<{^_^}> [nixpkgs] @marsam merged pull request #88102 → hugo: 0.70.0 -> 0.71.0 → https://git.io/Jfu3b
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfuGI
LarryTheCow has left #nixos ["ERC (IRC client for Emacs 26.3)"]
ssk has joined #nixos
<ssk> I'm trying to debug a problem with the liblapack derivation and I seemed to have borked my /nix/store or something?I do nix-shell -E '(import <nixpkgs> {}).pkgs.liblapack' and then in the shell I do genericBuildand I get a bunch of these type of errorscp: cannot create regular file
<ssk> 'source/cncz072a1rm5vhbcpm5fl85i4gz82dk2-source/lapack_build.cmake': Permission deniedcp: cannot create regular file 'source/cncz072a1rm5vhbcpm5fl85i4gz82dk2-source/lapack_testing.py': Permission deniedcp: cannot create regular file 'source/cncz072a1rm5vhbcpm5fl85i4gz82dk2-source/make.inc.example': Permission deniedcp: cannot create regular file
rednaZ[m] has joined #nixos
<ssk> 'source/cncz072a1rm5vhbcpm5fl85i4gz82dk2-source/meson.build': Permission deniedcp: cannot create regular file 'source/cncz072a1rm5vhbcpm5fl85i4gz82dk2-source/meson_options.txt': Permission denieddo not know how to unpack source archive /nix/store/cncz072a1rm5vhbcpm5fl85i4gz82dk2-sourceand I swear this wasn't happening all of 5 minutes agoshould I
<ssk> just rm that source in the nix store?will it mess more things up?
<cole-h> In the future, please
<cole-h> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<ssk> oops, let me format that better
<ssk> will do!
<{^_^}> [nixpkgs] @marsam merged pull request #87971 → grpc: 1.28.1 -> 1.29.0 → https://git.io/Jf00i
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfuGm
<cole-h> <3
<{^_^}> [nixpkgs] @marsam merged pull request #88072 → helm: 3.2.0 -> 3.2.1 → https://git.io/JfENs
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfuGO
<ssk> I'm trying to debug a problem with the liblapack derivation and I seemed to have borked my /nix/store or something? I do `nix-shell -E '(import <nixpkgs> {}).pkgs.liblapack'` and then in the shell I do `genericBuild` and I get https://gist.github.com/satshabad-cr/cf32be7d2f3d164e2c43c0734645dc20
<ssk> i swear this wasn't happening 5 minutes ago
<ssk> Should I remove that source from the nix store manually?
<cole-h> bbigras: btw, waybar PR looks good now. I see "(process:1623): playerctl-WARNING **: 17:37:47.497: Playback status not set on track change; getting status from interface instead" in the output, dunno if that's something you can deal with or not
<morgrimm_> Has anyone figured out any Github Actions to kick off Hydra jobs yet, that anyone knows of?
<{^_^}> [nixpkgs] @evils closed pull request #81306 → swaylock-effects: init at 1.6.0 → https://git.io/Jvgvl
cosimone has joined #nixos
<bbigras> cole-h: thanks, I'll take a look. Were you testing with a player or the warning is always there at launch?
<cole-h> With a player. Happened after I started playing IIRC
rogue_koder has quit [Ping timeout: 265 seconds]
<bbigras> cole-h: was the player spotifyd by chance?
<cole-h> bbigras: Nope, mpdris2
<cole-h> bbigras: It only happens on the first state transition, e.g. playing -> paused or paused -> playing
rogue_koder has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #88101 → nixos/display-managers: Use dbus socket unit shipped by upstream → https://git.io/Jfu3d
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfuGP
morgrimm_ has quit [Ping timeout: 272 seconds]
morgrimm has quit [Ping timeout: 272 seconds]
<bbigras> cole-h: ok thanks, because spotifyd doesn't support sending tracks changes. I started a crappy PR for that. I'm at 4 pr just to get Spotify in my waybar. Thanks I'll take a look
<cole-h> bbigras: And it's only a warning, so if you can't fix it, I don't think that's a big deal.
<{^_^}> [nixpkgs] @zowoq opened pull request #88106 → podman packages: add passthru tests → https://git.io/JfuGp
<cole-h> Chances are, it even exists upstream
<bbigras> cole-h: gotcha. Thank you very much
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0f5ce2fac0c (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/57e9220f1bd (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos
dsx has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88107 → amass: 3.6.0 -> 3.6.1 → https://git.io/JfuZg
<{^_^}> [nixpkgs] @jonringer merged pull request #87886 → pythonPackage.bleak: init at 0.6.2 → https://git.io/JfRcX
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JfuZ2
<{^_^}> [nixpkgs] @jonringer merged pull request #88105 → postgresqlPackages.timescaledb: 1.7.0 -> 1.7.1 → https://git.io/Jfusj
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « postgresqlPackages.timescaledb: 1.7.0 -> 1.7.1 »: https://git.io/JfuZV
h0m1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfuZr
drakonis1 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer merged pull request #88082 → mu: 1.4.5 -> 1.4.6 → https://git.io/JfEjb
<{^_^}> [nixpkgs] @jonringer pushed commit from @ysengrimm to master « mu: 1.4.5 -> 1.4.6 »: https://git.io/JfuZo
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88066 → pythonPackages.discordpy: 1.2.5 -> 1.3.3 → https://git.io/JfEy1
<{^_^}> [nixpkgs] @jonringer pushed commit from @vojta001 to master « pythonPackages.discordpy: 1.2.5 -> 1.3.3 »: https://git.io/JfuZK
h0m1 has joined #nixos
reallymemorable_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88109 → antibody: 6.0.0 -> 6.0.1 → https://git.io/JfuZ6
<{^_^}> [nixpkgs] @jonringer merged pull request #88063 → ffsend: 0.2.61 -> 0.2.64 → https://git.io/JfED4
<{^_^}> [nixpkgs] @jonringer pushed commit from @filalex77 to master « ffsend: 0.2.61 -> 0.2.64 »: https://git.io/JfuZP
CcxWrk has quit [Remote host closed the connection]
CcxWrk has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #88104 → podman: don't build "podman-remote" → https://git.io/JfusR
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfuZX
morgrimm_ has joined #nixos
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #88106 → podman packages: add passthru tests → https://git.io/JfuGp
<{^_^}> [nixpkgs] @adisbladis pushed 8 commits to master: https://git.io/JfuZ1
reallymemorable_ has quit [Quit: reallymemorable_]
<{^_^}> [nixpkgs] @doronbehar opened pull request #88110 → wrapNeovim: consolidate makeWrapper arguments and more → https://git.io/JfuZy
reallymemorable has joined #nixos
morgrimm_ has quit [Ping timeout: 264 seconds]
ssk has quit [Remote host closed the connection]
sigmundv__ has joined #nixos
morgrimm has quit [Ping timeout: 264 seconds]
sigmundv has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #88111 → libarchive: fix build → https://git.io/Jfune
kaliumxyz has quit [Quit: Lost terminal]
kaliumxyz has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @adisbladis merged pull request #87821 → skopeo: 0.2.0 -> 1.0.0, don't set policy and tmpdir during build → https://git.io/JfB0Z
<{^_^}> [nixpkgs] @adisbladis pushed 5 commits to master: https://git.io/Jfuns
sigmundv__ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88112 → aws-vault: 5.3.2 -> 5.4.4 → https://git.io/Jfuna
<gchristensen> ConditionACPower=true is great to prevent a service from starting while on battery. is there a way to make a service *stop* when ConditionACPower=false?
dsx_loves_you has quit [Quit: dsx_loves_you]
cosimone has quit [Quit: Quit.]
pareidolia has quit [Ping timeout: 256 seconds]
<infinisil> gchristensen: My only idea is to have another oneshot service for the false condition that stops it :/
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
simukis_ has quit [Quit: No Ping reply in 180 seconds.]
<gchristensen> hrm :/ I wish znapzend ran on a schedule and not a daemon
pareidolia has joined #nixos
simukis_ has joined #nixos
reallymemorable has joined #nixos
rogue_koder has quit [Ping timeout: 260 seconds]
rogue_koder has joined #nixos
xcmw has joined #nixos
<Gaelan> Does the NixOS install ISO include the Goddamn Broadcom Wifi Drivers(TM)?
<{^_^}> [nixpkgs] @eraserhd opened pull request #88113 → gambit: disable use of epoll() on Darwin → https://git.io/Jfuce
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88114 → bettercap: 2.27 -> 2.27.1 → https://git.io/JfucJ
proofofkeags has quit [Remote host closed the connection]
morgrimm_ has joined #nixos
morgrimm has joined #nixos
proofofkeags has joined #nixos
morgrimm_ has quit [Ping timeout: 246 seconds]
morgrimm has quit [Ping timeout: 246 seconds]
<hpfr[m]> I'm still getting the p11-kit cert error with flatpak. I'm on latest nixos-unstable, so I think this shouldn't be happening? How can I debug this?
thc202 has quit [Ping timeout: 256 seconds]
proofofk_ has joined #nixos
willghatch[m] has joined #nixos
proofofkeags has quit [Ping timeout: 258 seconds]
proofofk_ has quit [Remote host closed the connection]
proofofkeags has joined #nixos
willghatch has quit [Quit: leaving]
shafox has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88107 → amass: 3.6.0 -> 3.6.1 → https://git.io/JfuZg
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfuCc
<{^_^}> [nixpkgs] @marsam merged pull request #87993 → scheme-manpages: init at 2020-05-11 → https://git.io/Jf0w5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfuCV
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/57e9220f1bd (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
cjpbirkbeck has joined #nixos
dsx has quit [Quit: Remote host closed the connection]
mac10688 has joined #nixos
xcmw has quit [Quit: Textual IRC Client: www.textualapp.com]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
pistache has joined #nixos
jkarni_ has joined #nixos
proofofkeags has quit [Ping timeout: 260 seconds]
m0rphism has quit [Ping timeout: 272 seconds]
jkarni_ has quit [Ping timeout: 264 seconds]
proofofkeags has joined #nixos
coco has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @kalbasit merged pull request #88114 → bettercap: 2.27 -> 2.27.1 → https://git.io/JfucJ
<{^_^}> [nixpkgs] @kalbasit pushed commit from @r-ryantm to master « bettercap: 2.27 -> 2.27.1 (#88114) »: https://git.io/JfulR
proofofkeags has quit [Remote host closed the connection]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
proofofkeags has joined #nixos
aw has joined #nixos
spacefrogg has joined #nixos
proofofkeags has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88115 → circleci-cli: 0.1.7179 -> 0.1.7523 → https://git.io/Jfulo
coco has joined #nixos
felixfoertsch23 has joined #nixos
andreas303 has quit [Remote host closed the connection]
felixfoertsch has quit [Ping timeout: 272 seconds]
felixfoertsch23 is now known as felixfoertsch
andreas303 has joined #nixos
tomberek has joined #nixos
<tomberek> c00w: hey, can you clarify your comments about issue #84826, i want to make sure i understand what you mean wrt using buildGoModule and private modules
<{^_^}> https://github.com/NixOS/nixpkgs/issues/84826 (by nlewo, 5 weeks ago, open): Recommend buildGoPackage instead of buildGoModule in the nixpkgs manual
sarcasticadmin has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88116 → clair: 2.1.2 -> 2.1.3 → https://git.io/JfulD
dxtr has quit [Remote host closed the connection]
gustavderdrache has quit [Quit: Leaving.]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88117 → clevis: 12 -> 13 → https://git.io/Jfuld
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88118 → clightning: 0.8.2 -> 0.8.2.1 → https://git.io/Jfu8e
<pistache> something on my NixOS systems is repeatedly setting /dev/null (and other /dev files) permissions to 600, any idea how can I debug that ?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88119 → clojure-lsp: 20200413T141742 -> 20200514T134144 → https://git.io/Jfu8L
<pistache> hmm nevermind, I'll set an audit rule to watch for that file and determine what's causing this
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88120 → cloudflare-wrangler: 1.8.4 -> 1.9.0 → https://git.io/Jfu8Z
morgrimm has joined #nixos
morgrimm_ has joined #nixos
morgrimm_ has quit [Client Quit]
morgrimm has quit [Client Quit]
morgrimm has joined #nixos
<morgrimm> Had anyone been able to hook up Hydra to GH with GH actions/
<morgrimm> ?*
dsx has joined #nixos
<clever> morgrimm: what would the interaction do?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88121 → codeql: 2.1.1 -> 2.1.3 → https://git.io/Jfu8E
<{^_^}> [nixpkgs] @doronbehar closed pull request #74370 → yafaray-core: switch to opencv4 → https://git.io/JeXrz
Darkmatter66 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88122 → cryptominisat: 5.7.0 -> 5.7.1 → https://git.io/Jfu4n
<{^_^}> [nixpkgs] @marsam merged pull request #88116 → clair: 2.1.2 -> 2.1.3 → https://git.io/JfulD
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfu4c
Darkmatter66_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #88120 → cloudflare-wrangler: 1.8.4 -> 1.9.0 → https://git.io/Jfu8Z
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfu4C
<{^_^}> [nixpkgs] @marsam merged pull request #88119 → clojure-lsp: 20200413T141742 -> 20200514T134144 → https://git.io/Jfu8L
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfu4l
<{^_^}> [nixpkgs] @marsam merged pull request #88115 → circleci-cli: 0.1.7179 -> 0.1.7523 → https://git.io/Jfulo
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfu48
<{^_^}> [nixpkgs] @marsam merged pull request #88109 → antibody: 6.0.0 -> 6.0.1 → https://git.io/JfuZ6
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfu4B
chiastre has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kamadorueda opened pull request #88123 → fluidasserts: 20.2.30165 -> deleted → https://git.io/Jfu41
<{^_^}> [nixpkgs] @marsam merged pull request #88112 → aws-vault: 5.3.2 -> 5.4.4 → https://git.io/Jfuna
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfu4S
<{^_^}> [nixpkgs] @marsam merged pull request #88117 → clevis: 12 -> 13 → https://git.io/Jfuld
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfu49
chiastre has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88124 → cutelyst: 2.10.0 -> 2.11.0 → https://git.io/Jfu4Q
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<hpfr[m]> how do you combine attribute sets? I can't find a builtin for it
<pistache> hpfr[m]: recursiveUpdate ?
<clever> //
morgrimm has quit [Ping timeout: 265 seconds]
<pistache> or // depending on what you want to do
<hpfr[m]> oh yeah I always forget that thanks
<pistache> also if you need to use it as an argument, the function itself is mergeAttrs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88125 → dasht: 2.3.0 -> 2.4.0 → https://git.io/JfuB8
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
klntsky has quit [Ping timeout: 240 seconds]
klntsky has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #87965 → kodi: Fix build → https://git.io/Jf04y
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JfuRY
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88126 → dnsproxy: 0.27.1 -> 0.28.1 → https://git.io/JfuR3
<{^_^}> [nixpkgs] @peterhoeg merged pull request #88044 → kernelPackages.ena: 2.1.2 -> 2.2.7 → https://git.io/JfEcu
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JfuRs
fabianhjr has quit [Quit: Leaving.]
morgrimm has joined #nixos
<hpfr[m]> what's the difference in use cases between pkgs.fetchUrl and builtins.fetchurl?
<{^_^}> [nixpkgs] @peterhoeg pushed to f/handbrake « handbrake: allow building from checkout »: https://git.io/JfuRZ
<{^_^}> [nixpkgs] @peterhoeg opened pull request #88127 → handbrake: allow building from checkout → https://git.io/JfuRn
<clever> hpfr[m]: builtins.fetchurl happens at eval time, which forces the eval to stop while it downloads
<clever> hpfr[m]: pkgs.fetchurl creates a derivation that will fetch things later at build time
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88128 → doctest: 2.3.7 -> 2.3.8 → https://git.io/JfuRC
<hpfr[m]> thanks
endformationage has quit [Quit: WeeChat 2.6]
waleee-cl has quit [Quit: Connection closed for inactivity]
hooo has joined #nixos
rogue_koder has quit [Remote host closed the connection]
agsdheidjd has joined #nixos
drakonis has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88129 → easyrpg-player: 0.6.1 -> 0.6.2 → https://git.io/JfuE1
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
morgrimm has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @poscat0x04 opened pull request #88130 → haskellPackages.vulkan: unbreak vulkan → https://git.io/JfuE5
kvda has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88131 → elan: 0.10.0 -> 0.10.2 → https://git.io/Jfuu8
simba1 has joined #nixos
develCuy has quit [Ping timeout: 260 seconds]
reallymemorable has quit [Quit: reallymemorable]
<hadrian[m]> > [nixpkgs] @poscat0x04 opened pull request #88130 → haskellPackages.vulkan: unbreak vulkan → https://git.io/JfuE5
<hadrian[m]> redis maybe the best candidate for this, no? Syntax anyone?
<{^_^}> error: syntax error, unexpected '@', expecting ')', at (string):310:11
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88132 → emplace: 0.3.1 -> 0.3.3 → https://git.io/Jfuup
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d7f71a39754 (from 80 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @Mic92 merged pull request #87919 → .editorconfig: set docbook indent size → https://git.io/JfRp2
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/Jfugm
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
palo1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88133 → etcher: 1.5.86 -> 1.5.89 → https://git.io/JfugG
ddellacosta has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
rauno has joined #nixos
<pistache> is there a reason why packages that use wrapProgram prefer to --prefix the PATH rather than --suffix ?
<pistache> I want to submit a PR for the mpv package to allow it to use a youtube-dl from the user's path (it's currently not possible because of --prefix)
<pistache> but from a quick look in nixpkgs, most PATH wrappers use --prefix rather than --suffix, so I fear that there's something that I'm missing
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88134 → flow: 0.124.0 -> 0.125.1 → https://git.io/Jfuac
klntsky has quit [Remote host closed the connection]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
klntsky has joined #nixos
kvda has joined #nixos
<clever> pistache: i'm guessing its just to prevent the users old youtube-dl from breaking things
iceypoi has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88135 → fluent-bit: 1.4.3 -> 1.4.4 → https://git.io/Jfuap
<clever> so mpv works the same everywhere, no mater what youtube-dl you have in PATH
<c00w> tomberek: probably that it works fine + has support built into go.
epitron[m] has joined #nixos
<{^_^}> [nixpkgs] @pstch opened pull request #88136 → Allow mpv to use youtube-dl provided at runtime → https://git.io/Jfuah
<pistache> oh that was a draft, I didn't expect it to be picked up by {^_^}
<pistache> clever: right, so changing it in nixpkgs would be a bad idea ?
<clever> pistache: i think its mostly just personal preferences of whoever made the package
icey_ has quit [Ping timeout: 272 seconds]
<clever> pistache: could make it a flag you can change with .override
<clever> pistache: or you could just not include youtube-dl in the wrapper, when you .override { youtube-dl = null; }
<clever> then it will leak in or fail
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88137 → flyctl: 0.0.117 -> 0.0.123 → https://git.io/JfuVU
cjpbirkbeck has quit [Quit: cjpbirkbeck]
rauno has quit [Remote host closed the connection]
<pistache> clever: ok, not sure if adding a flag is worth if it's so easy to override it
<pistache> I'll delete my PR and use the override instead
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88138 → freenect: 0.6.0 -> 0.6.1 → https://git.io/JfuVD
<{^_^}> [nixpkgs] @cdepillabout merged pull request #88130 → haskellPackages.vulkan: unbreak vulkan → https://git.io/JfuE5
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfuVS
edcragg has quit [Read error: Connection reset by peer]
edcragg has joined #nixos
orivej has joined #nixos
<pistache> hmm. the PR has been approved by two persons by now, so I'm not sure I should delete it
<pistache> I didn't expect a draft review to be reviewed so quick
cole-h has quit [Quit: Goodbye]
<clever> pistache: test to see what happens with a youtube-dl=null override first, and see if it breaks any
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88139 → ft2-clone: 1.23 -> 1.24 → https://git.io/Jfuw1
pat_h has joined #nixos
<pat_h> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
cole-h_ has quit [Quit: Goodbye]
<pistache> clever: the youtube-dl=override does break things, allowing it would require a larger rework of the mpv package
orivej has quit [Quit: No Ping reply in 180 seconds.]
<pistache> youtube-dl=null override*
<pistache> changing the wrapper to --prefix doesn't seem to break anything though
orivej has joined #nixos
pat_h has quit [Quit: Connection closed]
mallox has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #87894 → mvn: Wrap mvnDebug for convenience → https://git.io/JfR0f
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfur7
<clever> pistache: id just go ahead with the pr then
<pistache> clever: ok, thank you for the advice
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #88140 → xurls: 2.0.0 -> 2.2.0 → https://git.io/Jfurj
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88141 → geoipupdate: 4.2.2 -> 4.3.0 → https://git.io/Jfuoe
<hyper_ch> oh noes, unstable has been stuck for two days :)
rauno has joined #nixos
user_0x58 has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
opthomasprime has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88142 → git-quick-stats: 2.0.16 -> 2.1.1 → https://git.io/Jfuot
orivej has joined #nixos
xd1le has quit [Read error: Connection reset by peer]
xd1le has joined #nixos
opthomasprime has left #nixos [#nixos]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88143 → gomodifytags: 1.4.0 -> 1.6.0 → https://git.io/Jfuow
vidbina has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
user_0x58 has quit [Quit: Leaving]
<pjt_014> If I want to suggest that a package be replaced with a fork of itself, which kind of issue do I file? It's not a new package req, and it's not a bug really...
<hyper_ch> why use the fork?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88144 → gortr: 0.14.1 -> 0.14.4 → https://git.io/JfuKJ
<pjt_014> hyper_ch: It's p7zip. The original on sourceforge has been abandoned for 3+ years and has security vulns, while this fork has fixed them and was last updated this week.
NeoCron has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<pjt_014> with this:
<hyper_ch> pjt_014: just make a PR and explain why you want to do that
<hyper_ch> p7zip has been marked in nixos as insecure already IIRC
<pjt_014> it has, yes
<hyper_ch> so I think a normal pr should be sufficient
<hyper_ch> but I don't know :)
orivej has joined #nixos
<pjt_014> just a blank one?
<pjt_014> alrighty
Jackneill has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88145 → gotop: 3.5.0 -> 3.5.2 → https://git.io/JfuKs
<hyper_ch> In the PR, the top section is "Motivation for this change" --> just explain there
Doraemon has joined #nixos
Jackneill has joined #nixos
aveltras has joined #nixos
lsix has joined #nixos
dermetfan has joined #nixos
NeoCron has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #88146 → mame: 0.220 -> 0.221 → https://git.io/JfuK1
apeyroux has quit [Quit: Lost terminal]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
doyougnu` has joined #nixos
chloekek has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « wireguard-tools: 1.0.20200510 -> 1.0.20200513 »: https://git.io/JfuKF
<pjt_014> hyper_ch: there we go!: https://github.com/NixOS/nixpkgs/issues/88147
<{^_^}> #88147 (by petersjt014, 1 minute ago, open): Switch p7zip to actively maintained fork
<pjt_014> felt a bit nervous about how to phrase it but this seems fine
<hyper_ch> pjt_014: you're not providing a PR?
<pjt_014> No, I haven't done anything about it yet, only learned of the fork today
<pjt_014> also the fork might need to be reviewed (?), and I'm not sure how easily I could write the new package def
<hyper_ch> ah :)
<hyper_ch> probably isn't much different from the existing one
<pjt_014> It's going from sourceforge to github, and there looks to be other notable changes related to x-compilation
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « wireguard-tools: 1.0.20200510 -> 1.0.20200513 »: https://git.io/Jfu6L
<hyper_ch> for the sources thing you can just look how other packages fetch stuff from githbu
zupo has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #88145 → gotop: 3.5.0 -> 3.5.2 → https://git.io/JfuKs
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jfu6Y
sethetter has quit [Ping timeout: 252 seconds]
<pjt_014> I know the basics w/ fetchFromGithub and such--I maintain one package myself.
<pjt_014> This one is a bit more of a monster
<hyper_ch> :) then I have nothing left to teach :)
eddyb[legacy] has quit [Ping timeout: 252 seconds]
alanz_ has quit [Ping timeout: 252 seconds]
joshmeredith has quit [Ping timeout: 252 seconds]
bgamari_ has joined #nixos
<pjt_014> you might not, as I have one other thing on the back burner.
chrisaw has quit [Ping timeout: 252 seconds]
cbarrett has quit [Ping timeout: 252 seconds]
<pjt_014> know anything about emacs packaging?
zie has quit [Quit: ZNC - https://znc.in]
zie has joined #nixos
bgamari has quit [Ping timeout: 252 seconds]
higherorder has quit [Ping timeout: 252 seconds]
s1341 has quit [Ping timeout: 252 seconds]
<pjt_014> hyper_ch: I know exactly one thing about it, which is that at least one emacs-related tool is packaged horribly wrong.
alanz_ has joined #nixos
eddyb[legacy] has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hyper_ch> pjt_014: according to the install instructions you just need to run make p7 or p7a
develCuy has joined #nixos
visl has quit [Ping timeout: 256 seconds]
s1341 has joined #nixos
kvda has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88148 → hebcal: 4.19 -> 4.20 → https://git.io/Jfu6l
<pjt_014> I hope that's all there is.. :|
joshmeredith has joined #nixos
<pjt_014> also, about the emacs thing, any familiarity there?
cbarrett has joined #nixos
higherorder has joined #nixos
visl has joined #nixos
chrisaw has joined #nixos
nschoe has joined #nixos
sethetter has joined #nixos
<adisbladis> pjt_014: Which one?
<quinn> pjt_014: i know the emacs lead/pm (?) jwi egly uses nix and puts his config on github, probably worth looking at
* adisbladis is maintaing the emacs infra in nixpkgs
<{^_^}> [nixpkgs] @lsix merged pull request #86910 → cytoscape: 3.7.2 -> 3.8.0 → https://git.io/JfGX5
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/Jfu6w
<pjt_014> adisbladis: there's a tool called recutils. It's very simple/unix phillosphy-ish: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/recutils/default.nix
<pjt_014> but
<pjt_014> It has an emacs mode
<pjt_014> or whatever it's called
<pjt_014> and for some reason, it does that by including emacs as a dep
<pjt_014> ...and by extension, several other things, including GTK3+
<adisbladis> -.-
<pjt_014> that's a lot of minimalism tossed in the garbo
<pjt_014> yeah
<pjt_014> try compiling emacs from scratch for something like arm
<pjt_014> no-go
<pjt_014> and so the same here
<pjt_014> Now I do have a temp fix
<pjt_014> I wrote an override that sets the emacs dep to null, which works
<pjt_014> but the emacs mode really needs to be factored out elsewhere
wavirc22 has quit [Ping timeout: 272 seconds]
wavirc22_ has joined #nixos
<pjt_014> I could read the emacs packaging guides and stuff, but there's not much there on factoring out emacs stuff in existing programs
D_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #88131 → elan: 0.10.0 -> 0.10.2 → https://git.io/Jfuu8
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/Jfu65
<pjt_014> So someone who has used emacs, like, ever, would be quite a help here
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88149 → i3lock-color: 2.12.c.1 -> 2.12.c.4 → https://git.io/Jfu6j
D_ has joined #nixos
zaeph1 has joined #nixos
orcus has quit [Quit: ZNC 1.7.5 - https://znc.in]
o1lo01ol1o has joined #nixos
zaeph has quit [Ping timeout: 256 seconds]
dermetfan has quit [Ping timeout: 265 seconds]
pbb has quit [Ping timeout: 272 seconds]
pbb has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
orcus has joined #nixos
<quinn> pjt_014: i mean an 'emacs mode' is basically just an emacs plugin that is a little bit more cleverly hooked and scoped.
<pjt_014> I assume they typically aren't made by including the entirety of emacs as a dep?
<quinn> pjt_014: generally a program having an emacs mode means it has an emacs mode so emacs can properly syntax highlight and indent whatever file format it uses. some of them also have full blown UIs written in emacs you can't refactor out
<pjt_014> hmm
<pjt_014> can you easily tell how factor-outable it'd be by looking at it?
<quinn> pjt_014: yeah, probably
<etu> yeah, there's minor modes and major modes. Major modes are things like syntax highlighting and minor modes are... pretty much everything else...
<etu> It's usually functions that can be keybinded if it's a minor mode
<pjt_014> quinn: If you wanna try and take a look, here it is: http://ftp.gnu.org/gnu/recutils/
<pjt_014> It can be *compiled* without emacs at least though.
<pistache> pjt_014: yep, you can build it ith ".override { emacs = null }"
jkarni_ has joined #nixos
<pjt_014> that much I figured out: https://termbin.com/xzmo
<pjt_014> but the packaging ought to be changed too
<quinn> pjt_014: elisp is really only compiled after by emacs or with JIT iirc. that's irrelevant. something some (crazy) devs do is they make the primary 'ui' of their application in emacs. org-mode is an example, so is notmuch iirc. it looks to me like that might be the case. are you able to work with recutils files without emacs?
orivej has quit [Ping timeout: 265 seconds]
kvda has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
<quinn> pjt_014: on further examination, it seems like there are some binaries accompanying it. i would say as long as you can use the package for most of its intended features w/o emacs it's reasonable to make a PR and remove the dep.
<pjt_014> It's a plain-text database, so yes. Maybe the lack of emacs could make it croak while trying to do something contrived, but I haven't come across anything that comes close to that.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88150 → ipscan: 3.7.0 -> 3.7.1 → https://git.io/JfuPL
<quinn> pjt_014: no, it shouldn't. i don't want to look at the source any more but i would be SHOCKED if the C integrates emacs as a library because emacs gets very breaky when you use it that way. gnu developers are crazy but not that crazy (i hope)
ilikeheaps has quit [Ping timeout: 260 seconds]
kvda has joined #nixos
<quinn> i haven't used nix for packaging emacs, i used a special plugin, but that looks right.
chloekek has quit [Ping timeout: 260 seconds]
smatting has joined #nixos
ilikeheaps has joined #nixos
<pjt_014> quinn: I do have an idea for a compromise
lord| has quit [Ping timeout: 256 seconds]
<pjt_014> either removing the emacs from the recutils package and then introducing a recutilsFull one with the emacs stuff, or doing the reverse and having a recutilsMinimal.
<pjt_014> that'd be if they can't be cleanly separated
<pjt_014> either one seem better?
Neo-- has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88151 → janet: 1.8.1 -> 1.9.1 → https://git.io/JfuPR
<quinn> pjt_014: they can definitely be cleanly separated dude. just remove the dependency, it's not necessary for building or the functioning of the binaries as far as i can tell.
knupfer has joined #nixos
<pjt_014> okay, non-crazy gnu devs then. That's good.
<pistache> I've seen a few users bit by this problem use the override to remove emacs, so maybe (just a suggestion, I don't really know) it would be good to still accept the emacs argument if you remove the dependency
<quinn> pjt_014: you should review the source code yourself, use the test suite (if it has one), or write your own imo. if you don't want to do the due-diligence you should leave it a personal overlay
<quinn> pistache: that's interesting. maybe the binaries to call emacs *shudders*. i think you are right about still taking the argument.
dingenskirchen has quit [Read error: Connection reset by peer]
dingenskirchen1 has joined #nixos
orivej_ has joined #nixos
<angerman> why would my nix-prefetch-git not produce any json?
orivej has quit [Ping timeout: 272 seconds]
dingenskirchen1 is now known as dingenskirchen
chiastre has quit [Ping timeout: 240 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bqv> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<pistache> quinn: hmm apparently recutils does import emacs code (for example an implementation of free() in alloc.c), but it looks like it's optional anyway
jgeerds has joined #nixos
<pjt_014> what frustrates me is that there's a vim plugin too, but it's separate >_<
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88152 → jdupes: 1.14.0 -> 1.15.0 → https://git.io/JfuPA
<quinn> pistache: i can't find that, do you mind telling me the full path?
<pjt_014> angerman: what's the exact command you're trying?
chiastre has joined #nixos
<quinn> pjt_014: some people really go crazy for emacs, i don't really understand it (despite using it for a year).
<pistache> quinn: ./lib/alloca.c
<bqv> Guys, this is hardly an obnoxious PR and actually fixes some behaviour #85462 - if anyone here can, I'd appreciate it merged, otherwise I'm going to close it in a day or so and you can cherry-pick the commit later
<{^_^}> https://github.com/NixOS/nixpkgs/pull/85462 (by bqv, 4 weeks ago, open): nixos/nat: substitute iptables for compat under nftables
<angerman> pjt_014: nix-prefetch-nix <url>
<angerman> I'm quite confused as to why that stopped producing json
<quinn> pistache: https://git.savannah.gnu.org/cgit/recutils.git/tree/ i do not see a lib directory in this source tree, nor does fd
<quinn> sorry if that sounded confrontational, i am currently worried i am losing my mind
waleee-cl has joined #nixos
<pistache> oh that's interesting... I downloaded it from http://ftp.gnu.org/gnu/recutils/recutils-1.8.tar.gz
<pistache> quinn: don't worry, it didn't sound confrontational at all
<pjt_014> angerman: It could be caused by the specific repo maybe? I just tried nix-prefetch-git https://github.com/rxi/lite and it worked fine. Gave me a bunch of other output but there's --quiet for that.
<angerman> pjt_014: on my mac it just works, on the linux machine it just gives me the hash.
<pjt_014> hm. a version issue maybe? This thing has no --version flag though, which is frustrating.
<quinn> pistache: WhAAAAAt. dude that is BAFFLING. fd can't even find any c code with 'alloc' in the git checkout.
<raboof> having a quick look at nixops, it looks like that provides a way to easily _update_ remote/cloud NixOS machines. I'm looking for something that can easily _replace_ nix-built images. would nixops work for that as well, or is there something else I could look at?
<quinn> pistache: (oh i looked at the alloca.c, you are absolutely right)
<pistache> quinn: yeah it's weird, I'm still trying to understand what's going on
<raboof> (the deployed images I want to update/replace are built with nix but not full nixos machines themselves)
doyougnu` has quit [Remote host closed the connection]
kvda has joined #nixos
<quinn> pistache: may god protect you
<pistache> quinn: EMACS_FREE is not even present in the Git history.. there are some 'ifdef emacs' for petty things that were removed in 2013
kvda has quit [Client Quit]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
thc202 has joined #nixos
o1lo01ol1o has joined #nixos
<quinn> pistache: maybe check the CVS? it looks like savannah offers checkouts for both or something
virus_dave has joined #nixos
<quinn> actually that might just be for the website
sigmundv__ has joined #nixos
virus_dave has quit [Client Quit]
sigmundv__ has quit [Remote host closed the connection]
<jtojnar> angerman you can also run it in debug mode `bash -x (which nix-prefetch-git) url`
<pjt_014> if it helps, here's the package def, which includes the mirror url: https://github.com/NixOS/nixpkgs/blob/84cf00f98031e93f389f1eb93c4a7374a33cc0a9/pkgs/tools/misc/recutils/default.nix
sigmundv has joined #nixos
potong has quit [Ping timeout: 256 seconds]
<quinn> pjt_014: yeah that's the url pistache is using, however why TF it's not in the git or in the git history is a little concerning. it means that the source code they hand over at releases is (significantly) different from the ones in VCS
<pistache> quinn: it's because they bundle gnulib in the releases
<pistache> recutils itself doesn't seem to have much relation to emacs (except the mode it provides), but gnulib does use some code from emacs when it's available
agsdheidjd has quit [Ping timeout: 244 seconds]
agsdheidjd has joined #nixos
<quinn> pistache: that is very spooky. thanks for figuring it out, pretty interesting
orivej has quit [Quit: No Ping reply in 180 seconds.]
doyougnu has joined #nixos
<bqv> Nyeh.
<Valodim> https://nixos.wiki/wiki/Android#gradlew took me *way* too long to figure this one out. hopefully this spares someone else the odyssey
orivej has joined #nixos
<{^_^}> [nixpkgs] @bqv closed pull request #85462 → nixos/nat: substitute iptables for compat under nftables → https://git.io/JfJ2q
<unclechu> hey, about x-server, i have this option `services.xserver.deviceSection = '' Option "TearFree" "true" '';` but it doesn't work, i realized that in `xserver.conf` there are no `Device`-sections for some reason
<unclechu> any ideas why there might be no `Device` sections in the `xserver.conf` for my X-session?
kvda has joined #nixos
alexherbo2 has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
potong has joined #nixos
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88153 → klayout: 0.26.4 -> 0.26.5 → https://git.io/Jfu1j
<{^_^}> [nixos-search] @adisbladis opened pull request #35 → Use a custom attrname analyzer → https://git.io/JfuMT
doyougnu has quit [Remote host closed the connection]
jgeerds has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « unbound: 1.10.0 -> 1.10.1 (security) »: https://git.io/JfuMs
asymptotically has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88154 → kube3d: 1.6.0 -> 1.7.0 → https://git.io/JfuM4
orivej has quit [Ping timeout: 246 seconds]
<pjt_014> pistache, quinn: well, I gotta go for now. You both cool if I include some of the chat long when I do make the gh issue?
tareluerlz2 has joined #nixos
orivej has joined #nixos
__monty__ has joined #nixos
<tareluerlz2> I do muliboot and I was wondering ,is it hard to not mess that up ? chose a already formatted , not wreck , efi partition , just asking
doyougnu has joined #nixos
cfricke has joined #nixos
<clever> tareluerlz2: i think the "proper" way to do multiboot on efi, is that each OS registers itself in the efi vars, and the bios lets you pick one
maddo has joined #nixos
<unclechu> i realized that it happens only for `i915` video driver, i added `modesetting` to `services.xserver.videoDrivers` list (there was only `i915` there) and that `TearFree` option appeared there
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88155 → kubeseal: 0.12.0 -> 0.12.3 → https://git.io/JfuM1
<unclechu> but only for `modesetting`, there's no `Device`-section for `i915`
doyougnu has left #nixos [#nixos]
Neo-- has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/82b5f87fcc7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
chloekek has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
Doraemon has quit [Quit: Leaving]
NeoCron has joined #nixos
doyougnu has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 is now known as knupfer
vidbina has quit [Ping timeout: 264 seconds]
doyougnu has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88156 → kubie: 0.8.4 -> 0.9.1 → https://git.io/JfuDq
doyougnu has joined #nixos
emilsp has joined #nixos
teto has joined #nixos
civodul has joined #nixos
pjt_014 has quit [Ping timeout: 265 seconds]
potong has quit [Ping timeout: 272 seconds]
<tareluerlz2> I do have mulitboot system , Can you easy use an alreadly made partition (root) , swap so
leotaku has quit [Ping timeout: 256 seconds]
justanotheruser has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
justanotheruser has joined #nixos
<clever> tareluerlz2: nixos tends to break if other things are in /etc, /bin, and /lib, so its best to give nixos its own rootfs, zfs and lvm make that a lot simpler to manage
<tareluerlz2> seem easy enough to chose its own root, zfs ( used) that with Freebsd it not works so well , why lvm?
<unclechu> i actually had to name the video driver as `intel`, not as `i915`
<{^_^}> [nixpkgs] @wnklmnn opened pull request #88157 → keepass: 2.40 -> 2.45 → https://git.io/Jfuyk
<tareluerlz2> really?
<unclechu> i've digged into the sources in nixpkgs and it seems those values have to match `pkgs.xorg.xf86video*` package
<clever> tareluerlz2: with lvm, you can easily make another block device in the array, name it clearly, and then format it and mount as / for nixos
<clever> tareluerlz2: the benefit with zfs, is that free space is shared equally, rather then you having to allocate a large chunk ahead of time
<MichaelRaskin> unclechu: intel driver for Xorg is old and, well, we switched to modesetting because there are less problems
<{^_^}> [nixpkgs] @arianvp opened pull request #88158 → Some systemd fixes revolving dbus and socket activation of systemd services → https://git.io/JfuyY
<unclechu> MichaelRaskin: what problems should i expect?
wnklmnn has joined #nixos
<unclechu> now i don't see any problems yet. haven't tested it with multiple displays yet though
<MichaelRaskin> Aha.
m0rphism has joined #nixos
<MichaelRaskin> That's where _I_ got bitten
<MichaelRaskin> (intel/i915+modesetting/nouveau multidisplay suddenly breaking, modesetting all around working fine)
<tareluerlz2> ok, I have 24 partition gpt , I don't think it lvm . SO what are my options? I use ext4 99% of the time
<{^_^}> [nixpkgs] @vcunat opened pull request #88159 → DNS resolver security updates for "nxnsattack" → https://git.io/JfuyC
doyougnu has quit [Quit: ERC (IRC client for Emacs 26.3)]
doyougnu has joined #nixos
alexherbo2 has joined #nixos
doyougnu has quit [Client Quit]
rauno has quit [Remote host closed the connection]
orivej has quit [Quit: No Ping reply in 180 seconds.]
benedikt93 has quit [Quit: No Ping reply in 180 seconds.]
doyougnu has joined #nixos
<asymmetric> is there a technical reason why there's no builtins.fromYAML ?
orivej has joined #nixos
Jackneill has quit [Ping timeout: 240 seconds]
benedikt93 has joined #nixos
simba1 has quit [Ping timeout: 272 seconds]
<LnL> yaml parsing is pretty complex and builtins.fromEverything isn't really feasible
ramses_ has joined #nixos
<ramses_> Does anyone have experience building Vue.js apps with Nix? I don't have any NPM experience and I'm a bit lost
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
medvid has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #86643 → zsh: added option to enable compatibility with bash's completion system → https://git.io/Jfsq0
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfuS4
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88161 → libcec: 4.0.5 -> 5.0.0 → https://git.io/JfuSR
Jackneill has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ade0eba99dd (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/82b5f87fcc7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
vidbina has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lord| has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88162 → libcint: 3.0.19 -> 3.0.20 → https://git.io/JfuSQ
<tareluerlz2> 200mb space unallocated , How would I resize a partition to use the space so I don't have like blank stop in my hard drive ?
<pistache> tareluerlz2: what kind of partition ?
<tareluerlz2> Well, its one of my os
<tareluerlz2> or you mean something else?
<ramses_> jtojnar: what I don't get is how to make vue-cli-service available during build. I can't seem to get my head around it
<jtojnar> ramses_ npm or yarn?
<ramses_> jtojnar: npm for the moment, but I'm not hard-pressed on this
<tareluerlz2> how can you have like 24 primary partitions ? I thought the limit was four .
zupo has joined #nixos
o1lo01ol1o has joined #nixos
pistache has quit [Ping timeout: 240 seconds]
pistache has joined #nixos
pistache is now known as Guest16883
pistache_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88163 → libdeflate: 1.5 -> 1.6 → https://git.io/Jfu9q
<pistache_> tareluerlz2: sorry, had some problems with my client there
<pistache_> tareluerlz2: I was asking for the type of the filesystem you want to resize (ext4 ? ext3 ? btrfs ?)
<alj[m]> Hey guys! How can I override (part of) a nixos module? (nixos/modules/system/boot/loader in this case)
<tareluerlz2> ext4 , oh and thanks for the help . If you at work , I don't need to know this stuff
fendor has joined #nixos
<typetetris> Is there something besides `enableIPv6` I need to do, to get SLAAC working?
dermetfan has joined #nixos
<pistache_> tareluerlz2: MS-DOS partition tables are limited to four primary partitions
<pistache_> tareluerlz2: but you can have more "logical" partition, or you can have a GPT partition table, which is limited to 128 partitions if I remember correctly
<pistache_> tareluerlz2: so after resizing the partition itself, you'd need to use the resize2fs tool to resize the filesystem partition
<pistache_> to resize the filesystem, I mean
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<azazel> alj: there's a section about declaring/overriding/loading nixos modules in the manual
<alj[m]> azazel75: I'll look again, thanks
<{^_^}> [nixpkgs] @tobim opened pull request #88164 → caf: 0.17.4 -> 0.17.5 → https://git.io/Jfu90
<jtojnar> ramses_ https://github.com/svanderburg/node2nix/issues/149 might be relevant
<{^_^}> svanderburg/node2nix#149 (by CMCDragonkai, 43 weeks ago, open): Is it possible to install dev dependencies as well?
<alj[m]> azazel75: omg thanks a lot!
<tareluerlz2> it said you have discord on your site do you all voice chat on that sever ?
nschoe has quit [Ping timeout: 244 seconds]
teto has quit [Ping timeout: 260 seconds]
<b42> typetetris: i haven't played with this but i'm guessing you need to either enable dhcp on the interface (and let dhcpcd handle slaac) or set boot.kernel.sysctl."net.ipv6.conf.IFACE.accept_ra" to 1 (or 2)
<{^_^}> [nixpkgs] @Mic92 merged pull request #88164 → caf: 0.17.4 -> 0.17.5 → https://git.io/Jfu90
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfu9h
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
drakonis_ has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
drakonis_ has joined #nixos
<typetetris> b42: thanks
Guest16883 has quit [Quit: leaving]
<typetetris> b42: dhcp is activated but i only get a link local address. But the host has a globally reachable (whatever that means, i am out of my depth here) ipv6 address. I configured it statically, and also set `networking.defaultGateway6` but `ip r l` doesn't show any ipv6 related stuff though. `networking.enableDHCP=true` still.
<typetetris> b42: `useDHCP` on the interface not `networking.enableDHCP`.
<pistache_> typetetris: "ip -6 r l" ?
domogled has joined #nixos
iyzsong has joined #nixos
<ramses_> jtojnar: I might get some inspiration there indeed, thanks!
<typetetris> pistache_: Thanks, that shows something!
syd has joined #nixos
<syd> Hi peeps
<syd> I'm trying to override the Service.ExecStopPost value for each systemd.user.services
zupo has quit [Ping timeout: 264 seconds]
kvda has joined #nixos
<syd> but when I try this, I get an infinite recursion
<syd> it's a module for home-manager
<syd> but eventually I want to do something similar for system services
zupo has joined #nixos
<syd> How would I work around this?
<pistache_> syd: use mapAttrs
<syd> I'm using genAttrs at the moment
<syd> I'll try
<pistache_> the way you're currently doing it is not possible because you're referring to config.systemd.user.services while defining that value
<syd> so it also wouldn't work with mapAttrs?
<syd> or is your comment to explain why genAttrs doesn't work?
<pistache_> no that was to explain the infinite recursion you're getting with that code
<clever> syd: you can never reference a given option, while defining the value of the same option
alexherbo2 has quit [Ping timeout: 256 seconds]
<syd> clever: that makes sense, but then I don't understand how mapAttrs would work either
<syd> in fact this gives me the same infinite recursion
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<clever> syd: nix must first know what attrs config.systemd.user.services contains, before it can give you the value of config.systemd.user.services
<clever> syd: so it has to call mapAttrs before it can know what the args to mapAttrs are
<alj[m]> Why does replacing `generic-extlinux-compatible` in system/boot/loader prompt my whole system to rebuild half its binaries? Is there any way to stop that?
orivej has quit [Ping timeout: 246 seconds]
<syd> clever: that makes sense
<syd> so how would I work around that then?
wnklmnn has quit [Ping timeout: 260 seconds]
<clever> alj[m]: find the .drv from before and after, and run nix-diff on both of them
orivej has joined #nixos
<clever> syd: its not really possible to override that, youll need to just edit the module that created the option to begin with
<typetetris> the nixos firewall logs some connections, where can I take a look at those logs? `journalctl -f` only shows me ipv4 stuff, does that mean ipv6 doesn't reach that host and it is blocked before?
<clever> syd: it would likely be simpler for you to just watch the journal for things exiting, and then act on that instead
<syd> Ah it's just not possible. That's too bad. I figured maybe there was a way
<{^_^}> [nixos-search] @garbas merged pull request #35 → Use a custom attrname analyzer → https://git.io/JfuMT
<{^_^}> [nixos-search] @garbas pushed commit from @adisbladis to master « Use a custom attrname analyzer (#35) »: https://git.io/JfuH7
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0f5ce2fac0c (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
coco has quit [Ping timeout: 265 seconds]
<pistache_> syd: as suggested by clever, you can try to override the value of systemd.units in in system/boot/systemd.nix (or the equivalent for home-manager), but yes watching the logs might be an easier solution
<b42> typetetris: possibly ... you can pass -n to ip6tables to see how many packets matched which rule, that is sometimes useful
<syd> pistache_ clever: what do you mean by 'watching' logs?
<syd> I'd have to write some separate program for that right
<clever> syd: yeah
<syd> ok :)
<clever> syd: do you know haskell?
<syd> I do, I'm an expert :D
<clever> syd: one min
<{^_^}> input-output-hk/iohk-ops#172 (by cleverca22, 2 years ago, closed): [DEVOPS-77] create a tool that can map sshd logs to a user
<clever> syd: this uses conduits and a journal library to create a stream of journal messages
<syd> oh that's pretty cool
<clever> syd: in this case, it filters on sshd, and translates ssh pubkey hashes, back into pubkeys and usernames
<clever> syd: but you can filter on whatever you want
<clever> [root@amd-nixos:~]# journalctl -u display-manager -t systemd
<clever> syd: if you filter on both a unit and a syslog identifier, you get only the start/stop messages that systemd generates
<clever> though, if you want all units, just `-t systemd` then
<syd> oh interesting
<syd> I'll look into that further
<clever> `journalctl -t systemd | grep exited` from the CLI
chloekek has quit [Ping timeout: 256 seconds]
<syd> for now I just list the services that I'm interested in manually
<clever> (Just (Journal.Match systemdUnitField "sshd.service"))
<clever> syd: and something close to this, from the conduit side
<{^_^}> [nixpkgs] @Mic92 closed pull request #85784 → Adding --local-interfaces flag in Agda build → https://git.io/JfkbU
<clever> syd: oh, and if you `journalctl -o json`, you can see the names that this library wants
<syd> oeh
<syd> very hackable
<syd> Do you work at IOHK?
<clever> syd: yep
<syd> Cool ^^
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
coco has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
wnklmnn has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #87704 → pkgsi686Linux.cmake: compile with _FILE_OFFSET_BITS=64 for 32-bit targets → https://git.io/Jf85m
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/JfuQn
<{^_^}> [nixpkgs] @marsam merged pull request #88134 → flow: 0.124.0 -> 0.125.1 → https://git.io/Jfuac
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfuQc
<typetetris> if using nixops is a `system.stateVersion` in the configuration for a host still necessary? (using nixops for a nixos host)
<clever> typetetris: the first time nixops deploys, it will query the remote machine for its stateVersion, and then put that into the internal sqlite database
<clever> typetetris: but its then set using mkDefault, so your config can still override things
<{^_^}> [nixpkgs] @Ma27 pushed to master « ripgrep-all: 0.9.5 -> 0.9.6 »: https://git.io/JfuQE
<clever> what you set it to isnt that important, its more important that it doesnt change without you planning for that change
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos
<typetetris> clever: Okay, is there some manual, what I have to pay attention to, when it should be changed? (Just read about for example postgresql default version.)
<clever> typetetris: its usually in the nixos release notes
<b42> ,stateVersion
<{^_^}> Changing stateVersion doesn't upgrade anything and can only break your setup at best. To actually upgrade NixOS see https://nixos.org/nixos/manual/#sec-upgrading. If you need to change stateVersion for some odd reason regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually migrated with the new value
<typetetris> so don't touch understood.
teto has joined #nixos
agsdheidjd has quit [Ping timeout: 256 seconds]
alp has joined #nixos
agsdheidjd has joined #nixos
orivej_ has quit [Ping timeout: 256 seconds]
jkarni_ has quit [Ping timeout: 272 seconds]
lunik1 has quit [Ping timeout: 258 seconds]
<manveru> how come that https://hydra.nixos.org/search?query=compiler-rt doesn't have a single darwin result?
dm9 has joined #nixos
justanotheruser has joined #nixos
<manveru> https://hydra.nixos.org/build/119042848 fails because of some strange compiler-rt issue... tried finding the cause but since it seems to never have been built before it's kinda hard
<alj[m]> clever: I've been trying to get the information you've asked for, but I'm getting tilted trying to find the right drv... The real question is why replacing the generic extlinux module warrants rebuilding all of this: https://termbin.com/9gaq
orivej has joined #nixos
<clever> alj[m]: you just want the top-level drv for all of nixos
<clever> alj[m]: nix-instantiate '<nixpkgs/nixos>' -A system, before and after the change
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @dywedir merged pull request #88151 → janet: 1.8.1 -> 1.9.1 → https://git.io/JfuPR
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/Jfu7N
<alj[m]> will do, thanks
magnetophon has quit [Read error: Connection reset by peer]
<{^_^}> [nixops] @adisbladis merged pull request #1348 → deployment.py: fixup mistakes in #1346 → https://git.io/JfuqN
<{^_^}> [nixops] @adisbladis pushed 3 commits to master: https://git.io/Jfu5I
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #85991 → bluez-alsa: fix installation of D-Bus policy and alsa config → https://git.io/JftJW
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/Jfu5r
leotaku has joined #nixos
alexherbo2 has joined #nixos
<alj[m]> clever: Is there some way to not use nix-diff for troubleshooting this? I cant install it because ghc doesnt work on armvl7 for some reason...
<alj[m]> (one of the reasons for tilt)
<clever> alj[m]: use nix-copy-closure to copy both drv files to an x86 machine
<clever> then you can use x86 nix-diff
lunik1 has joined #nixos
vidbina has joined #nixos
<hyper_ch> trying to build samba 4.12.3 that was just released :)
potong has joined #nixos
ilikeheaps has quit [Quit: Konversation terminated!]
<alj[m]> clever:
<alj[m]> * clever: its saying its pulling 1500 paths, is it going to pull the whole store over now? i dont have that much disk space
<clever> alj[m]: it will only be copying tiny .drv files and any paths from foo = ./.;
<alj[m]> its saying its copying 1500 paths, is it gonna fill up my disk now?
<alj[m]> Also apologies, my client is being wonky as fuck
jkarni_ has joined #nixos
rauno has joined #nixos
<alj[m]> It says the only difference is the file i actually changed aka the patch in the extlinux-conf-build.sh. https://termbin.com/fou2
<clever> alj[m]: if you undo the change and nixos-rebuild, what happens?
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2020-05-16 -> 2020-05-18 »: https://git.io/JfuFZ
shibboleth has joined #nixos
<alj[m]> clever: it rebuilds my previous config, which means nothing really happens.
<hyper_ch> so, samba 4.12.3 rebuilt without problems :)
<clever> alj[m]: and it built without any changes?
<alj[m]> Yes. Without my change everything builds nice (or has been built nice rather). It's just this change that messes everything up apparently
<clever> alj[m]: can you post a screenshot of the nix-diff output?
<{^_^}> [nixpkgs] @marsam merged pull request #88137 → flyctl: 0.0.117 -> 0.0.123 → https://git.io/JfuVU
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfuFK
<alj[m]> I've changed some small stuff today, nothing made a single binary rebuild happen. Just regular configuration. All fine.
<alj[m]> The output is already in the termbin link I attached before i think
<alj[m]> > alj: can you post a screenshot of the nix-diff output?
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):311:1
<typetetris> Where can I read more about flakes ? Do they compete with overlays and overrides?
<clever> alj[m]: ah, i didnt see the link
<clever> alj[m]: yeah, i would expect that to have very very minimal changes
<tareluerlz2> What would you say to a person coming from Ubuntu to your Version of Linux?
<clever> tareluerlz2: remember that time apt-get dist-upgrade broke everything and you spent days fixing it?
<clever> nixos has an undo button
<tareluerlz2> Myself I to a fresh install when I new version comes out . But I can see your point
<gchristensen> I have never needed to do a fresh install with nixos
<tareluerlz2> how long you been running it?
<clever> ~5 years, and ive not had to reinstall, even when changing the hard-drive out (repeatedly)
<tareluerlz2> Sold hahah
<clever> with the magic of zfs, i can change the entire hard-disk out without even a reboot (assuming the new disk is already in the box)
<gchristensen> tareluerlz2: since january 2016
<clever> basically, just convert a single-disk array, into a "broken" mirror between the old&new disk
<clever> zfs will happily copy all of your data over to the new disk
<clever> when its done, you can just tell it to tear the mirror apart, and run pure from the new disk
<pistache_> i've had to reinstall once because of a ZFS bug, but it was more because of ZFS than because of NixOS itself
<clever> that whole thing can be done online, while your using the machine (at the obvious cost of IO load)
<clever> then the only tricky part is moving your /boot fs over, which depends on how your booting
<{^_^}> [nixpkgs] @marsam merged pull request #88135 → fluent-bit: 1.4.3 -> 1.4.4 → https://git.io/Jfuap
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfubm
<pistache_> and some advice based on that: take care with ZFS snapshots and overcomitting, they can completely break a pool
<clever> pistache_: how did it break the pool? ive been creating snapshots like mad, with the auto-snapshot flag
<pistache_> clever: created snapshot, out of space, but couldn't remove any snapshot because "out of space"
<{^_^}> [nixpkgs] @marsam merged pull request #88155 → kubeseal: 0.12.0 -> 0.12.3 → https://git.io/JfuM1
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Jfubn
<{^_^}> [nixpkgs] @sjau opened pull request #88165 → Samba: 4.12.2 -> 4.12.3 → https://git.io/JfubC
<{^_^}> [nixpkgs] @marsam merged pull request #88154 → kube3d: 1.6.0 -> 1.7.0 → https://git.io/JfuM4
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfubW
<clever> pistache_: i dont think ive ever had problems deleting a snapshot while full
<hyper_ch> so, PR done for samba 4.12.3... my problem with shadow copy2 still remains though :(
<clever> pistache_: i have however had problems deleting a file while full, because deleting a file modifies the dir, but `echo -n > file` truncates without updating the dir
<alj[m]> clever: is there any way i can prevent a rebuild? I'm literally changing one line in that stupid script and I dont want to waste all this time rebuilding my binaries...
<clever> alj[m]: if you take the 2 drv's you gave to nix-diff, and run `nix-build --dry-run` on each, what is the results?
<{^_^}> [nixpkgs] @marsam merged pull request #88143 → gomodifytags: 1.4.0 -> 1.6.0 → https://git.io/Jfuow
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfubu
<pistache_> clever: it was a ZFS bug, the snapshot ended up using ZFS's internal space, and the root txg could not be updated anymore
<clever> pistache_: ah
m1sosoup has joined #nixos
m0rph has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88132 → emplace: 0.3.1 -> 0.3.3 → https://git.io/Jfuup
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfubV
<typetetris> do flake references allow specifying the sha? If not, why not?
<alj[m]> on my x86 machine or the arm?
Maxdamantus has quit [Ping timeout: 256 seconds]
<clever> alj[m]: on the arm
Darkmatter66_ has joined #nixos
Maxdamantus has joined #nixos
Darkmatter66 has quit [Ping timeout: 264 seconds]
<pistache_> clever: it's still an open issue, that's why I advise being careful with refreservation (always manually leave some space for ZFS itself)
morph000 has joined #nixos
<pistache_> see zfs#9895 and zfs#9849 for more info
morph000 has quit [Client Quit]
<alj[m]> > clever: I've been trying to get the information you've asked for, but I'm getting tilted trying to find the right drv... The real question is why replacing the generic extlinux module warrants rebuilding all of this: https://termbin.com/9gaq
<alj[m]> clever: no output on the "before changes".drv and the same output as in that termbin for the "after changes".drv
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):310:65
<pistache_> I *think* that this problem appeared with 0.8.0, because I don't remember this happenning with 0.7.X
m1sosoup has quit [Ping timeout: 256 seconds]
m0rph has quit [Ping timeout: 256 seconds]
<clever> alj[m]: i think the problem, is that the gcc used to build everything may not be in the cache?
<clever> alj[m]: so you need to build gcc just to get the ability to build anything
<clever> pistache_: ah, i'll read those tickets for more info
jkarni_ has quit [Ping timeout: 246 seconds]
<pistache_> it was quite an experience, breaking a whole server with just a snapshot
<clever> pistache_: there is also the new checkpointing feature, which might be able to undo such a thing
jkarni_ has joined #nixos
<clever> pistache_: basically, a checkpoint is just a pool-wide snapshot, there can only be one, and it can even undo zpool feature upgrades
<clever> but reverting to a checkpoint will undo everything on the entire pool
<alj[m]> clever: looking at the all the paths containing "gcc" i find that gcc 9 (the one that is also trying to be built) is not installed but gcc 7.4 is... but why? i'm so confused right now
CRTified has quit [Quit: Gateway shutdown]
<pistache_> clever: yep, but that would only help if there was a checkpoint that had been made
<hyper_ch> how does "github" know whom to contact as reviewers for a PR?
<pistache_> however, I was able to recover the pool by rebooting and importing an earlier TXG
<pistache_> but had to made a full remote backup before that because at that point I wasn't even sure I was going to be able to import the pool again
<clever> alj[m]: has this machine ever built something from source before?
<alj[m]> it has, yes
<clever> not sure whats up then
kaliumxyz has quit [Ping timeout: 256 seconds]
zaeph1 has quit [Ping timeout: 260 seconds]
reallymemorable has joined #nixos
<alj[m]> nice.
<alj[m]> guess I'll just let it run then..
<tareluerlz2> well, I hope to install nixos today
lucksus has joined #nixos
maxdevjs has quit [Remote host closed the connection]
cosimone has joined #nixos
zaeph has joined #nixos
<alj[m]> clever: Thanks for the awesome help again, you rock!
<lucksus> Hey folks, I'm trying to cross-compile my Rust project to Android using a nix-shell (on Ubuntu host) with `crossSystem`, and I'm running into the exact same problem described and patched here: https://github.com/NixOS/nixpkgs/issues/56156. I tried to apply the same patch using an overly but no matter what I do, it seems the overlay doesn't apply to the LLVM pulled in by crossSystem. And I can't find comprehensive documentation for
<{^_^}> #56156 (by nomeata, 1 year ago, closed): Cannot build LLVM-6 for Android
<lucksus> crossSystem, like how to set the LLVM version used etc. Is there anybody on who could help me understanding und configuring crossSystem?
<alj[m]> clever++
<{^_^}> clever's karma got increased to 428
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pistache_> tareluerlz2: NixOS's installation process was one of the first things that hooked me up
<tareluerlz2> What you mean pis?
maxdevjs has joined #nixos
<{^_^}> [nixpkgs] @lsix opened pull request #88166 → skypeforlinux: 8.59.0.77 -> 8.60.0.76 → https://git.io/JfuAF
<pistache_> tareluerlz2: it's very.. straightforward. you setup your partition, a proper configuration file and run "nixos-install", and you have a working system
maxdevjs has quit [Remote host closed the connection]
<tareluerlz2> the partition part is what I wonder about , I have not used parted in sometime, I just don't want to delete my other systems
morgrimm has joined #nixos
<betawaffle> what's the correct way to get nixos to configure overrides for a template unit instance? ie. getty@tty2
<betawaffle> i want to add environment variables to just that unit
tareluerlz2 has quit [Remote host closed the connection]
maxdevjs has joined #nixos
<{^_^}> [nixpkgs] @DonHugo69 opened pull request #88167 → vivaldi: 2.11 -> 3.0 → https://git.io/Jfux8
<pistache_> betawaffle: systemd.services."getty@tty2".serviceConfig.Environment, I suppose
<betawaffle> as opposed to `systemd.services."getty@tty2".environment?
<pistache_> right, you can do it with .environment as well
<betawaffle> the problem is (i think) nixos will just try to create a getty@tty2.service, rather than an overrides.conf because the existing service is getty@.service (a template), and nixos doesn't understand they are related
Rusty1 has joined #nixos
<betawaffle> at which point it's not an override, and it doesn't have all the existing bits of getty@
<{^_^}> [nixpkgs] @marsam merged pull request #88126 → dnsproxy: 0.27.1 -> 0.28.1 → https://git.io/JfuR3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfupp
doyougnu has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
tarelerulz2 has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
maxdevjs has quit [Remote host closed the connection]
gustavderdrache has joined #nixos
<tarelerulz2> i'm looking at the manual now and it says something about filling the whole disk , are there any directions for mulitboot?
maxdevjs has joined #nixos
syd has quit [Quit: Connection closed]
vidbina has quit [Ping timeout: 244 seconds]
maxdevjs has quit [Remote host closed the connection]
<Bryan[m]> betawaffle: interesting, how does that work outside of NixOS?
maxdevjs has joined #nixos
<betawaffle> Bryan[m]: well, normally you'd have to create the whatever.service.d/overrides.conf file (or symlink) yourself
luz666 has joined #nixos
maxdevjs has quit [Remote host closed the connection]
<betawaffle> i could certainly do that, but it be nice to have nixos do it natively
maxdevjs has joined #nixos
<betawaffle> (and it does, when the thing you're configuring comes from upstream systemd)
luz666 has quit [Client Quit]
<betawaffle> it's not smart enough to understand template units
maxdevjs has quit [Remote host closed the connection]
jkarni_ has quit [Ping timeout: 256 seconds]
luz666 has joined #nixos
jkarni_ has joined #nixos
LambdaDuck has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #88162 → libcint: 3.0.19 -> 3.0.20 → https://git.io/JfuSQ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfuhx
maxdevjs has joined #nixos
maxdevjs has quit [Remote host closed the connection]
<tarelerulz2> I use mount /dev/sda10 mnt/ or do I have to mount /dev/disk/by-label/nixos /mnt , I did not make any partition , I used what I have
LambdaDuck has joined #nixos
bebarker has joined #nixos
fusion809 has quit [Remote host closed the connection]
rogue_koder has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<pistache_> betawaffle: ah right sorry, I'd have expected it to do so
bbarker has quit [Ping timeout: 265 seconds]
<tarelerulz2> Ok, bit lost I did not make any partition , mount /dev/disk/by-label/nixos /mnt , so what is the nixos in it?
<{^_^}> [nixpkgs] @marsam merged pull request #88148 → hebcal: 4.19 -> 4.20 → https://git.io/Jfu6l
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfuj0
maxdevjs has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88125 → dasht: 2.3.0 -> 2.4.0 → https://git.io/JfuB8
jkarni_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfujM
<tarelerulz2> what is the boot file file system ? is that efi partition ?
<pistache_> tarelerulz2: on an EFI system yes that could be the EFI partition
<tarelerulz2> thanks man
<pistache_> tarelerulz2: if you haven't made any partition, that partition with "nixos" label may very well be the installer itself
<{^_^}> [nixpkgs] @marsam merged pull request #88140 → xurls: 2.0.0 -> 2.2.0 → https://git.io/Jfurj
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfujS
<pistache_> tarelerulz2: I recommended using https://nixos.org/nixos/manual/index.html#sec-installation for these steps, it explains all of it in detail and provides the required commands
<pistache_> tarelerulz2: mhh what I wrote was wrong, that partition with "nixos" label is not the installer itself, you either created a filesystem yourself or it was existing beforehand
<{^_^}> [nixpkgs] @nlewo merged pull request #87154 → Some performance optimizations to dockerTools.build{,Layered}Image → https://git.io/JfnGZ
<{^_^}> [nixpkgs] @nlewo pushed 3 commits to master: https://git.io/Jfujb
virus_dave has joined #nixos
<tarelerulz2> so I could do mount /dev/sda10 /mnt/ and be ok
<pistache_> note that partition and filesystems are two different things : the partition is a sized "slot" in which you create a filesystem
<pistache_> tarelerulz2: if /dev/sda10 contains the filesystem in which you want to install NixOS, yes
cfricke has quit [Quit: WeeChat 2.8]
cfricke has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
virus_dave has quit [Remote host closed the connection]
<tarelerulz2> so when you mount you boot partition you just do something like mount /dev/sda1 /mnt/boot?
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #88167 → vivaldi: 2.11 -> 3.0 → https://git.io/Jfux8
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/Jfze4
Ariakenom has joined #nixos
lordcirth has joined #nixos
<clever> tarelerulz2: yep
<{^_^}> [nixpkgs] @peterhoeg pushed to f/handbrake « doc and remove superfluous toString »: https://git.io/Jfzeo
<{^_^}> [nixpkgs] @Mic92 merged pull request #88166 → skypeforlinux: 8.59.0.77 -> 8.60.0.76 → https://git.io/JfuAF
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfze1
<{^_^}> [nixpkgs] @marsam merged pull request #88141 → geoipupdate: 4.2.2 -> 4.3.0 → https://git.io/Jfuoe
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfzeM
silviogutierrez has joined #nixos
jkarni_ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88055 → editorconfig-checker: 2.0.3 -> 2.0.4 → https://git.io/JfEwQ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfze7
<exarkun> ,locate dig
<{^_^}> Found in packages: dnsutils.dnsutils
<cransom> gchristensen: question on hydras `one_at_a_time`. I run the default (4) evaluators. i have it turned on for 3 of my projects, but judging from the log and the time since last evaluation, they don't seem to run in parallel. rather, i don't see any other evaluations happening while one of the one-at-a-times are evaluating.
knupfer has quit [Quit: knupfer]
<gchristensen> oh it isn't about concurrency
<gchristensen> it won't evaluate the project while the current latest evalution has any pending jobs
<cransom> hrm. what i see is that with it enabled, the time since last evaluation is 10x higher (usually around 120s, was getting into 1500 seconds). it was a quiet time, there were no new/existing jobs or work being done.
<silviogutierrez> Hi all, huge Nix fan here and I'm trying to really grasp it. So thanks in advance to all those who contribute to it. I'd like to better understand channel updates. Let me know if this is the right place or not. I've "pinned" to 20.03, but see some packages aggressively update and others are very far behind. Is there a system behind this?For
<silviogutierrez> example, on 20.03, GitHub CLI tool was bumped a few days ago to the very latest 0.8.0. See here:https://github.com/NixOS/nixpkgs-channels/blob/nixos-20.03/pkgs/applications/version-management/git-and-tools/gh/default.nixBut on the same release, 20.03, the Google Cloud SDK is lagging months
<silviogutierrez> behind.https://github.com/NixOS/nixpkgs-channels/blob/nixos-20.03/pkgs/tools/admin/google-cloud-sdk/default.nixBut on "unstable" both have been updated. So how does the update make it over per package to the "release" branches?
<silviogutierrez> ugh, formatting was stripped. apologies.
<{^_^}> [nixpkgs] @bennofs opened pull request #88169 → [20.03] Backport LLVM big-parallel and ghostscript patch → https://git.io/Jfzvm
<cransom> i think i follow the logic here though. it's from the project level point of view versus the jobset.
pingiun has joined #nixos
<pingiun> I'm using the unstable channel in my configuration.nix as in this post: https://stackoverflow.com/questions/48831392/how-to-add-nixos-unstable-channel-declaratively-in-configuration-nix
igghibu has joined #nixos
<pingiun> but now I'm trying to add unstable plex to my package overrides, but nix complains that I havent enabled unfree packages
<pingiun> even though I have enabled it and it works when I'm on the regular channel for plex
LambdaDuck has quit [Ping timeout: 265 seconds]
<Bryan[m]> Hi silviogutierrez , my understanding is that only minor version bumps are included in the stable channel, modulo some backporting decisions I'm not familiar with. Unstable gets all the changes. Plus, it's up to the contributor's own initiative to add and update most packages, so you can imagine that creates some variability in how quickly things get updates
<silviogutierrez> so Bryan[m], any package maintainer can decide to back port these changes into the release channels?
<{^_^}> [nixpkgs] @marsam merged pull request #88156 → kubie: 0.8.4 -> 0.9.1 → https://git.io/JfuDq
<{^_^}> [nixpkgs] @marsam pushed 4 commits to master: https://git.io/Jfzva
<silviogutierrez> there's no cadence?
<silviogutierrez> moreover, 20.03 was released long after google-cloud-sdk's last update in unstable
<silviogutierrez> why didn't it "capture" the version there?
knupfer has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.7-rc4 -> 5.7-rc6 »: https://git.io/Jfzv6
<Bryan[m]> Back ports might just be security patches? I'm actually just speculating, sorry. Ah, was the sdk in master before the 20.03 branch was created though? That was some months back. And it's also possible that it was marked as broken if there was some reason it was failing to build before the time cutoff
<silviogutierrez> ah alright, I may try the forums as well
<silviogutierrez> thanks
<Bryan[m]> Cool, good luck
<tarelerulz2> I'm looking at nano /mnt/etc/nixos/configuration.nix ,but I don't see the boot.grub.useOSProber
<{^_^}> [nixpkgs] @glittershark opened pull request #88170 → zoom-us: 5.0.403652.0509 -> 5.0.408598.0517 → https://git.io/JfzvM
<clever> tarelerulz2: if you want it enabled, then you need to add it to the file
rauno has quit [Remote host closed the connection]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #87652 → vultr-cli: init at 0.3.0 → https://git.io/Jf83v
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfzvd
<tarelerulz2> by adding the osprobe stuff it will find WIndows and the other distro? do I need to add more?
<clever> tarelerulz2: thats the whole point of os prober
igghibu has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @Ma27 opened pull request #88171 → matrix-synapse: 1.12.4 -> 1.13.0, riot-{web,desktop}: 1.6.0 -> 1.6.1 → https://git.io/Jfzvh
silviogutierrez has quit [Remote host closed the connection]
waleee-cl has joined #nixos
LambdaDuck has joined #nixos
<tarelerulz2> building the configuration in /mnt/etc/nixos/configuration.nix...error: syntax error, unexpected '=', expecting $end, at /mnt/etc/nixos/configuration.nix:6:25(use '--show-trace' to show detailed location information)
magnetophon has quit [Ping timeout: 260 seconds]
<clever> tarelerulz2: can you pastebin the contents of the file?
Valodim has quit [Quit: ZNC 1.7.5 - https://znc.in]
Valodim has joined #nixos
<{^_^}> [nixpkgs] @nthorne opened pull request #88172 → virtualbox: 6.1.6 -> 6.1.8 → https://git.io/Jfzf0
<clever> tarelerulz2: that is not the contents of the file
magnetophon has joined #nixos
<bqv> you know what would be nice
<bqv> is if execline had a direnv hook :p
fabianhjr has joined #nixos
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jfzf6
<{^_^}> [nixpkgs] @ryantm merged pull request #88121 → codeql: 2.1.1 -> 2.1.3 → https://git.io/Jfu8E
<{^_^}> [nixpkgs] @ryantm merged pull request #88139 → ft2-clone: 1.23 -> 1.24 → https://git.io/Jfuw1
wnklmnn has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jfzf1
wnklmnn has joined #nixos
<clever> tarelerulz2: lines 6-9 need to be moved, they must be between the { on 10 and the } on 102
<clever> tarelerulz2: also, you need to disable systemd-boot on line 17
zupo has joined #nixos
Valodim has quit [Quit: ZNC 1.8.0 - https://znc.in]
<clever> tarelerulz2: and you only need to set grub.device if you want to boot without EFI, set it to "nodev" to disable legacy setup
Valodim has joined #nixos
<hodapp> if my plan worked right, I convinced someone to try NixOS... because they wanted Siag Office.
<evanjs> Taking a look at hyper-v vmdk +/ ovmf creation of nixos images... anybody have some good resources to start with?
<evanjs> didn't _see_ anything on nixos-generators
<{^_^}> [nixpkgs] @lsix opened pull request #88173 → [20.03] skypeforlinux: 8.59.0.77 -> 8.60.0.76 → https://git.io/JfzJN
<evanjs> closest I can see there is install-iso-hyperv IIUC
<evanjs> ping lassulus I guess?
<pingiun> how can I set nixpkgs.config.allowUnfree on an unstable nixexprs that I downloaded? I can't seem to evaluate plex when i have set that option in my configuration.nix
<pingiun> I'm using the unstable channel in my configuration.nix as in this post: https://stackoverflow.com/questions/48831392/how-to-add-nixos-unstable-channel-declaratively-in-configuration-nix
<evanjs> pingiun: here is what my overrides look like lol https://github.com/evanjs/nixos_cfg/blob/master/config/new-modules/channels.nix
drakonis has joined #nixos
<clever> pingiun: when you import <nixpkgs-unstable> {}, you can change it to { config.allowUnfree = true; }
<evanjs> I need to make that config bit shared between those overrides, though.... so messy
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/82b5f87fcc7 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<infinisil> clever: They're already doing config = config.nixpkgs.config in the post
<infinisil> pingiun: So it should just be `nixpkgs.config.allowUnfree = true` in some line in your configuration.nix
<lassulus> evanjs: uhm, never did anything with hyper-v, so not sure. the make-disk-image.nix I'm using from nixpkgs is supporting these formats: qcow2, qcow2-compressed, vpc, raw
<pingiun> ah I understand now
<pingiun> thanks
cosimone has quit [Remote host closed the connection]
<evanjs> lassulus: I keep seeing "raw" and "vmdk" next to each other so I wonder if that works lol
cosimone has joined #nixos
<lassulus> evanjs: if `qemu-img convert` can convert to it, I could work
<lassulus> but maybe just booting a raw image works?
<lucksus> Hey, anybody who can help me getting an overlay to work inside crossSystem?
<evanjs> yeah that's what I'm wondering. hrm
drakonis has quit [Ping timeout: 260 seconds]
<evanjs> time for a raw hello world I guess :D
<lucksus> Or explain to me how to packages inside crossSystem (like LLVM etc.) are configured?
<evanjs> "Oh, packages, that's not a big---"
<evanjs> Like LLVM -- OH
<evanjs> Those are a bit more complicated on crossPkgs AFAIK
<{^_^}> [nixpkgs] @Ma27 merged pull request #88142 → git-quick-stats: 2.0.16 -> 2.1.1 → https://git.io/Jfuot
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfzU2
knupfer has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @wamserma opened pull request #88174 → rpiboot-unstable: 2018-03-27 -> 2020-02-17 → https://git.io/JfzUV
<lucksus> Ah! So instead of `llvm = super.llvm.override {...}` I would have to do sometyhing like `crossPkgs.llvm = super.crossPkgs.llvm.override {...}` in the overlay?
<tarelerulz2> No idea what I'm doing wrong
<evanjs> lucksus: eh afaik it should override cross if you do the normal package but I could be wrong
<evanjs> I thought cross just refers to the initial package in the end
jkarni_ has quit [Remote host closed the connection]
jkarni_ has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
simba1 has joined #nixos
teto has quit [Ping timeout: 260 seconds]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from @edolstra to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JfzUF
tarelerulz2 has left #nixos [#nixos]
tarelerulz2 has joined #nixos
<lucksus> evanjs: well, I tried everything I could think of to somehow alter LLVM in my overlay but it never affected the derivation that was kicked off by crossSystem. Will try overriding crossPkgs.llvm_6 explicitly.
mog has quit [Ping timeout: 246 seconds]
mog has joined #nixos
ixxie has joined #nixos
<ramses_> Can I have node scripts produced by building a node2nix package, be wrapped? It seems that they only work when I cd to the store path so that node_modules is in the same directory
KeiraT has quit [Remote host closed the connection]
drewr has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #88074 → denemo: 2.3.0 -> 2.4.0 → https://git.io/JfExi
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JfzTM
linarcx has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/Jfzke
<{^_^}> [nixpkgs] @srhb merged pull request #88095 → openconnect: 8.05 -> 8.10 → https://git.io/Jfumj
reallymemorable has quit [Quit: reallymemorable]
sarcasticadmin has joined #nixos
reallymemorable has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
regnat has joined #nixos
dingenskirchen has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
magnetophon has joined #nixos
rednaZ5 has joined #nixos
<rednaZ5> Hi.
<rednaZ5> I am wondering why nodejs is at 12.16.1 on nixos-19.09 but back at 12.15.0 on nixos-20.03.
<{^_^}> [nixpkgs] @Flakebi opened pull request #88176 → spirv-cross: 2020-04-03 -> 2020-05-19 → https://git.io/Jfzk6
<evanjs> rednaZ5: I would initially say this is due to not everything being backported, but hrm.... perhaps there was a CVE that made backporting an update for nodejs to 19.09 more feasible than 20.03, and since 12.16.1 was the newest, that's what was used?
<tarelerulz2> building the configuration in /mnt/etc/nixos/configuration.nix...error: syntax error, unexpected '=', expecting $end, at /mnt/etc/nixos/configuration.nix:15:11(use '--show-trace' to show detailed location information)
<clever> tarelerulz2: can you pastebin the new config file?
<evanjs> rednaZ5: maybe this one? https://github.com/NixOS/nixpkgs/pull/83026
<{^_^}> #83026 (by wmertens, 8 weeks ago, merged): Nodejs backport
<evanjs> I guess that's more just the "what" than the "why", huh? :D
knupfer has joined #nixos
<{^_^}> [nixos-search] @garbas pushed 5 commits to bool-query: https://git.io/JfzkF
<{^_^}> [nixos-search] @garbas opened pull request #36 → Bool query → https://git.io/JfzkN
erasmas has joined #nixos
<clever> tarelerulz2: you have an extra } that marks the end of the file, in the middle of the file
<clever> tarelerulz2: every { must be matched to another }
<pingiun> if I define overlays in nixpkgs.overlays, they should be picked up by nixos modules right?
<evanjs> bah. a 'x86_64-linux' with features {kvm} is required to build '/nix/store/airn0g1s2vm2igfay8fbsqivq57pglas-nixos-disk-image.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, nixos-test}
<{^_^}> [nixos-search] @garbas pushed 2 commits to bool-query: https://git.io/Jfzkj
<evanjs> I have to do this on my real linux computer don't I lassulus lol
<evanjs> (Doing it on Ubuntu via Windows WSL atm)
<evanjs> WSL 1 **
<evanjs> not sure if WSL2 includes KVM support or etc... presumably not as it's still a guest machine
<lassulus> uhm, it needs to be able to run kvm
<lassulus> I never did anything with WSL also :D
<evanjs> now I am really curious if the kernel for wsl2 supports kvm
teto has joined #nixos
<evanjs> anyway, all I'm testing is the output for now. I guess I can closure ov--wait... I need KVM for building _and_ running don't I :P
<clever> tarelerulz2: after the first set of boot config, you have a } that breaks everything, then more boot config
<andi-> Is the WSL code actually available somewhere?
<evanjs> lemme see
justanotheruser has quit [Ping timeout: 252 seconds]
<evanjs> :( I'm not seeing much atm
<infinisil> pingiun: Yup
<evanjs> https://github.com/microsoft/WSL2-Linux-Kernel though we do have the kernel for wsl2
<andi-> evanjs: That was more of a rhetoric question.. I wonder why one should invest time into their stuff if they don't do their part ;)
<pingiun> infinisil: can you see if I'm doing something obvious wrong? https://pastebin.com/xZUKvvKq
numkem has joined #nixos
<evanjs> Eh I mean because some people will still use it? idk haha
<pingiun> further down in the configuration.nix I have services.plex = true
<evanjs> Sometimes we need to use things we don't like for other reasons. Unfortunately, not every major decision can be made by the devs
<evanjs> In this case, VM image format/consumption
<infinisil> pingiun: I can't help without knowing the problem though :)
<numkem> is there a way to delete a jobset in hydra? even hydra-cli doesn't seem like it's possible
<pingiun> infinisil: ah of course, the problem is that the plex service does not pick up the new plexRaw
<pingiun> the hash doesn't match the url
<pingiun> so it should error
<clever> numkem: is it a declarative project or a normal project?
ixxie has quit [Ping timeout: 240 seconds]
<pingiun> but when building this it doesn't error
<numkem> clever: normal, setup through the UI
<clever> numkem: there should be a delete button, in the jobset's actions
<{^_^}> [nixpkgs] @timokau opened pull request #88177 → palp: fix hash → https://git.io/JfzIn
<infinisil> pingiun: Did you change the hash?
<pingiun> infinisil: no I did not, but it's on purpose
<pingiun> I wanted to see the hash error to confirm the overlay works
<numkem> clever: just says edit, clone, evaluate
<infinisil> pingiun: If you don't change the hash, Nix won't attempt to refetch the url
<pingiun> infinisil: that makes a lot of sense
<clever> numkem: and if you hit edit?
<numkem> clever: just `apply changes`
<pingiun> infinisil: but it wasn't the problem, set the hash to 000... and still nothing
<numkem> clever: I'm running hydra from the stable 20.03 channel, maybe unstable has that feature?
magnetophon has quit [Read error: Connection reset by peer]
<infinisil> pingiun: Try setting `plexRaw = throw "Nope!"` in the overlay
KeiraT has joined #nixos
<infinisil> Just to check whether it gets evaluated at all
<pingiun> good idea
<numkem> clever: official hydra doesn't have the same version
<clever> numkem: hmmm, yeah, the button is missing for me too, the closest you can do is disable and hide
<numkem> clever: I made a mistake it it's queued all of the emacs overlay packages jobs... it's like 14000+ I want to delete all of that
orivej_ has quit [Ping timeout: 265 seconds]
<pingiun> infinisil: no error, so it doesn't get evaluated
<clever> numkem: you can cancel all jobs in an eval
<pingiun> I have no clue where things go wrong now
<infinisil> pingiun: What if you set `plex = throw "Nope!"`
<numkem> clever: again might be witht the new version as the only 2 options I see are to create a release and another new jobset
<pingiun> infinisil: still nothing
ixxie has joined #nixos
orivej has joined #nixos
<infinisil> pingiun: Did you assign services.plex.package perhaps?
magnetophon has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0f5ce2fac0c (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ade0eba99dd (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
meck has quit [Quit: ZNC 1.8.0 - https://znc.in]
<pingiun> infinisil: did not
<pingiun> but I could use that instead maybe
cfricke has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos
<infinisil> pingiun: What does `nix-instantiate '<nixpkgs/nixos>' -A pkgs.plex` give with the `plex = throw "nope"`?
<tarelerulz2> { boot.loader.grub.enable ,ect } that is wrong right under this { config, pkgs, ... }:
<clever> tarelerulz2: the } must be at the end of the file
<clever> tarelerulz2: it must be { config here }, not { config } here }
<rednaZ5> evanjs: Why is doing backports a thing?
proofofkeags has joined #nixos
<pingiun> infinisil: no error
<evanjs> rednaZ5: one big reason is security issues
<tarelerulz2> { config, pkgs, ... }: then { all the setting , then at the very end of the file }
<clever> tarelerulz2: yes
<tarelerulz2> nope I just did that and it did not work
<evanjs> rednaZ5: so security issues, fixing broken packages that made it into stable release branches, fixing broken download links, etc
meck has joined #nixos
<evanjs> those are a _few_ examples of why backports might be desirable
<tarelerulz2> unexpected ']'
<simpson> rednaZ5: Another is continued compatibility, which can occur at levels of linkage which Nix doesn't understand or handle.
<pingiun> is there some way nixpkgs overlays are ignored from configuration.nix or am I applying the overlay wrong?
<rednaZ5> I guess, I should have asked why are channels a thing.
<infinisil> pingiun: Can't reproduce, this config: https://paste.infinisil.com/toV533mQmw.nix with `nix-instantiate '<nixpkgs/nixos>' --arg configuration ./file.nix -A pkgs.plex` throws an error (as it should)
growpotkin has joined #nixos
numkem_ has joined #nixos
<evanjs> rednaZ5: that's so we can continue to support various releases for a bit so people aren't always on the bleeding edge if they don't want to be. Otherwise we'd just have "master", unless I misread your question
<pingiun> infinisil: I was doing nixpkgs.config.overlays instead of nixpkgs.overlays, that seems to be the crux
<infinisil> pingiun: Oh!
numkem_ has quit [Client Quit]
<infinisil> pingiun: Yeah that's it :)
codygman has joined #nixos
<infinisil> Didn't even notice
<pingiun> infinisil: it was just a misconception on my part because I was doing the allowUnfree in the config
<pingiun> and config accepts arbitrary values
<pingiun> lol
<pingiun> thanks for the help!
<rednaZ5> evanjs: Thanks very much.
drakonis has joined #nixos
jkarni_ has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
leothrix has quit [Quit: ZNC 1.7.5 - https://znc.in]
o1lo01ol1o has joined #nixos
cole-h has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.7]
o1lo01ol1o has quit [Remote host closed the connection]
<tarelerulz2> { config, pkgs, ... }: { boot.loader.grub.enable = true; , etct and there should be an } at the end of the file , I start over
Maxdamantus has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duckfullstop has quit [Quit: Why do you need...?]
Maxdamantus has joined #nixos
zupo has joined #nixos
cjpbirkbeck has joined #nixos
<tarelerulz2> do you say false if you want to turn something off or can you # the whole line?
ixxie has quit [Ping timeout: 265 seconds]
chloekek has joined #nixos
ixxie has joined #nixos
Maxdamantus has quit [Ping timeout: 258 seconds]
cole-h_ has joined #nixos
zupo has quit [Ping timeout: 256 seconds]
cole-h__ has joined #nixos
Maxdamantus has joined #nixos
jkarni_ has joined #nixos
kim0 has joined #nixos
tarelerulz2 has quit [Remote host closed the connection]
cole-h has quit [Ping timeout: 265 seconds]
leothrix has joined #nixos
tarelerulz has joined #nixos
<evanjs> anybody have experience with node2nix w/angular2+ (in this case, 9) projects?
<dsal> When I run a nix-shell, it seems to override my prompt and add newlines in front everything. Where does nix-shell get its prompt definitions?
<evanjs> Getting some errors with TS imports and not sure what's going on...
<gustavderdrache> i have some typescript experience and can help you look at that part at least
<evanjs> well that's the weird bit
<evanjs> it works _fine_ with ng build
jkarni_ has quit [Ping timeout: 258 seconds]
<evanjs> I'll pastebin the error once this `nix build` is "finished" :P
vidbina has quit [Ping timeout: 272 seconds]
<gustavderdrache> did you tell node2nix to include your development dependencies?
<gustavderdrache> last time i tried to build a TS-based project i couldn't get past that part :/
<evanjs> yeah, I had to, or `ng build` wouldn't run at all
<gustavderdrache> hrm
<evanjs> did you use --development or whatever the flag was?
<gustavderdrache> yeah
<gustavderdrache> but then my package had a bazillion extra MB of dev dependencies :\
<evanjs> yeah it's still sort of murky for me. like some of those dev deps need to be in there to build it... lol
tarelerulz has quit [Remote host closed the connection]
dm9 has quit [Quit: WeeChat 2.8]
<gustavderdrache> yeah, that's what they're there for - dev deps is for the typescript compiler, babel, linter, etc.
<evanjs> and why is it always running g++ lol
<gustavderdrache> lol binary modules
<evanjs> ugh
<gustavderdrache> my hunch is sass
<gustavderdrache> (libsass, that is)
<evanjs> it was...
<evanjs> g++ ..... libsass
<evanjs> :P
<gustavderdrache> hah
<gustavderdrache> Pro Tip™: it's always libsass' fault
<gustavderdrache> (somehow)
endformationage has joined #nixos
<evanjs> here we go again... gotta apply #73225 manually...
<{^_^}> https://github.com/NixOS/nixpkgs/pull/73225 (by evanjs, 27 weeks ago, merged): nodePackages."@angular/cli": disable analytics
<evanjs> no clue why non-interactive prompt detection is broken there, though...
<gustavderdrache> usage of the is_there_a_terminal_around_here_somewhere(2) POSIX API?
<dsal> Answering my own question: https://nixos.org/nixos/manual/options.html#opt-programs.bash.promptInit
cole-h__ is now known as cole-h
leungbk has joined #nixos
<gustavderdrache> my guess is that the nix-build session/process has a pseudo-terminal hooked up to it
<evanjs> there it is, ty. Code nav isn't on for this repo and I am le tired :D
<evanjs> Yeah probably
<evanjs> I should open an issue on... nixpkgs? for that
<evanjs> idk, the workaround is hacky and it doesn't work everywhere
<evanjs> it only seems to fix it in `nixos-rebuild` and `nix-env` afaict
<leungbk> I wrote a recipe for a manual Emacs package just now and found myself repeating the same inputs in buildInputs and in propagatedUserEnvPkgs. Is there a way to only write them once? http://paste.debian.net/1147656
<leungbk>
proofofkeags has quit [Remote host closed the connection]
<gustavderdrache> probably safer to use the more targeted analytics-disabling env var since that check may or may not remain in angular cli as it matures and learns what pipes are
<gustavderdrache> yeah i went there
<leungbk> When I put the inputs only in buildInputs, the package wouldn't work at runtime
<evanjs> leungbk: yah one sec
wnklmnn has quit [Quit: Leaving]
<evanjs> something like this
<evanjs> untested lol
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<leungbk> evanjs: Thanks!
user_0x58 has joined #nixos
MmeQuignon has joined #nixos
<adisbladis> leungbk: lpy is in melpa, so why make your own package?
rednaZ5 has quit [Quit: ERC (IRC client for Emacs 26.3)]
<evanjs> you can check for them with nix-env -qaPA nixos.emacsPackages (or nixpkgs.emacsPackages if you're not running NixOS)
<leungbk> adisbladis: Oh, I didn't realize that. I had wanted to write a Nix recipe for it a while ago back when it wasn't in melpa but didn't get around to testing the recipe till today.
<evanjs> as they don't appear in `nix search` results unless you tweak some things in your configuration...
floscr has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<T0pH4t> if i have a custom pkg that does a fetch from git, does nix need to always hit that git repository regardless of whether that binary is in a binary cache?
<dsal> How can I debug this? -- warning: warning: unable to download 'https://nixos.org/channels/nixos-20.03': Problem with the SSL CA cert (path? access rights?) (77); using cached result
alp has quit [Remote host closed the connection]
<dsal> `nix-channel --update` fails for me with the above error.
<adisbladis> leungbk: Fair enough :)
alp has joined #nixos
turion has joined #nixos
<floscr> When I start my session an xterm window opens, when I close that, the session get's killed and I'm back on the login screen?
<floscr> I've changed some setting while refactoring a while ago, anyone an idea what it was?
orivej_ has joined #nixos
orivej has quit [Read error: Connection reset by peer]
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
philr has quit [Ping timeout: 272 seconds]
proofofkeags has joined #nixos
evanjs has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
camsbury has joined #nixos
<dsal> Well, nix is broken for me. curl can access those urls, but not nix-prefetch-url
floscr has quit [Remote host closed the connection]
floscr- has joined #nixos
teto has quit [Ping timeout: 244 seconds]
camsbury has quit [Remote host closed the connection]
ris has joined #nixos
<srhb> dsal: Is this on NixOS? Have you fiddled with the cert bundle? Is your system time okay?
<dsal> srhb: This is nix on os x. My nixos box is fine. :/
<srhb> dsal: Daemon or single-user?
<dsal> I don't know the difference. default?
<evanjs> lassulus: yeah qemu-img does like everything
<evanjs> I think all I need is to figure out how I can bundle it in an OVA, now
<evanjs> I see like... three references to that in nixpkgs lol
<srhb> dsal: I assume it's single user, though I don't know that for sure on OS X. Try pointing nix at the same cert bundle your system curl uses: https://nixos.org/nix/manual/#sec-nix-ssl-cert-file
<dsal> Ah, thanks. I don't know what the system uses, but I had a bundle lying around that got it moving
duckfullstop has joined #nixos
<dsal> Where does nix-shell get its environment? I can't figure out how it could be getting a newline at the beginning of PS1.
<T0pH4t> is there a way to print out when a derivation will be built and not used form cache?
<T0pH4t> print out why*
<srhb> T0pH4t: Not in general. The answer is always the generic "because it's not in the cache"
<T0pH4t> well it doesn't even say that
<srhb> T0pH4t: The way nix determines what to try and fetch is to compute the final hash of the package, and then check if the cache has it.
<T0pH4t> i mean i know its there cause i put it there
<srhb> T0pH4t: Ah, it's your cache?
<T0pH4t> but i built on one system and want to use it on another. They should be compatible, but apparently are not? So i'd like to triage why
<T0pH4t> yeah a private cache in s3 that i pushe bins to and then use in vms
<srhb> T0pH4t: nix-instantiate the expression on each system
<srhb> T0pH4t: use nix-diff to compare the resulting drv files
<T0pH4t> that just givs me drv file
<srhb> Each diffence is the cause of the mismatch.
<T0pH4t> what would i even be looking for in there?
<srhb> Any difference at all.
<T0pH4t> like the /nix/store/<hash>, will has be the same on any machine assuming the inputs are the same
<T0pH4t> or our hashes unique per machine
<srhb> T0pH4t: Yes, and the inputs are the same if the drvs are the same (and vice versa)
<T0pH4t> ok so the entire pkg name including hash should match cross machine and else wise there is a difference?
<srhb> T0pH4t: So first check that the inputs are indeed the same
<srhb> T0pH4t: Yes.
floscr- has quit [Remote host closed the connection]
<T0pH4t> ok thx, is there enough info in drv to figure out why a hash changed, eg like system params?
<srhb> T0pH4t: It depends on the derivation how clear it is, but usually yes.
<dsal> It looks like the nix-shell PS1 is hard-coded... That's unfortunate.
<T0pH4t> ok thx alot
<srhb> T0pH4t: And again, nix-diff is really useful to pin-point the differences.
orivej has joined #nixos
<T0pH4t> ok, will give that a shot
orivej_ has quit [Read error: Connection reset by peer]
tarelerulz has joined #nixos
johnnyfive has quit [Ping timeout: 256 seconds]
<tarelerulz> this is like 5 times now , does efi work? You flow , what the manual says and does not work . building the configuration in /mnt/etc/nixos/configuration.nix...error: syntax error, unexpected ID, expecting '.' or '=', at /mnt/etc/nixos/configuration.nix:69:11
<tarelerulz> that I think is the default setting
<srhb> tarelerulz: You have a syntax error. Perhaps you can pastebin what you have, and we can help you find it.
<{^_^}> [nixpkgs] @veprbl merged pull request #76994 → Agda cubical → https://git.io/JejLE
<{^_^}> [nixpkgs] @veprbl pushed commit from @ryanorendorff to master « agdaPackages.cubical: init at 0.2 (#76994) »: https://git.io/Jfzmg
<tarelerulz> I starting to wonder if something not mess up , in the file itself for my set like , nixos does not work for me .
johnnyfive has joined #nixos
rednaZ5 has joined #nixos
cfricke has joined #nixos
<srhb> tarelerulz: Sorry, I'm having a hard time following what you're saying. You pasted an error message. That error message indicates you made a syntax error in configuration.nix. We can help you find it if you share your file online.
camsbury has joined #nixos
evils has quit [Quit: Lost terminal]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6d035a9d10d (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<camsbury> hi there - on a thinkpad P50, trying to boot into a fresh nixos install, but I get kicked back into the boot menu immediately
<tarelerulz> It all the default, that is why I'm lost
<srhb> tarelerulz: You're missing a # on the very first line for one
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evils has joined #nixos
<rednaZ5> I need a single package from nixos-unstable. What is best practice to achieve that? Am I right to assume that simply adding nixos-unstable as an additional channel will cause "$ nix-env -u" to replace all my packages with unstable ones? I would try it and I am currently but accessing packages by their name is currently taking about twenty minutes. (I am not sure if that has always been the case.)
<tarelerulz> [ # Include the results of the hardware scan.
<T0pH4t> does the nixos channel eg 20.03 just point at the nixpkgs repo tagged 20.03?
<srhb> T0pH4t: Not "just" -- but yes, the nixos-20.03 branch is updated to point at the tested commit when the 20.03 jobs succeed.
<srhb> T0pH4t: (in reality the "raw" branch is called release-20.03 and it's "promoted" to nixos-20.03 when the tests for that release branch succeeds)
<T0pH4t> srhb: ok cool, I'm assuming there is like a 20.04 if changes get made?
<srhb> Nope.
<srhb> 20.03 just gets bumped
<T0pH4t> oh so the commit its associated with changes?
<srhb> Yes. Not a tag, a branch.
<T0pH4t> ok.. so i should point at release branch if i have checked out the repo to a priv dir and use a nix path against it?
<srhb> rednaZ5: You can have multiple channels without nix-env -u grabbing whatever is "newest" from another branch, but I forget the mechanism. And going by name is pretty much broken at this stage, always use -iA channel.thing
yimmy149 has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
<srhb> T0pH4t: No, the release branch (release-20.03) is untested. You should generally use the one called nixos-20.03
<T0pH4t> srhb: ok thx
<tarelerulz> sudo rm configuration.nix sould remove the config file , on the nixos install mount right?
magnetophon has joined #nixos
<srhb> tarelerulz: You mean rm /mnt/etc/nixos/configuration.nix ? Yes.
gxt has joined #nixos
<numkem> I've got nix running on ubuntu and I'm trying to use it as a build machine for hydra. When hydra runs a build on it I get `error: you are not privileged to build derivations` as an error. I've looked at nixpkgs for issues related to this error message and I'm finding nothing
<tarelerulz> I started the file over , can it run like that for an efi system?
<symphorien> numkem: you must be a trusted user probably
<symphorien> See the manual page of nix.conf
<numkem> symphorien: that's what i think but it's not clear in the man page, i'll try that
<srhb> tarelerulz: If you generated the file with nixos-generate-config _and_ you're booted in efi mode, I believe it's generated with boot.loader.systemd-boot.enable = true -- so yes
<rednaZ5> srhb: Thanks. So what is your best practice recommendation? Would it be too crazy to clone the nixpkgs-channels repository and point the "--file" option at it whenever I want to update that single unstable package?
<tarelerulz> nixos-install can you just type that or do you need sudo?
teto has joined #nixos
<srhb> rednaZ5: I do that quite happily for the few packages I manage imperatively.
<srhb> rednaZ5: For everything else I import whatever nixpkgs I need from inside the expression itself.
pingiun has joined #nixos
<{^_^}> [nixpkgs] @turion opened pull request #88180 → rhine, rhine-gloss: Remove broken marker → https://git.io/JfzYm
<srhb> tarelerulz: I think you need sudo. The installer used to run as root, the manual might not have been updated to account for that.
<srhb> tarelerulz: actually it has. Every command with # in front of it should be run with sudo.
<srhb> (from the manual)
<tarelerulz> what if I want to add KDE to this?
<srhb> tarelerulz: There's a comment in the generated file with two lines related to KDE
<rednaZ5> srhb: Thanks.
rednaZ5 has quit [Quit: ERC (IRC client for Emacs 26.3)]
<srhb> tarelerulz: If you add those lines in (by removing the #) you'll get KDE
drakonis1 has quit [Ping timeout: 246 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<tarelerulz> what about x11 settings?
<elvishjerricco> So I'm using `nix build -f "<nixpkgs/nixos>" vm`, and I want to simulate the passage of time in that VM. I'm gonna test out sanoid/sync and I need to see how things work as hours and months go by
<elvishjerricco> How would I do that?
morgrimm has quit [Ping timeout: 256 seconds]
<elvishjerricco> sanoid/syncoid*
magnetophon has quit [Read error: Connection reset by peer]
orivej has joined #nixos
cfricke has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @Gerschtli opened pull request #88181 → dwm-status: 1.6.4 -> 1.7.0 → https://git.io/JfzYB
<tarelerulz> I ran the whole install thing did the password and all , Can I edit the config file and do the install over ?
<srhb> tarelerulz: Yes.
morgrimm has joined #nixos
<srhb> tarelerulz: And regarding arbitrary settings, start by searching here for relevant keywords: https://nixos.org/nixos/options.html#xserver
<srhb> tarelerulz: If you don't find it there, ask here and explain specifically what you're looking to configure.
magnetophon has joined #nixos
<tarelerulz> do you need x11 for KDE?
<tarelerulz> never set up KDE before
ramses_ has quit [Quit: Connection closed]
<tarelerulz> at all
non has quit [Remote host closed the connection]
<tarelerulz> I get mostly stuff like Ubuntu
<adisbladis> Technically no, on NixOS currently yes.
<srhb> adisbladis: I think the question is a bit simpler than what you're getting at :-)
magnetophon has quit [Read error: Connection reset by peer]
<srhb> tarelerulz: The displayManager or plasma setting will imply enough of x11 to get you running, you shouldn't need to explicitly do anything barring weird hardware setups or whatnot.
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88182 → libfabric: 1.10.0 -> 1.10.1 → https://git.io/JfzYr
magnetophon has joined #nixos
<tarelerulz> it looks like its working
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cole-h> adisbladis: How do you deploy your local machine with nixops? (e.g. what commandline do you use)
magnetophon has quit [Read error: Connection reset by peer]
<tarelerulz> now that I'm not some how adding wrong * or what ever it seem like this is a good set up
<cole-h> Getting ready to start messing with it
<adisbladis> nixops deploy --include laptop
orivej_ has joined #nixos
<tarelerulz> You guys are a very good help
<morgrimm> nixops doesn't support flake configs yet, does it?
<adisbladis> Nope
<morgrimm> Damn
<cole-h> adisbladis: As long as the IP is the same, there's no need to explicitly specify `localhost` anywhere, right?
orivej has quit [Ping timeout: 260 seconds]
tarelerulz has quit [Remote host closed the connection]
magnetophon has joined #nixos
<adisbladis> morgrimm: There is this PR https://github.com/NixOS/nixops/pull/1202 which we need to extract some goodness from for that
<{^_^}> nixops#1202 (by edolstra, 32 weeks ago, open): [WIP] Flake support
<adisbladis> cole-h: Set deployment.targetHost to something sensible like localhost or 127.0.0.1
chloekek has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
<cole-h> adisbladis: I see your config has it set to `192.168.0.44` -- what I was really asking is: "as long as the address in configuration.nix is the same as the targetHost, it should Just Work™," right?
bridge[evilred] has quit [Remote host closed the connection]
proofofkeags has quit [Remote host closed the connection]
<evanjs> lassulus: okay, dumb question -- what's the easiest way to evaluate stuff (e.g. with `nix eval`) on something generated by nixos-generate?
proofofkeags has joined #nixos
<evanjs> I might be thinking about this backwards or something
<lassulus> not sure what you mean
o1lo01ol1o has quit [Ping timeout: 272 seconds]
bridge[evilred] has joined #nixos
red[evilred] has joined #nixos
o1lo01ol1o has joined #nixos
mog has quit [Ping timeout: 265 seconds]
<evanjs> lassulus: like if I want to realise the configuration for a vm and then check stuff out like I normally would with nixos-option, etc
alp has quit [Remote host closed the connection]
<lassulus> oh, hmm, well just start it in a vm-nogui? :D
<Raito_Bezarius> evanjs: nix-instantiate?
alp has joined #nixos
mog has joined #nixos
<Raito_Bezarius> nixops dos some stuff where it instantiates conf then parse it in Python (?) or does the inverse thing, python stuff to nix code
<Raito_Bezarius> does*
<evanjs> lassulus: holy crap I am tired. Was passing vm to -f and wondering if I could do headless
<evanjs> omg I am behind on sleep :D
<evanjs> Raito_Bezarius: yeah that too. I tried to instantiate it but it just output the paths for the vm stuffs
bqv has quit [Ping timeout: 240 seconds]
turion has quit [Ping timeout: 272 seconds]
<Raito_Bezarius> nix-instantiate --eval --json ?
<Raito_Bezarius> > -eval
<{^_^}> value is a function while an integer was expected, at (string):310:1
<Raito_Bezarius> Just parse and evaluate the input files, and print the resulting values on standard output. No instantiation of store derivations takes place.
<Raito_Bezarius> oops sorry {^_^}
bqv has joined #nixos
jkarni_ has joined #nixos
orivej_ has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<T0pH4t> curious if anyone knows, but why does nix need to access github if a package has a binary in a remote cache? Like what other imformation does it need thats not already listed in the source info?
erasmas has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88183 → libmypaint: 1.6.0 -> 1.6.1 → https://git.io/JfzOC
<srhb> T0pH4t: It needs to evaluate the nix expression to create the drv which in turn knows the hash of the package
<T0pH4t> srhb, it can't just look at the attributes and avoid fetch?
<srhb> T0pH4t: Uh, sure. Which package are you actually talking about?
teto has quit [Ping timeout: 252 seconds]
<srhb> T0pH4t: If the expression is all local no access should be required to create the drv.
<T0pH4t> well like if you have buildtins.fetchGit { url =..., rev = "..." }
<T0pH4t> that information doesn't give you a unique identifier for src code?
<srhb> T0pH4t: builtins.fetchGet is actually potentially impure.
<srhb> Well, I guess not with "rev"
<T0pH4t> wel lif its executes the fetch I would expect to it do. But i would think it would only fetch if it has to build the pkg
<srhb> T0pH4t: It doesn't know beforehand though. But eval time fetchers can be confusing in that regard.
<T0pH4t> doesn't know what? are you saying that it execute the fetch regardless and then afterwards only builds it if can't find an alrdy built binary?
<srhb> T0pH4t: Contrast with eg fetchurl and friends where you specify the output hash
<T0pH4t> ah so its going to generate a hash ?
<T0pH4t> i mean in theory git hash should be unique to the code, but i guess u can't guarantee that...
seku has joined #nixos
<srhb> T0pH4t: I may have to look up how this exact function behaves to be sure I'm not telling you lies, but your expectation would be right with _normal_ fixed output derivations
<srhb> T0pH4t: That is, things like fetchurl and fetchTarball
<srhb> T0pH4t: Because the hash is known beforehand, we can simply look 1) in the store 2) in the cache, and only 3) fallback to fetching online
<T0pH4t> right since thats have file hash.
<T0pH4t> hmmm so reve can't replace the hash i guess
<T0pH4t> ok thx srhb
<{^_^}> [nixpkgs] @Ma27 merged pull request #88150 → ipscan: 3.7.0 -> 3.7.1 → https://git.io/JfuPL
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfzOE
<srhb> I feel like that must be the case (but it sort of should be able to if we can promise that git works. But can we?)
<T0pH4t> i'm not sure that we can...
<T0pH4t> i'm not sure the expected behavoir of git will ensure u always get a unique rev for every code change
<T0pH4t> at least not till they switch their hashing mechanism (which is in progress i think)
<{^_^}> [nixpkgs] @Lassulus merged pull request #87693 → minetest: 5.1.1 -> 5.2.0 → https://git.io/Jf8MV
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfzOu
<srhb> I mean we probably have bigger problems if it doesn't, but then again, it's a moral decision on the part of Nix. And I forget how exactly it's handled
agsdheidjd has quit [Ping timeout: 265 seconds]
<hpfr[m]> with builtins.readDir you can filter out directories but is there an easier way to filter on a file extension than builtins.match?
Jackneill has quit [Ping timeout: 258 seconds]
<T0pH4t> if i give it the sha256 tho it should defer the fetch tho i think?
<T0pH4t> guess I hsould try
<srhb> T0pH4t: I don't think builtins.fetchGit supports that. If it did, yes, that would work
<evanjs> Raito_Bezarius: mrm it basically just makes a system output (like what you'd see linked to /run/current-system). idk if I can actually get this out after the fact
alp has quit [Ping timeout: 256 seconds]
<T0pH4t> nope :/ damn
<srhb> T0pH4t: If you're not fetching from a private repo, just don't use that function.
<{^_^}> [nixpkgs] @Ma27 merged pull request #88157 → keepass: 2.40 -> 2.45 → https://git.io/Jfuyk
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfzOV
<T0pH4t> well i am, thats the problem lol
<srhb> T0pH4t: Ah well.
<srhb> T0pH4t: Then you must suffer. :-)
<T0pH4t> its inside a vm too, so i was trying to avoid having to copy ssh keys into it
linarcx has quit [Ping timeout: 246 seconds]
jkarni_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88184 → liquibase: 3.8.9 -> 3.9.0 → https://git.io/JfzOo
cosimone has quit [Quit: Terminated!]
erasmas has joined #nixos
<typetetris> If I create a user just to run a service as this user, does it need to have a shell set? (su didn't work without shell)
magnetophon has quit [Read error: Connection reset by peer]
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #87715 → maxx: drop → https://git.io/Jf4fw
<{^_^}> [nixpkgs] @veprbl pushed commit from @gnidorah to master « maxx: drop (#87715) »: https://git.io/JfzOy
<srhb> T0pH4t: Right, took a look. It looks like builtins.fetchGit relies solely on the ~/.cache/nix caches to determine whether it needs to re-fetch
<{^_^}> [nixpkgs] @Ma27 merged pull request #88124 → cutelyst: 2.10.0 -> 2.11.0 → https://git.io/Jfu4Q
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfzOQ
<srhb> T0pH4t: So indeed it does not behave like fixed-output drvs, but must first fetch to compute the store path.
agsdheidjd has joined #nixos
<T0pH4t> make sense :/ might need a feature request for this. This would be a security concern for prod machines
<T0pH4t> if a company has private pkg repo and they need to update prod boxes, they don't want to be giving access to git on those boxes
<T0pH4t> so the only option is to tarbal ur bins and then use that as the package source. But that means you have to maintain to pkgs for ur stuff
<srhb> T0pH4t: Hmm, not sure how git itself is a concern here.
<T0pH4t> well nix will have to hit git to determine sha
<srhb> T0pH4t: You can always wrap your fetchGit'ed thing in another fixed output drv.
<T0pH4t> which means ur prod machines have to have git access
<pikajude> what's the correct way to use `nix-store --add-root` with a store path that already exists?
<T0pH4t> srhb: meaning?
Jackneill has joined #nixos
<numkem> is it possible to import something from a string? Namely something that is a variable with a string appened to it?
<{^_^}> [nixpkgs] @timokau merged pull request #88177 → palp: fix hash → https://git.io/JfzIn
<evanjs> lassulus: *builds with virtualbox*
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JfzOh
<evanjs> oh look. an ova file. just what I needed XD
<pikajude> numkem: you mean like an eval?
<pikajude> or do you have a string that points to a filepath?
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl merged pull request #87761 → ocamlPackages.textutils: remove at 112.17.00 → https://git.io/Jf4i8
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.textutils: remove at 112.17.00 »: https://git.io/JfzOj
<numkem> pikajude: I'm doing buitins.fetchTarball <url> and that returns me the path in the nix store. Now I want to add the path to the file I want to import (a .nix file)
<pikajude> so you want to import a file that is inside the tarball?
<numkem> yup
<pikajude> you could just use import ((builtins.fetchTarbal {...}) + "/my-nix-file.nix)
<pikajude> coercing a derivation to a string results in a string representing its out path
<pikajude> (i think that's right, i haven't tested it)
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #88184 → liquibase: 3.8.9 -> 3.9.0 → https://git.io/JfzOo
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/Jfz3k
o1lo01ol1o has joined #nixos
<numkem> the darn (), I keep forgeting about those
shafox has quit [Remote host closed the connection]
noudle has joined #nixos
<numkem> pikajude: it's telling me it can't call something that isn't a fuction but a path (I'm in repl so I took the (builtins.fetchTarball ...) and put it in a variable already)
<pikajude> oh, what does it print when you just type the variable name?
<numkem> pikajude: the path in the nix store
<pikajude> ok
<pikajude> try
<numkem> doing an ls on it has the content of the tarball
<{^_^}> [nixpkgs] @bbigras opened pull request #88185 → zenith: 0.8.2 -> 0.9.0 → https://git.io/Jfz3m
alp has joined #nixos
<pikajude> import "${var}/path/to/file.nix"
<pikajude> that error could also be coming from the code that's inside *that* nix file
tarelerulz1 has joined #nixos
<numkem> doing that without the calling { } gives a lambda, doing it with gives the same error, it's not a function but a path
<pikajude> what is the calling {}
<pikajude> i'm not sure what you mean
<tarelerulz1> I removed # for sound and does not work at all , devices don't even show up
<numkem> well when i do import "..." { closure }
<pikajude> oh
<pikajude> with just the import and the filepath, what does the repl print out?
<numkem> pikajude: what I'm trying to do is import the package definition of https://github.com/nix-community/emacs-overlay/blob/master/hydra/emacsen.nix into a variable to put it in my hydra jobset
<numkem> pikajude: it gives a lambda
<pikajude> oh ok
<pikajude> what argument are you passing it
<pikajude> can you paste your code maybe
<numkem> { inherit nixpkgs } (nixpkgs was previously imported in a variable)
<pikajude> oh
<numkem> I don't have code right now, just trying to make it work in the repl
cantstanya has quit [Remote host closed the connection]
<pikajude> line 3 of that code requires that `nixpkgs` is a path
<pikajude> is your nixpkgs a path or is it a set of packages
<evanjs> lassulus: ....... omfg. I think `-f azure` is the other thing I needed
<evanjs> soo.... now we have vbox and hyperv covered. I guess the terms just threw me off XD
<numkem> pikajude: I think I imported nixpkgs without the closure so now it seems better, I'm getting an error from wihtin the file
<{^_^}> [nixpkgs] @Ma27 merged pull request #87486 → sdate: 0.5 -> 0.6 → https://git.io/JfWR7
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jfz3R
<tarelerulz1> https://nixos.wiki/wiki/PulseAudio , its says add this nixpkgs.config.pulseaudio = true; does not say where at all?
<numkem> maybe I don't have to do it with that file
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88186 → micronaut: 1.3.4 -> 1.3.5 → https://git.io/Jfz3u
noudle has quit []
<numkem> pikajude: it works without using that file but doing it manually by applying the overlay to my nixpkgs import
<numkem> pikajude: thanks!
chiastre has quit [Remote host closed the connection]
chiastre has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #87530 → teamspeak_client: update to 3.5.3 → https://git.io/JfWMj
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/Jfz3S
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88187 → mill: 0.6.2 -> 0.7.1 → https://git.io/Jfz3H
<{^_^}> [nixpkgs] @dnaq opened pull request #88188 → unifiStable: 5.12.66 -> 5.12.72 → https://git.io/Jfz3Q
<bbigras> Anyone has an idea why this build fails? `error: linker `aarch64-linux-gnu-gcc` not found` https://logs.nix.ci/?key=nixos/nixpkgs.88185&attempt_id=06cccd5a-9ad3-4b62-8c54-47f442e5c892
tarelerulz1 has quit [Remote host closed the connection]
<numkem> pikajude: I spoke too soon, while the code works in repl, it doesn't in hydra. It says it can't reach the URL in restricted mode. that fetch is done in the `let` portion... Not sure how else I can do it
knupfer1 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88189 → minder: 1.7.3 -> 1.8.0 → https://git.io/Jfz3p
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<srhb> numkem: IFD is normally disallowed in Hydra. Your imports must all be on hydra inputs.
<srhb> numkem: Unless you want to lift that restriction (which comes with Consequences)
<numkem> srhb: duh, I totally forgot about that, I could just import it the same way. thanks :) I'm starting to get the hang of it after 24 horus
<srhb> T0pH4t: What I said made no sense. But you may be interested in the libfetchers work on nix master
m4ts has quit [Quit: bye]
<srhb> numkem: It's an annoying but sensible restriction, unfortunately. :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88190 → minify: 2.7.3 -> 2.7.4 → https://git.io/JfzsL
<T0pH4t> ok, i'm thinking i can hack this a bit, but having a flag that determines if the package should fetch a tarball with the sha256 specified or use github, only the url for the tarball will be bogus, the idea being the sha256 will enable the binary cache to work
<srhb> T0pH4t: Scary :3
tyang has joined #nixos
<T0pH4t> i did say hack lol
<numkem> srhb: I totally agree, it's just a bad habit to break
<T0pH4t> i think having to maintain two separate pkg repos is worse, and I'm not going to give prod machines access to source
<srhb> T0pH4t: I've been in your shoes, I ended up mirroring in the repo for local access through Other Means.
<T0pH4t> srhb: i see, well thx for help
<tyang> Hi! Recently I have upgraded from 19.09 to 20.03. Everything works fine except I can no longer switch to different virtual console using ctrl + alt + n, when I'm in X or wayland session. Could someone give me a hint what has changed?
<srhb> tyang: Hrm, haven't seen anything related to that (nor do I have that issue). Does sudo chvt 2 work?
<cjpbirkbeck> tyang: by n, you mean F{1-7}, right? i also upgraded, and i haven't that problem. what de/wm/wayland compositors are you running?
<tyang> srhb: yes chvt works
<srhb> tyang: Then I guess we should suspect something intercepting your keypresses
<tyang> cjpbirkbeck: you are right, sorry for the typo. I meant F[1-7]
<srhb> tyang: So what desktop environment are you using?
<dsal> Is there a way to install a newer version of a package than my distro has? I see that nixos-20.03 has an old version of a thing, but nixpkgs-unstable has a newer version.
magnetophon has quit [Read error: Connection reset by peer]
<dsal> Actually, not even necessarily install, just nix-shell at a newer version.
opthomasprime has joined #nixos
<srhb> tyang: (And just to be certain, does your system have a Fn-lock key? It might interfere)
<tyang> srhb: I'm using sway for wayland and xmonad under x (started with startx)
<dsal> Oh hey, a FAQ
magnetophon has joined #nixos
<srhb> dsal: nix-shell -I nixpkgs=channel:nixpkgs-unstable -p package
<dsal> Thanks, that's great.
<dsal> This is a lot nicer than what the FAQ says. :)
<srhb> tyang: I know nothing about wayland, but I'm guessing the fact that it happens in both(?) embiggens my suspicion to your keyboard and lessens it to your DE.
<srhb> dsal: Time for an update? :)
<dsal> from 20.03?
user_0x58 has quit [Quit: Leaving]
<srhb> dsal: Sorry, I meant the FAQ.
<tyang> srhb: Yes it happens in both. I'm using a lenovo T470s. I have flipped ctrl and fn in BIOS. I have noticed that in virtual console, I need to press fn (should be actually ctrl in BIOS setting) + alt + F[1-7] in order to switch between console.
<dsal> Oh, the FAQ... Yeah. I think it's probably valid, but your suggestion is exactly what I want for this case.
<srhb> tyang: try fn+ctrl+alt+f1 :P
<tyang> srhb: In x / wayland session I have tried both fn and ctrl, none of that works :/
<dsal> No space left on device!
* dsal runs regret command
<srhb> dsal: no such file or command
<dsal> hahaha
<tyang> srhb: hmm... fn+ctrl+alt+f1 works!
<srhb> tyang: It's a miracle. :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88191 → moosefs: 3.0.112 -> 3.0.113 → https://git.io/Jfzsg
<dsal> nix-collect-garbage on nixos isn't so bad. On my mac, it'd be a bit devastating as it seems to want to build ghc for some of my projects.
<cole-h> By setting `users.users.root.hashedPassword = null;`, password logins will be disabled for root, correct? Even for ssh?
vidbina has joined #nixos
<srhb> cole-h: Only if you have mutableUsers false, iirc
<srhb> dsal: Root everything you keep around
<infinisil> cole-h: Probably also needs services.openssh.permitRootLogin
<dsal> Yeah, I guess I need to figure that out. There are a few levels of indirection. Can I just make a stack project a root of some sort?
o1lo01ol1o has quit [Remote host closed the connection]
<cole-h> And mutableUsers set to false just means I can change my password/groups/etc by modifying configuration.nix, right?
<srhb> cole-h: With mutableUsers on (default), passwd will still work.
m4ts has joined #nixos
<srhb> dsal: I don't know how stack + nix works, but you can root the ghc you're using by its path.
<cole-h> infinisil: Well, I want root logins via SSH, but only with a key, so the current `prohibit-password` is fine, I think.
* infinisil nods
<tyang> srhb: I think you are right, it's fn-locked, but there's no LED indicator for fn lock. Sorry for the trouble and thanks for the help!
<srhb> tyang: No problem. :)
<dsal> srhb: how do you typically do something like that? I guess I could shove the package in home-manager or something.
<dsal> Im' not even entirely sure what it *is*. stack just implies some ghc package that comes about.
<srhb> dsal: That would be the probably nicer way. The primitive way is to point nix-store --add-root directly at the store path you want to keep
<srhb> dsal: Do a long build and find its location in `top` :-P Engage the bodge!
gxt has quit [Ping timeout: 240 seconds]
magnetophon has quit [Read error: Connection reset by peer]
<dsal> I only really want to keep it as long as I have projects that need it. But maybe that's reasonable. My computer can spend some time correcting my mistake if I'm wrong. :)
ssk has joined #nixos
<srhb> dsal: I totally agree that a proper expression is the way to go. ;)
o1lo01ol1o has joined #nixos
<srhb> dsal: I bet you can have stack run ghc from a given nix expr that you could root.
<srhb> dsal: The manual probably has more information.
<{^_^}> [nixpkgs] @Ekleog merged pull request #84521 → bcompare - 4.3.2.24472 -> 4.3.4.24657 → https://git.io/JvAO8
<{^_^}> [nixpkgs] @Ekleog pushed commit from @privateseabass to master « bcompare - 4.3.2.24472 -> 4.3.4.24657 (#84521) »: https://git.io/JfzsF
magnetophon has joined #nixos
<dsal> My current nixos level == nixos is just linux. nix is os x with a better homebrew.
<dsal> I don't quite get how roots might even come and go.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88192 → mullvad-vpn: 2020.3 -> 2020.4 → https://git.io/Jfzsx
<srhb> dsal: *gasp*
rardiol_23 has joined #nixos
<{^_^}> [nixpkgs] @Ekleog pushed commit from @privateseabass to release-20.03 « bcompare - 4.3.2.24472 -> 4.3.4.24657 (#84521) »: https://git.io/JfzGe
<srhb> dsal: Don't worry too much about it if it's not a huge pain. Normally all the rooting happens by way of profile lifetimes.
<{^_^}> [nixpkgs] @tnias opened pull request #88193 → usbguard 0.7.6 -> 0.7.7 + systemd service update → https://git.io/JfzGT
rardiol_23 has quit [Client Quit]
<ssk> Hi, I'm trying to build a package on my x86 machine for an arm machine using qemu. These instructions [1] seem to be aimed at NixOS users, which I am not. 1: https://nixos.wiki/wiki/NixOS_on_ARM#Compiling_through_QEMU
<{^_^}> [nixpkgs] @Ma27 pushed to master « fd: 8.0.0 -> 8.1.0 »: https://git.io/JfzGL
<dsal> The ghc build thing is kind of a pain. I don't have a good mental model of what a root should look like, though.
<infinisil> ssk: They aren't aimed at nixos users no. All you need is a Nix installation
<ssk> oh neat!
<ssk> I *think* this command is what they're asking to run `nix-build -K -E '(import <nixpkgs> {}).gfortran' --argstr system aarch64-linux` but it seems to just pull from my cache
tsrt^ has quit [Ping timeout: 240 seconds]
<srhb> dsal: At its most basic level a gc root is a link from /nix/var/nix/gcroots to a store path
<ssk> I'm not sure what the `-I nixos-config=/path/to/target/machine/nixos/config/copy` part should be for me
<srhb> dsal: Its existence prevents the store path from being deleted.
<srhb> (by garbage collection) that is
magnetophon has quit [Read error: Connection reset by peer]
<srhb> dsal: When you eg. nix-build some expression, you've probably seen a result symlink
<dsal> Oh yeah. That's what that is?
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<srhb> dsal: Usually, a so-called indirect gc root is created for result symlinks. That is, there's a link in gcroots to your result symlink (and in turn to the store path)
<srhb> dsal: Once the chain is broken (eg. you delete result) there's no longer a root from gcroots to the store path, and the thing can freely be gc'ed
<srhb> That's basically it.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88194 → mutagen: 0.11.2 -> 0.11.4 → https://git.io/JfzGV
magnetophon has joined #nixos
<infinisil> ssk: I'm not sure why it tells you to build packages like that. I think `nix-build '<nixpkgs>' -A theRequiredPackage --argstr system aarch64-linux` should work too
<emily> ssk: if the package was built and is in the cache then it'll be downloaded from there rather than recompiled locally
<infinisil> I admit that I haven't fully read through the page, but all nix commands except `nixos-rebuild` work on non-NixOS as well
<dsal> srhb: OK, thanks. I think I see what's happening here.
<{^_^}> [nixpkgs] @petabyteboy merged pull request #86291 → qemu: 4.2.0 -> 5.0.0 → https://git.io/Jfmj7
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @chkno to staging « qemu: 4.2.0 -> 5.0.0 »: https://git.io/JfzZe
<dsal> collecting garbage...
<{^_^}> [nixpkgs] @Lassulus merged pull request #87498 → smplayer: 19.10.2 -> 20.4.2 → https://git.io/JfW2G
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfzZL
* dsal had 2500 store paths deleted, 10236.31 MiB freed
zupo has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #88146 → mame: 0.220 -> 0.221 → https://git.io/JfuK1
<{^_^}> [nixpkgs] @veprbl pushed commit from @gnidorah to master « mame: 0.220 -> 0.221 (#88146) »: https://git.io/JfzZO
<ssk> thanks emily and infinisil, I ran `nix-build '<nixpkgs>' -A pkgs.gfortran --argstr system aarch64-linux` and it seemed to build something. I wonder if `aarch64-linux` is actaully the system I want though. I'm trying to build for a raspberryPi, should I go into `systems.examples.raspberryPi` and pull that system string instead?
<infinisil> ssk: Ah try `pkgsCross.raspberryPi.gfortran` instead then
<infinisil> for the attribute
<infinisil> Probably without the --argstr system
vidbina has quit [Ping timeout: 260 seconds]
<ssk> ah, but I don't want to cross compile I want to use emulation (because I've tried cross compiling and run into some errors)
<dsal> srhb: woo. Worked. I did a gc, removed my .stack-work, did a 'stack test' and a few downloads later, got results.
<srhb> woo.
<infinisil> ssk: Hm I see, not sure if the raspberryPi thing is needed then
<infinisil> But really, I don't know much about different platform building
<ssk> right, I just want to make sure I;m targeting the right architecture. I'll try to run the package I just build on the pi and see
<ssk> thanks!!
<infinisil> I'd just see where the pkgs.gfortran build goes
zupo has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @ruuda opened pull request #88195 → libressl: add 3.1.1, default to it, remove 2.9 → https://git.io/JfzZV
noudle has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88196 → netdata: 1.21.1 -> 1.22.1 → https://git.io/JfzZy
opthomasprime has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/698e71db2c4 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ssk has quit [Ping timeout: 245 seconds]
alexherbo2 has quit [Ping timeout: 256 seconds]
<dsal> Also updated the FAQ with your suggestion, srhb. Nice to have the simple thing first.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88197 → nfpm: 1.2.0 -> 1.2.1 → https://git.io/JfznL
reallymemorable has quit [Quit: reallymemorable]
chloekek has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #87501 → ior: 3.0.1 -> 3.2.1 → https://git.io/JfWat
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/Jfznw
meh` has joined #nixos
<meh`> could anyone point me to a recent "push luks keys over ssh in initrd" setup?
<bigvalen> How does nixos do ZFS snapshots ? I was surprised to notice:
<bigvalen> # zfs list|grep -c root/nixos
<bigvalen> 189
<bigvalen> That seems..like a lot
<bigvalen> I had zfs.autoSnapshot set to save .. 9 snapshots.
jgeerds has joined #nixos
magnetophon has quit [Ping timeout: 258 seconds]
mallox has joined #nixos
<numkem> how do you make hydra create a channel? it used to work now it says it's empty (had to re-create the project)
turion has joined #nixos
agsdheidjd has quit [Ping timeout: 265 seconds]
<T0pH4t> how would one use an ssh-config file with nix-build without disabling sandbox ?
magnetophon has joined #nixos
<T0pH4t> kind of feel like ssh-config-file is pointless with nix-build otherwise...
mallox has quit [Quit: WeeChat 2.8]
<cole-h> bbigras: Did you have any luck in tracking down that playerctl warning? If you're working on it, I'll hold off on approving it, but if not, I'll just go ahead and approve it.
<bbigras> cole-h: No I didn't have time yet. ok thanks!
user_0x58 has joined #nixos
<gleber> Has anyone seen `error 9 while decompressing xz file` and `HTTP error 200 (curl error: Error in the HHTP2 framing layer): retrying from offset ...` recently? I am seeing it on the most recent nixos-minimal ISO directly from Hydra using the the most recent `pkgs.nixUnstable` from nixpkgs-unstable. I tried applying all workarounds from the Aug'19 torrent of bug reports
<gleber> This is happening on fresh VM in VirtualBox on Windows 10. I am trying to set it up as a quick and dirty remote builder
teto has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #88153 → klayout: 0.26.4 -> 0.26.5 → https://git.io/Jfu1j
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jfzcr
drakonis1 has quit [Ping timeout: 260 seconds]
camsbury has quit [Ping timeout: 272 seconds]
rardiol has quit [Ping timeout: 260 seconds]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88198 → omnisharp-roslyn: 1.35.0 -> 1.35.1 → https://git.io/Jfzc9
<{^_^}> [nixpkgs] @Ma27 merged pull request #88190 → minify: 2.7.3 -> 2.7.4 → https://git.io/JfzsL
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jfzcd
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/Jfzcb
<{^_^}> [nixpkgs] @Lassulus merged pull request #88079 → exim: 4.92.3 -> 4.93 → https://git.io/JfEhP
<{^_^}> [nixpkgs] @bjornfor merged pull request #88173 → [20.03] skypeforlinux: 8.59.0.77 -> 8.60.0.76 → https://git.io/JfzJN
<{^_^}> [nixpkgs] @bjornfor pushed commit from @lsix to release-20.03 « skypeforlinux: 8.59.0.77 -> 8.60.0.76 »: https://git.io/JfzcA
pat_h has joined #nixos
sridIrcCloud has joined #nixos
sridIrcCloud is now known as srid2
pat_h has quit [Client Quit]
magnetophon has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88199 → opendht: 2.0.0 -> 2.1.1 → https://git.io/JfzCm
zupo has joined #nixos
magnetophon has joined #nixos
<T0pH4t> srhb: great news, seems there are two functions fetchgit and builtins.fetchGit with the latter not supporting sha256. The former does but you have then get the ssh-config-file working, which when done allows a consumer of the packages to by pass hitting git when it finds bin in binary cache, thus avoiding any git access on a prod machine
rogue_koder has quit [Ping timeout: 264 seconds]
Jonathan76 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88200 → openexr: 2.4.1 -> 2.5.1 → https://git.io/JfzCR
<adisbladis> T0pH4t: The latter is also a fixed-output of sorts, despite the lack of sha256
<Jonathan76> Is there an easy way to start a nix-shell with specified channel, without modifying shell.nix?
<T0pH4t> fixed-output?
<Jonathan76> For one of the common shells which starts with `{ pkgs ? import <nixpkgs> {} }:`?
orivej has quit [Ping timeout: 265 seconds]
agam has joined #nixos
orivej has joined #nixos
rardiol has joined #nixos
<adisbladis> T0pH4t: Depsite the fact that you don't give it a sha256 explicitly a sha256 is still in play. builtins.fetchGit clones outside of the sandbox into ~/.cache/nix and calculates the sha256 after the fact
<adisbladis> Jonathan76: Set NIX_PATH, or in the case where you have `{ pkgs ? import <nixpkgs> {} }` you can pass an argument `nix-shell --arg pkgs 'import <nixpkgs> {}'`
<Jonathan76> Thanks adisbladis: I was going to say, I have been wanting to do this for weeks, and just now I remembered that nix-shell has flags like `--arg`, but I still cannot get it to work..
rogue_koder has joined #nixos
<Jonathan76> I was missing the `{}` which calls the import.
turion has quit [Ping timeout: 272 seconds]
seku has quit [Quit: Connection closed]
cjpbirkbeck has quit [Remote host closed the connection]
<agam> Dumb question: I ran `nix search emacs`, got `nixpkgs.emacs26-nox` as one of the results, but when I try `nix-env -qa ...` with either "emacs26-nox", or "nixpkgs.emacs26-nox", I get the "... matches no derivations" error; but with "emacs-nox" it works fine, why is that?
<agam> (I got what I wanted, the install works, it's all good, so ... this is really just more out of curiosity :-) )
<cole-h> agam: You probably want to add `-f '<nixpkgs>'`
<cole-h> s/probably/maybe/
proofofkeags has quit [Remote host closed the connection]
<yimmy149> I think it's the pattern that the packer is using.
proofofkeags has joined #nixos
<yimmy149> *packager
<yimmy149> the websearch result is a little easier to see the difference between the package names and the derivations: https://nixos.org/nixos/packages.html?channel=nixos-20.03&query=emacs
<T0pH4t> adisbladis: ok thats what u meant ok thx
cjpbirkbeck has joined #nixos
fresheyeball has joined #nixos
rardiol has quit [Ping timeout: 246 seconds]
rardiol has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1f80b4d15e9 (from 28 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
proofofkeags has quit [Ping timeout: 256 seconds]
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #88113 → gambit: disable use of poll() on Darwin → https://git.io/Jfuce
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @eraserhd to master « gambit: disable use of poll() on Darwin »: https://git.io/JfzWq
cjpbirkbeck has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<agam> cole-h: thanks, `-f <nixpkgs>` makes sense.
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @ruuda opened pull request #88201 → acme-client: 0.2.5 -> 1.0.0 → https://git.io/JfzWW
xcmw has joined #nixos
<yimmy149> agam: there are no derivations with emacs26 in the attribute name, so I don't think the -f <nixpkgs> is going to change the result. If you use -a, you need to match an attribute name. without the -a, you would use the package name
<{^_^}> [nixpkgs] @sorokin opened pull request #88202 → expose gcov, gcc-ar, gcc-ranlib and others gcc tools in gcc-wrapper (fixes #86272) → https://git.io/JfzWR
<cole-h> ,locate emacs26
<{^_^}> Couldn't find in any packages
<cole-h> Well, emacs26 is indeed an attribute.
<cole-h> `nix search emacs26` -> `* nixpkgs.emacs26 (emacs-26.3)`
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Havvy has joined #nixos
roconnor has quit [Quit: Konversation terminated!]
<yimmy149> interesting, so it's an attribute in nixpkgs but not nixos? I don't find it online.
coco has quit [Ping timeout: 256 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<cole-h> Hm, nixos.org/nixos/packages looks busted. It shows emacs25
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88203 → oxipng: 2.3.0 -> 3.0.0 → https://git.io/JfzWu
proofofkeags has joined #nixos
coco has joined #nixos
<freeman42x[m]1> trying to update an old NixOS VM and getting following error: https://gist.github.com/razvan-flavius-panda/42ce09f0fbf5a0e3f7eebfc82b46f567
morgrimm has quit [Ping timeout: 260 seconds]
tsrt^ has joined #nixos
<{^_^}> [nixpkgs] @SCOTT-HAMILTON opened pull request #88204 → ksmoothdock: init at 6.3 stable → https://git.io/JfzWX
m0rphism has quit [Quit: WeeChat 2.7.1]
phreedom has quit [Ping timeout: 240 seconds]
orivej_ has joined #nixos
chloekek has quit [Ping timeout: 265 seconds]
Maxdamantus has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 272 seconds]
phreedom has joined #nixos
<freeman42x[m]1> I think I might need to use nix to update nix
zupo has joined #nixos
Maxdamantus has joined #nixos
<bqv> [thanos memes]
<yimmy149> You might be able to use copy closure on nix from another up-to-date host?
luz666 has quit [Quit: leaving]
<freeman42x[m]1> any way to revert that breakage?
<yimmy149> I think generations are managed via symlink, so you can probably revert manually
<freeman42x[m]1> yimmy149: how do I revert manually?
<{^_^}> [nix] @edolstra pushed to auto-uid-allocation « Add "uid-range" and "systemd-cgroup" system features »: https://git.io/JfzWN
<freeman42x[m]1> aight, I'd rather give up and create a new VM
<yimmy149> I'm not on a nix system to check, but have a look in /nix/var/nix/profiles
<sshow> I'm having issues with `fetchgit` when running nix-build, as I'm targeting a private git server, I'm getting "Please make sure [....] access rights. Host key verification failed." What ssh config does it use?
pjt_014 has joined #nixos
<{^_^}> [nixpkgs] @kthielen opened pull request #88205 → build latest hobbes with gcc 9 → https://git.io/JfzWA
cole-h has quit [Quit: Goodbye]
<{^_^}> [nixpkgs] @primeos opened pull request #88206 → chromium: 81.0.4044.138 -> 83.0.4103.61 → https://git.io/JfzWx
cole-h has joined #nixos
lsix has quit [Ping timeout: 260 seconds]
alp has quit [Ping timeout: 272 seconds]
lucksus has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88207 → parity: 2.7.2 -> 3.0.0 → https://git.io/Jfzlf
knupfer has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #87702 → nixos/logrotate: Add options for basic paths → https://git.io/Jf89b
<{^_^}> [nixpkgs] @ryantm pushed 4 commits to master: https://git.io/JfzlT
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1f80b4d15e9 (from 72 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @mmilata opened pull request #88208 → openconnect: 8.05 -> 8.10 → https://git.io/Jfzlm
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88209 → pgcenter: 0.6.4 -> 0.6.5 → https://git.io/JfzlO
tsrt^ has quit [Ping timeout: 260 seconds]
fendor has quit [Remote host closed the connection]
m0rphism has joined #nixos
cosimone has joined #nixos
morgrimm has joined #nixos
__monty__ has quit [Quit: leaving]
morgrimm has quit [Ping timeout: 272 seconds]
rardiol has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88210 → picard-tools: 2.22.4 -> 2.22.7 → https://git.io/Jfzll
rardiol has joined #nixos
linarcx has joined #nixos
D_ has quit [Quit: No Ping reply in 180 seconds.]
D_ has joined #nixos
<colemickens> When something complains about gbm during build, what does it need added to buildInputs?
leungbk has quit [Ping timeout: 260 seconds]
rardiol has quit [Ping timeout: 265 seconds]
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88211 → pirate-get: 0.3.5 -> 0.3.7 → https://git.io/Jfzlw
<infinisil> colemickens: What's the error?
<infinisil> Always a good thing to include
rardiol has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
<tokudan> ,locate no
<{^_^}> Found in packages: kvm, vim, xen, xfe, a2ps, anki, kino, ping, qemu, drgeo, gdmap, grocy, icewm, vocal, gcdemu, gqview, hashit, moodle, motion, obconf, omegat, hexchat, openbox, redmine, sawfish, zathura, celestia, dokuwiki, ideogram, picolisp, rdesktop, sequeler, vimHugeX, xen-slim, handbrake, linux.dev, pytrainer, qemu_test, rox-filer, limesurvey, torrential, virtualbox, caffeine-ng, regextester, cdemu-client, checkinstall, and 89 more
shibboleth has quit [Quit: shibboleth]
<tokudan> hmm... what package would a build tool require?
<infinisil> tokudan: Um, what build tool?
<tokudan> infinisil, yeah, that's what I'm wondering about. I only have "/nix/store/x7fr0bvnwvqvr3zg60di9jxvfwimcw7m-bash-4.4-p23/bin/bash: no: command not found
<tokudan> "
<infinisil> ,locate bin no
<{^_^}> Found in packages: non, nox, lbdb, llvm, noip, nota, wine, bluez, hugin, noice, noweb, emboss, ezminc, gecode, llvm_5, llvm_6, llvm_8, llvm_9, nagios, neuron, nodejs, nomacs, notion, shadow, toybox, busybox, cni.bin, llvm_10, notmuch, now-cli, snowman, gecode_3, graphviz, liboping, linphone, noti.bin, samtools, cassandra, coreutils, libnotify, nomad.bin, normalize, notepadqq, inormalize, llvm-polly, neuron-mpi, notary.bin, noteshrink, and 81 more
<MichaelRaskin> Wait, it's clear you need to read configure's output
<infinisil> Huh, there sure are a lot of no's
<MichaelRaskin> It has something like «checking for asdasd... no»
<MichaelRaskin> (meaning asdasd is not found)
fresheyeball has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « solfege: 3.22.2 -> 3.23.4 »: https://git.io/JfzlS
<infinisil> Wait why does ,locate return so many results
<infinisil> Locally I don't get any for nix-locate bin/no -w --top-level
page has quit [Quit: leaving]
<tokudan> MichaelRaskin, yeah, configure output for vice is very verbose and it checks for a *lot* of software that's not required
<tokudan> infinisil, what package is nix-locate in?
<infinisil> ,locate nix-locate
<{^_^}> Found in packages: nix-index
<infinisil> :)
<infinisil> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<tokudan> ok, that output is more useful than getting "... and 89 more"
<infinisil> The fact that there's 89 results means that something went wrong in the search and probably none of them are relevnat
erasmas has quit [Quit: leaving]
<infinisil> s/89/more than 89
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #88163 → libdeflate: 1.5 -> 1.6 → https://git.io/Jfu9q
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @r-ryantm to master « libdeflate: 1.5 -> 1.6 (#88163) »: https://git.io/Jfzlb
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « libdeflate: remove local prefix »: https://git.io/JfzlN
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
hooo has quit [Quit: Connection closed for inactivity]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @erictapen closed pull request #88188 → unifiStable: 5.12.66 -> 5.12.72 → https://git.io/Jfz3Q
user_0x58 has quit [Ping timeout: 260 seconds]
linarcx has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
palo has quit [Quit: WeeChat 2.7.1]
AmandaC has quit [Read error: Connection reset by peer]
page has joined #nixos
cjpbirkbeck has quit [Quit: cjpbirkbeck]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
palo has joined #nixos
morgrimm has joined #nixos
eoli3n_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88212 → powershell: 7.0.0 -> 7.0.1 → https://git.io/Jfz8l
o1lo01ol1o has joined #nixos
asymptotically has quit [Quit: Leaving]
morgrimm has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
dermetfan has quit [Ping timeout: 260 seconds]
meh` has quit [Ping timeout: 272 seconds]
<Rusty1> exut
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
potong has quit [Ping timeout: 260 seconds]
smatting has quit [Ping timeout: 256 seconds]
<niso> newbie question: i'd like to configure multiple dhcpd instances via the nixos module - what would be the best way to approach this?
<T0pH4t> ugg so nix copy keeps giving me an error saying it can't copy a corrupted path. The package in question is from git and was prefetched with nix-prefetch-git to acquire the sha256. When i issue a verify path on the store path given it says the hash is different. Any ideas?
<T0pH4t> i've blown away these directories twice...
<T0pH4t> i have sandbox in relaxed mode on nix-build not sure if that makes any difference
MmeQuignon has quit [Ping timeout: 260 seconds]
<niso> i think my options are: A) running dhcpd in a container B) forking the module and rewriting it to support multiple daemons
coco has quit [Ping timeout: 246 seconds]
<niso> is there another option i'm missing?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88214 → pt2-clone: 1.12 -> 1.16 → https://git.io/Jfz8P
Doraemon has joined #nixos
Doraemon has quit [Client Quit]
cr4y1 has quit [Ping timeout: 260 seconds]
NeoCron has quit [Ping timeout: 252 seconds]
Desetude has joined #nixos
<azazel> niso: goal? I don't remember the actual nixos conf for dhcpd, but usually one daemon can listen on multiple interfaces and serve different pools of IPs
fusion809 has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88215 → qgnomeplatform: 0.6.0 -> 0.6.1 → https://git.io/Jfz8S
drakonis1 has quit [Quit: WeeChat 2.7]
cosimone has quit [Ping timeout: 252 seconds]
<niso> azazel: my goal was to use use differnt subnets for .e.g. a container infra. The idea behind running multiple dhcpd instances was to make it as fault tolerant as possible
AmandaC has joined #nixos
<niso> azazel: thus the idea was to run per subnet a dhcpd/nat/dns server
Desetude has quit [Quit: WeeChat 2.7.1]
<niso> if i'd run it in one instance other subnets would be effected by changes (e.g. restarts of dhcpd)
cosimone has joined #nixos
<T0pH4t> is there a way to have nix-build keep the .git directory. somehow a package on build is corrupting itself and it be good to know if files are being changed on build
AmandaC_ has joined #nixos
philr has joined #nixos
AmandaC has quit [Ping timeout: 256 seconds]
<infinisil> T0pH4t: You can pass `leaveDotGit = true` to pkgs.fetchgit
<T0pH4t> ah ok, thx will give that a shot
kvda has joined #nixos
growpotkin has quit [Ping timeout: 256 seconds]
kim0 has quit [Quit: Connection closed for inactivity]
ixxie has quit [Ping timeout: 265 seconds]
hmpffff has joined #nixos
Acou_Bass has quit [Ping timeout: 265 seconds]
ixxie has joined #nixos
morgrimm has joined #nixos
<T0pH4t> ok so now its detecting the hash mimatch at build. I guess I would like to know how the sha256 generated by nix-prefetch-git is different from nix-build
<T0pH4t> like how is that even possible?
<yimmy149> Not an expert, but sometimes you need to pass --unpack to the prefetch command
emilsp has quit [Read error: Connection reset by peer]
lemsip has joined #nixos
Acou_Bass has joined #nixos
<T0pH4t> yimmy149: whats that do?
<yimmy149> I think it unpacks the src files instead of leaving that as a tarball. But it definitely changes the sha256 output, I had similar issue the other day.
<T0pH4t> that came back with nothing
<T0pH4t> hmm :/
hmpffff has quit [Quit: nchrrrr…]
<yimmy149> you still need the --type sha256 parameter
morgrimm has quit [Ping timeout: 265 seconds]
rardiol has quit [Ping timeout: 240 seconds]
<T0pH4t> i had: nix-prefetch-git --unpack --hash sha256 <repo> <rev> <hash>
maddo has quit [Quit: See ya]
<T0pH4t> outputs an empty line
rardiol has joined #nixos
<infinisil> --unpack is only needed for fetchFromGitHub or fetchzip I'm pretty sure
<infinisil> And that with nix-prefetch-url
<infinisil> T0pH4t: Pass --leave-dotGit
<infinisil> Then you get a hash for a pkgs.fetchgit that has leaveDotGit = true
<T0pH4t> infinisil: i did that, but it doesn't use the .git from the original repo
<infinisil> Yeah it's not exactly the same, that's because the builds needs to stay pure
<infinisil> So it needs to remove anything from the .git that's impure
<T0pH4t> so leaving the sha256 changed the hash
<T0pH4t> interesting, it matches the hash it expected
<T0pH4t> so whats that mean, its accidently leaving behindthe .git folder?
<infinisil> No idea what you're saying
<T0pH4t> so i checked the sha of the path nix-store complained about
<T0pH4t> and it dind't match teh shaw i was expecting until i added the --leave-dotGit to prefech
<T0pH4t> so does that mean nix is accidently leaving behind the .git folder?
reallymemorable has joined #nixos
<infinisil> Show all of the things you did with commands and their outputs
<infinisil> It's hard to know what's going on otherwise
<T0pH4t> k 1 sec
<{^_^}> [nixpkgs] @jonringer merged pull request #88103 → python3Packages.azure*: bump, azure-cli: 2.40 -> 2.5.1 → https://git.io/Jfu3p
<{^_^}> [nixpkgs] @jonringer pushed 10 commits to master: https://git.io/Jfz4w
ixxie has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #88123 → fluidasserts: 20.2.30165 -> deleted → https://git.io/Jfu41
<{^_^}> [nixpkgs] @jonringer pushed commit from @kamadorueda to master « fluidasserts: 20.2.30165 -> deleted »: https://git.io/Jfz4X
<T0pH4t> infinisil: https://pastebin.com/M9gGWd7m
<T0pH4t> shows the output of nix biuld and then two versions of prefetch
<T0pH4t> the hash i want matches the prefetch without the .git
aveltras has joined #nixos
<infinisil> T0pH4t: Doesn't this all make sense? I assume you're using leaveDotGit = true in your nix file?
<T0pH4t> nope
<T0pH4t> thats why its odd
<T0pH4t> my fetchgit just specifies the url,rev,sha256
<T0pH4t> no other options in the nix package file
<T0pH4t> i have multiple packages, and that is the only one that does this
<infinisil> That is a little odd, can you reproduce this with a simple nix file that only contains `with import <nixpkgs> {}; fetchgit { ... }`?
<T0pH4t> thats alittle difficult, its a package with a private repo
<T0pH4t> fwiw there is nothing special about this pkg, its modeled after all the other pkgs i have wrote
jgeerds has quit [Ping timeout: 240 seconds]
mbrgm_ has joined #nixos
<T0pH4t> here is what i can share: https://pastebin.com/6naeP1V9
<T0pH4t> its a pretty simple package
<T0pH4t> with a couple of public deps
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<infinisil> T0pH4t: Nah not difficult, just put the fetchgit { .. } part into its own file and add `with import <nixpkgs> {};` before that
<infinisil> Then `nix-build` that file
civodul has quit [Ping timeout: 272 seconds]
<T0pH4t> ok
teto has quit [Ping timeout: 260 seconds]
<T0pH4t> ugg nix just keeps yankin my chain, i update my other build with the new hash and now its changed the hash again :( ...... will work on that private build file now
simba1 has quit [Ping timeout: 260 seconds]