worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<{^_^}> [nixpkgs] @jtojnar merged pull request #73790 → Various GNOME leaf package updates → https://git.io/JeKhA
<{^_^}> [nixpkgs] @jtojnar pushed 14 commits to master: https://git.io/Je6Eh
fendor has quit [Quit: Leaving]
cosimone has quit [Ping timeout: 245 seconds]
lux3 has quit [Ping timeout: 246 seconds]
tv has quit [Ping timeout: 276 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
ng0 has joined #nixos
lux3 has joined #nixos
tv has joined #nixos
drakonis_ has quit [Ping timeout: 276 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
mexisme has joined #nixos
kisonecat has quit [Remote host closed the connection]
fresheyeball has quit [Quit: WeeChat 2.6]
Guanin has joined #nixos
equivrel has quit [Ping timeout: 276 seconds]
CMCDragonkai has joined #nixos
<CMCDragonkai> clever: I know you're an expert on NixOS. So I'm hoping you can have a look into this problem involving NVIDIA GPUs: https://github.com/NixOS/nixpkgs/issues/73804
<{^_^}> #73804 (by CMCDragonkai, 16 hours ago, open): nvidia-smi only reporting 3/4 GPUs while Ubuntu reports 4/4 GPUs
justan0theruser is now known as justanotheruser
mexisme has quit [Ping timeout: 276 seconds]
<clever> CMCDragonkai: are you able to access the bios?
<CMCDragonkai> clever: yea
<clever> CMCDragonkai: there is sometimes an option to choose between the internal and pcie gpu, as primary
<CMCDragonkai> clever: ok, i'll look for something like that, but is there any images or examples of where this would be?
<CMCDragonkai> clever: furthermore, why would Ubuntu work properly?
<clever> every bios vendor decides to name it differently
<CMCDragonkai> clever: remember that I have onboard VGA (intel), and that's what my monitor is plugged into
mexisme has joined #nixos
<clever> ive not gotten gpu compute to work on any hardware i have physical access to
<clever> but i have done it a bit in packet.net and aws
<CMCDragonkai> clever: what do you mean you haven't gotten gpu compute to work?
<clever> 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XTX [Radeon R7 260X/360]
<clever> i cant do any kind of compute jobs on this card
<CMCDragonkai> clever: Right now, NixOS reports 3/4 GPUs nvidia-smi, and 3 of them are all compute-only, not display active
<CMCDragonkai> clever: isn't that an AMD GPU? I'm dealing with NVIDIA GPUs
<clever> i would say strace `nvidia-smi` to see what its doing
jluttine has quit [Ping timeout: 276 seconds]
<clever> yeah, ive only had success with nvidia in the cloud, and i dont have any nvidia cards locally to play with
<CMCDragonkai> clever: the other issue is that xserver doesn't even start
<CMCDragonkai> if you see my issue's second comment
<CMCDragonkai> which made me realize maybe these 2 problems are related
_pash has quit [Remote host closed the connection]
<clever> and ive not tried getting xserver to work at the same time as compute, since its in the cloud and i had no console access
<clever> CMCDragonkai: try doing `strace -o logfiles -ff nvidia-smi` and then gist all of the logfiles
Rusty1 has quit [Remote host closed the connection]
ng0 has quit [Quit: Alexa, when is the end of world?]
fresheyeball has joined #nixos
<fresheyeball> hey out there
<fresheyeball> I have a question
<fresheyeball> I have an ML thing I am trying to do
<fresheyeball> so far I have a nix expression for all the deps, and everything works just great
<fresheyeball> I can do learning inside a nix-shell no problem
<fresheyeball> however I would like learning to be a nix-build
<fresheyeball> this adds a vexing complexity
<fresheyeball> The training set is about 200GB
<fresheyeball> I am worried that if I pass the location of this set to my nix expression, it's going to copy all 200GB into the nix store
<fresheyeball> which will get untenable fast
<fresheyeball> I thought about passing it with -I via NIX_PATH
<fresheyeball> but that resulted in copying into the store as well
<fresheyeball> Any advice on such a use-case?
<fresheyeball> It would be so hot to have a nix expression that does the ML, and produces the result with nix-build
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm
<CMCDragonkai> clever: this is what I'm using btw: https://www.asus.com/Commercial-Servers-Workstations/ESC4000-G4/
<CMCDragonkai> fresheyeball: depends on whether you consider the 200GB training data to be part of the package or not, if not, then leave it out with .gitignore and even nix git-ignore, if yes, then keep it in
waleee-cl has quit [Quit: Connection closed for inactivity]
Guest84 has joined #nixos
<fresheyeball> CMCDragonkai: It's not a git issue. I can use git-annex for that.
<fresheyeball> The question is, how can I have source to a nix expression that is not stored in the nix-store? Is it even possible?
<clever> fresheyeball: the $src must always be in /nix/store/
<fresheyeball> ok
<fresheyeball> so perhaps the only path here is actually the nix-shell for training
<fresheyeball> I was hoping I could put something like a reference to the actual files in the nix-store.
<fresheyeball> a la git-annex for example
<fresheyeball> like we store the hash of the src, but not the actual src
<{^_^}> [nixpkgs] @jonringer merged pull request #73839 → texlab: 1.6.0 -> 1.7.0 → https://git.io/Je609
<{^_^}> [nixpkgs] @jonringer pushed commit from @MetaDark to master « texlab: 1.6.0 -> 1.7.0 »: https://git.io/Je6uX
<{^_^}> [nixpkgs] @jonringer merged pull request #73834 → gzdoom: 4.2.3 -> 4.2.4 → https://git.io/Je6RL
<{^_^}> [nixpkgs] @jonringer pushed commit from @Lassulus to master « gzdoom: 4.2.3 -> 4.2.4 »: https://git.io/Je6u1
fresheyeball has quit [Quit: WeeChat 2.6]
thc202 has quit [Ping timeout: 250 seconds]
<Guest84> QQ- I confess I haven't reserarched this too much- but does `nixos-rebuild build-vm` somehow reuse the host-store?
<clever> Guest84: yes
<Guest84> or will it make a 40gb vm if my current store closure is 40gb?
<Guest84> clever: Thank
<Guest84> clever: Thank you.
wildtrees has quit [Quit: Leaving]
lovesegfault has quit [Ping timeout: 240 seconds]
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #73841 → gjs: clean up → https://git.io/Je6EU
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/Je6uF
smatting has quit [Ping timeout: 265 seconds]
detran has quit [Read error: Connection reset by peer]
detran has joined #nixos
o1lo01ol1o has joined #nixos
buckley3104 has joined #nixos
ddellacosta has joined #nixos
otulp has quit [Ping timeout: 240 seconds]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #73844 → gamecube-tools: fix build → https://git.io/Je6zY
<{^_^}> [nixpkgs] @jonringer opened pull request #73845 → vscode-extensions.ms-python.python: fix rpath → https://git.io/Je6zs
orivej has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je6zl
mexisme has quit [Ping timeout: 240 seconds]
lovesegfault has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
otulp has joined #nixos
captn3m0- has quit [Ping timeout: 246 seconds]
Rusty1 has joined #nixos
captn3m0 has joined #nixos
<{^_^}> [nixpkgs] @sjakobi opened pull request #73846 → A few updates for the Haskell guide → https://git.io/Je6zP
<{^_^}> [nixpkgs] @jonringer opened pull request #73847 → python3Packages.mock: remove funcsigs dependency → https://git.io/Je6z1
soju has joined #nixos
h0m1 has quit [Ping timeout: 250 seconds]
h0m1 has joined #nixos
jluttine has joined #nixos
Guest84 has quit [Ping timeout: 240 seconds]
LysergicDreams has quit [Ping timeout: 276 seconds]
LysergicDreams has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @mmilata opened pull request #73848 → libreoffice: add dev output with headers → https://git.io/Je6gv
alexherbo2 has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 252 seconds]
alexherbo2 has joined #nixos
alexherbo2 has quit [Client Quit]
alexherbo2 has joined #nixos
captn3m0 has quit [Ping timeout: 276 seconds]
Guanin_ has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
Guanin has quit [Read error: Connection reset by peer]
<kaliumxyz> do we have an eqv of guix pack?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #nixos
<o1lo01ol1o> Is it possible to allow a hydra build job to make HTTP requests? I added the URI to `allowed-uris` but the request times out.
<clever> o1lo01ol1o: allowed-uris is only for eval time things, builtins.fetchTarball
<clever> o1lo01ol1o: for any build-time fetch, you must use a fixed-output derivation
h0m1 has quit [Ping timeout: 245 seconds]
captn3m0 has joined #nixos
h0m1 has joined #nixos
<o1lo01ol1o> clever: Ok, so I have a CI job that needs to check the validity of a credential against an HTTP endpoint, does that mean the whole job needs to be put in to a fixed-output derivation?
<clever> o1lo01ol1o: and a fixed-output drv only runs once for a given outputHash
<samueldr> CI-kind tests are ran in VM tests with NixOS, where a full HTTP endpoint would be ran
<samueldr> not trivial to setup though depending on the exact test you need
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 252 seconds]
<o1lo01ol1o> samueldr: what do you mean by "VM tests"?
chpatrick has quit [Quit: Connection closed for inactivity]
<gchristensen> o1lo01ol1o: this isn't a very good use case for a Nix build / hydra
hmpffff_ has joined #nixos
<o1lo01ol1o> gchristensen: right, I'm getting that impression. I had hoped to send a could GETs to REST endpoints along with the pure tests that were run. I suppose if it's too onerous, I'll just have to put them off until the staging tests run.
hmpffff has quit [Ping timeout: 265 seconds]
lovesegfault has joined #nixos
<DigitalKiwi> can i build a nixpkgs with a specific compiler version
<DigitalKiwi> trying to find a bug in kicad that is possibly related to the compiler version used...
<samueldr> gcc7Stdenv, gcc6Stdenv, etc, can be used instead of stdenv
<samueldr> nix-build -E 'with import ./. {}; hello.override({ stdenv = gcc6Stdenv; })' # for example
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<DigitalKiwi> do you know what version is stdenv on nixos-unstable
cptchaos83 has joined #nixos
das_j has quit [Remote host closed the connection]
Scriptkiddi has quit [Remote host closed the connection]
Scriptkiddi has joined #nixos
das_j has joined #nixos
<samueldr> > stdenv.cc
<{^_^}> "<derivation /nix/store/q99z3zwa8gpqfqampm1wiyy118yzbp7j-gcc-wrapper-8.3.0.drv>"
<DigitalKiwi> thanks
<samueldr> though it looks like gcc8Stdenv != stdenv, not sure how it differs exactly though
<samueldr> > gcc8Stdenv == stdenv
<{^_^}> error: syntax error, unexpected '=', at (string):107:15
<samueldr> > gcc8Stdenv == stdenv
<{^_^}> error: syntax error, unexpected '=', at (string):107:15
<samueldr> that's weird :/
<clever> i think its the bot
<clever> it see's an = and tries to assign a var
<samueldr> nix-repl> gcc8Stdenv == stdenv
<samueldr> false
<clever> so it then tries to eval `= stdenv`
<clever> > (42 == 52)
<{^_^}> false
<samueldr> > (gcc8Stdenv == stdenv)
<{^_^}> false
<clever> yep
<clever> > stdenv.cc.cc
<{^_^}> "<derivation /nix/store/r2dlwhllq289g8llr0bl7qj92j2yg6hf-gcc-8.3.0.drv>"
<clever> or just check what is within it
<samueldr> yeah, that's why I checked that way just before :)
mexisme has joined #nixos
eraserhd has quit [Quit: WeeChat 2.6]
acarrico has joined #nixos
<lovesegfault> Can I bother someone with commit access to review/merge a PR of mine?
<{^_^}> #73608 (by lovesegfault, 2 days ago, open): beets: fix absubmit deps
GlennS has joined #nixos
alexherbo2 has quit [Ping timeout: 276 seconds]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
Guanin_ has quit [Remote host closed the connection]
orivej has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.6]
don_quijote[m] has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<aleph-> Hmm, anyone here using the buildbot service? Curious what option I would set to include a plugin? Planning to build a gitea plugin for buildbot I'm assuming I'd pass it in via python packages for the master?
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #73849 → WIP: Merge master into structured attrs → https://git.io/Je62n
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
buckley3104 has quit [Quit: The Lounge - https://thelounge.chat]
eraserhd has joined #nixos
eraserhd has quit [Client Quit]
eraserhd has joined #nixos
buckley3104 has joined #nixos
eraserhd has quit [Client Quit]
fresheyeball has joined #nixos
<lopsided98> aleph-: you should be able to set "services.buildbot-master.package" to "buildbot.withPlugins [ your-plugin ]"
<fresheyeball> for some reason "light" now requires sudo
<fresheyeball> programs.light.enable = true
<fresheyeball> can I make it not sudo somehow?
<fresheyeball> this messes up my xmonad
<fresheyeball> plus why should adjusting brightness require sudo
<fresheyeball> that seems silly
<aleph-> lopsided98: Gotcha, and my plugin can just be referenced as pkgs.PLUGIN_NAME? Planning to just build locally and import into my nix store. So it won't be in the mainline nixpkgs tree
<samueldr> https://nixos.org/nixos/manual/release-notes.html#sec-release-19.03-incompatibilities fresheyeball
<samueldr> >> The light module no longer uses setuid binaries, but udev rules. As a consequence users of that module have to belong to the video group in order to use the executable (i.e. users.users.yourusername.extraGroups = ["video"];).
<samueldr> part of the 19.03 release notes
<fresheyeball> oh nice
<lopsided98> aleph-: You can reference it however you want. If it is part of an overlay you can access it from "pkgs"
<lopsided98> Also services.buildbot-master.pythonPackages should work as well - withPlugins basically does the same thing, except using a wrapper
<fresheyeball> samueldr++
<{^_^}> samueldr's karma got increased to 134
cjpbirkbeck has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.6]
aleph- has quit [Quit: WeeChat 1.6]
mog has quit [Quit: im quiting!]
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
ddellaco1 has joined #nixos
ddellacosta has quit [Read error: Connection reset by peer]
rardiol has quit [Ping timeout: 265 seconds]
mog has joined #nixos
dansho has joined #nixos
don_quijote[m] has left #nixos ["User left"]
domogled has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
ddellaco1 has quit [Ping timeout: 276 seconds]
zupo has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<{^_^}> [nixops-aws] @bhipple opened pull request #18 → Cleanup release.nix and setup.py; bump to 19.09 in CI → https://git.io/Je62R
aleph- has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
hmpffff_ has quit [Quit: nchrrrr…]
Forkk has joined #nixos
mexisme has joined #nixos
justanotheruser has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
kleisli has quit [Ping timeout: 240 seconds]
<lovesegfault> How can I start a nix-shell with all of rustPackages' pkgs?
<lovesegfault> cc. clever
Lears has joined #nixos
reallymemorable has joined #nixos
nexgen has joined #nixos
aveltras has joined #nixos
domogled has quit [Ping timeout: 265 seconds]
noudle has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
zupo_ has joined #nixos
zupo has quit [Ping timeout: 265 seconds]
<dminuoso> Does nixos have a builtin option to set TERM?
markus1189 has joined #nixos
markus1189 is now known as predator117
predator117 is now known as markus1189
cjpbirkbeck has quit [Quit: Quitting now.]
zupo has joined #nixos
zupo_ has quit [Ping timeout: 252 seconds]
lovesegfault has quit [Ping timeout: 276 seconds]
<jackdk> dminuoso: if it does it should show up in https://nixos.org/nixos/options.html . Alternatively, maybe try home-manager?
erictapen has joined #nixos
erictapen has quit [Client Quit]
kleisli has joined #nixos
reactormonk has joined #nixos
<reactormonk> I've got a derivation where I wanna override a single attribute about 4 deep. Is there a nice way to set an attribute 4 layers deep?
<clever> reactormonk: lib.recursiveUpdate
kleisli has quit [Ping timeout: 240 seconds]
lovesegfault has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
teto has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #73356 → ocamlPackages.lwt4: 4.2.1 → 4.4.0 → https://git.io/JerCq
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.lwt4: 4.2.1 → 4.4.0 »: https://git.io/Je6aa
fusion809 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vbgl closed pull request #71734 → ocamlPackages.lwt4: 4.2.1 -> 4.3.0 → https://git.io/JeRhK
fusion809 has joined #nixos
knupfer has joined #nixos
Heirlung has quit [Quit: ZNC - http://znc.in]
mexisme has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
Heirlung has joined #nixos
nexgen has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 250 seconds]
philr has joined #nixos
nexgen has joined #nixos
mexisme has joined #nixos
dansho has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @thefenriswolf closed pull request #73452 → tensorman: init at 0.1.0 → https://git.io/Jeoen
magneticduck has joined #nixos
reactormonk has quit [Read error: Connection reset by peer]
vonfry has joined #nixos
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #73850 → unibilium: 0.2.0 -> 20190811 → https://git.io/Je6ax
Ariakenom has joined #nixos
<Ariakenom> what settings are relevant for changing tty fonts?
<etu> Ariakenom: i18n.consoleFont
ng0 has joined #nixos
ambro718 has quit [Ping timeout: 250 seconds]
mexisme has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @nlewo opened pull request #73851 → cue: 0.0.11 -> 0.0.14 → https://git.io/Je6Vt
<Ariakenom> etu: what about consolePackages?
mexisme has joined #nixos
<etu> Ariakenom: Possibly needed yes, I've never customized that really.
noudle has quit []
<Ariakenom> I haven't gotten it to work. Not that I need it for anything, just thought it might be fun.
<{^_^}> [nixpkgs] @nlewo closed pull request #73851 → cue: 0.0.11 -> 0.0.14 → https://git.io/Je6Vt
<Ariakenom> I dont think I've gotten any font setting to work except for making them available
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @thefenriswolf opened pull request #73852 → tensorman: init at 0.1.0 → https://git.io/Je6Vs
hmpffff has quit [Read error: Connection reset by peer]
hmpffff_ has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
nexgen has quit [Ping timeout: 250 seconds]
hmpffff has joined #nixos
hmpffff_ has quit [Read error: Connection reset by peer]
vonfry has quit [Quit: WeeChat 2.6]
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 246 seconds]
chloekek has joined #nixos
michiel_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Dema opened pull request #73854 → neovim-qt: 0.2.12 -> 0.2.15 → https://git.io/Je6VE
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
Neo-- has joined #nixos
FRidh has joined #nixos
hmpffff_ has quit [Ping timeout: 240 seconds]
Atrak has joined #nixos
<Atrak> soo, how to convert yaml into an attribe set?
<Atrak> I have a large yaml and I don't want to rewrite ti all
ckauhaus has joined #nixos
<clever> Atrak: one min
bahamas has joined #nixos
<lovesegfault> Can I set an envvar inside a mkShell?
<clever> > pkgs.haskell.lib.disableCabalFlag pkgs.haskellPackages.yaml "no-exe"
<lukego> I'm trying to use python3Packages.xdot but it seems to be missing a runtime dependency of hicolor-icon-theme. Can I provide that via a wrapper script somehow? Or do I need to use nix-shell?
<clever> Atrak: this expression will compile to a package with yaml2json and json2yaml binaries
<{^_^}> "<derivation /nix/store/1adp07xzd03cl9bw11dcrhi376gisq76-yaml-0.11.2.0.drv>"
<clever> Atrak: once you convert your yaml to json, nix can parse it with normal builtins.readFile and builtins.fromJSON
<lovesegfault> I need to set LIBCLANG_PATH
<clever> lovesegfault: every attribute you pass to mkShell should become an env var
<Atrak> clever: how do I compile it ony my nixos please?
<clever> lovesegfault: and if you want to use clang, then you should use clangStdenv
gxt has quit [Ping timeout: 260 seconds]
<clever> Atrak: nix-build -E 'with import <nixpkgs> {}; pkgs.haskell.lib.disableCabalFlag pkgs.haskellPackages.yaml "no-exe"'
<lovesegfault> clever: Where do I shove clangStdenv?
<lovesegfault> With that do I not need to set LIBCLANG_PATH?
<clever> lovesegfault: clangStdenv.mkDerivation
<clever> lovesegfault: thats a stdenv meant for use with clang, and it should provide a fully working clang
<{^_^}> [nixpkgs] @nlewo reopened pull request #73851 → cue: 0.0.11 -> 0.0.14 → https://git.io/Je6Vt
<lovesegfault> Sweet!!
hmpffff has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.6]
<lovesegfault> clever: cargo:warning=couldn't execute `llvm-config --prefix` (error: No such file or directory (os error 2))
<lovesegfault> argh!
<lovesegfault> ,locate llvm-config
Ariakenom has joined #nixos
<{^_^}> Found in packages: llvm, llvm_4, llvm_5, llvm_6, llvm_8, llvm_35, llvm_39, llvm-polly, emscriptenfastcomp, llvmPackages.bintools, llvmPackages.llvm-polly
<lovesegfault> ,find llvm-config
<{^_^}> ,find is temporarily unimplemented
<lovesegfault> ,search llvm-config
<Atrak> clever: but is json the atribute set?
<Atrak> like, there are no ":" right?
<Atrak> I'm sorry, I'm little bit confused
<notgne2> honestly last time I needed to turn a YAML file into a Nix expr I just used search and replace
<notgne2> it took a lot of messing around
__monty__ has joined #nixos
<Atrak> :/ too bad
<clever> Atrak: builtins.fromJSON turns a json object into a nix set
<Atrak> I have a loki configuration and would like to move it into an attribute set
<notgne2> I think it's trivial to parse YAML so you could just import the file, and if you really want it to be Nix you can probably search for some kind of Nix expression generator or write some primative one of your own
<clever> Atrak: to start with, have you ran yaml2json on the file?
<Atrak> yes, I did that and got json
<clever> Atrak: now use `builtins.readFile ./foo.json` in nix, to get the whole json as a string
__monty__ has quit [Client Quit]
__monty__ has joined #nixos
<Atrak> builtins.fromJSON file{ auth_enabled = false; server = { ... }; }
<Atrak> nice! :)
<Atrak> thank you!
thc202 has joined #nixos
<Izorkin> etu: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/php/default.nix#L210-L211 this code configureFlags+ - not used. Need remove or fix?
Chiliparrot has joined #nixos
<Atrak> clever, odd, https://pastebin.com/UYbPEzJ4 why is there { ... } ?
<clever> Atrak: try :p
<clever> Atrak: `nix repl` isnt recursive by default
<Atrak> thank you
fusion809 has quit [Remote host closed the connection]
Atrak has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @OlivierMarty opened pull request #73855 → i3blocks: unstable-2019-02-07 -> 1.5 → https://git.io/Je6Vx
<{^_^}> [nixpkgs] @lukego opened pull request #73856 → yosys-withGui: New wrapper derivation with GUI runtime dependencies → https://git.io/Je6Vj
nschoe has joined #nixos
asheshambasta has joined #nixos
smatting has joined #nixos
<asheshambasta> I've upgraded my nixos install to 19.09. I was running 19.03 with kernel 5_1 earlier, which was stable. However, with 19.09 all supplied kernel versions in linuxPackages on this channel make my system unstable. How do I go back to 5_1 without downgrading to 19.03?
<notgne2> asheshambasta: you can import the older nixpkgs inside your nix config
<notgne2> the easiest way is probably to add it as a channel `sudo nix-channel --add [old nixpkgs] oldpkgs`
<clever> asheshambasta: 5.1 was removed from 19.09, because it was due to be deprecated within the life of 19.09
<notgne2> then in your Nix config you can do `old = import <oldpkgs> {}`
<clever> ,unstable
<notgne2> yeah basically do the above except instead of adding nixos-unstable, add nixos-19.03
reallymemorable has quit [Quit: reallymemorable]
<clever> unstable also has a linuxPackages_latest, which is either 5.1 or 5.2, not sure
<notgne2> 5.3.10
<asheshambasta> yeah, that makes my system crash
<notgne2> is it by any chance reaching stage 2 on boot then reverting back to the stage 1 page and hanging forever?
<{^_^}> #73139 (by kragniz, 1 week ago, open): nixos/kubernetes: ensure kubelet cert contains a well-formed user
<{^_^}> #72036 (by kragniz, 3 weeks ago, open): sailsd: 0.2.0 -> 0.3.0
<asheshambasta> so basically, I've done: sudo nix-channel --add https://nixos.org/channels/nixos-19.03 oldpkgs
<notgne2> ah, you will need to do a `sudo nix-channel --update` too I believe
<clever> --add doesnt take effect until --update
<{^_^}> [nixpkgs] @petabyteboy opened pull request #73857 → gitlab: 12.4.2 -> 12.4.3 → https://git.io/Je6wL
<asheshambasta> I'm still getting `error: assertion failed at /nix/store/11py7g6w0dih7hkcvy3c66qnfl1ckl3p-oldpkgs-19.03.173663.6d448d7fbd6/oldpkgs/pkgs/os-specific/linux/prl-tools/default.nix:9:1
<asheshambasta> `
<clever> asheshambasta: what did you set kernelPackages to?
<asheshambasta> clever:
<asheshambasta> boot.kernelPackages = oldpkgs.linuxPackages_5_1; # no longer available on the 19.09 channel (heard on IRC that the non-LTS versions got removed)
ThatDocsLady has joined #nixos
<clever> 9 assert kernel != null -> stdenv.lib.versionOlder kernel.version "4.15";
sweep is now known as genesis
<clever> asheshambasta: are you using prl-tools somewhere?
<clever> 162 description = "Parallels Tools for Linux guests";
genesis has joined #nixos
genesis has quit [Changing host]
<asheshambasta> there's no mention of that in my configuration.nix at least
<clever> asheshambasta: can you pastebin your whole configuration.nix file?
o1lo01ol1o has joined #nixos
<asheshambasta> clever: https://pastebin.com/Qm7mJ6ZS
michiel_ has joined #nixos
<chloekek> What can I do when fetchTarball gives a different hash than nix-prefetch-url --unpack for the same URL that gives a .tar.gz?
<clever> chloekek: run `diff -r` on the 2 store paths
logzet has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<clever> asheshambasta: and there is no trace of hardware.parallels in hardware-configuration.nix?
<clever> asheshambasta: try `hardware.parallels.package = pkgs.hello;` to make it shut up?
<chloekek> clever: only one of them seems to be in the Nix store.
<chloekek> clever: I will just use fetchurl and write a custom unpackPhase, thanks.
<clever> chloekek: pkgs.fetchzip unpacks for you
<asheshambasta> clever: no, no mention in hardware-configuration.nix
<clever> chloekek: if you give fetchTarball the hash it wants, then it will be in the nix store, and then you can diff to figure things out
<clever> asheshambasta: try `hardware.parallels.package = pkgs.hello;` then
<asheshambasta> clever: that also doesn't help I'm afraid
<asheshambasta> I can probably downgrade back to 19.03, I guess
<clever> asheshambasta: thats weird, what exactly is crashing if you use the default kernel?
<asheshambasta> clever: its hard to detect, its something to do with ASRock Taichi X399 mobo.
<clever> asheshambasta: anything obvious in dmesg?
Ariakenom has quit [Quit: WeeChat 2.6]
<asheshambasta> nothing that I could find, the issue is that this happened with older kernels, and it completely stopped with 5_1 and then started recurring again with 5_3 (latest in 19.09)
<notgne2> I have the ASRock Taichi X399
<notgne2> so I doubt that's the issue
<asheshambasta> notgne2: do you have the random system freeze issues?
<asheshambasta> or have you had them in the past?
<notgne2> nope, only issue seems to be some random wifi errors on startup
Ariakenom has joined #nixos
<notgne2> I've been on both 5.1 and 5.3 and had it work
<asheshambasta> it could also be a faulty memory module, I guess, or something with my hw in general
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @kirelagin opened pull request #73858 → multitime: init at 1.4 → https://git.io/Je6wS
<asheshambasta> notgne2: my system just randomly freezes and the only option is a hard poweroff
<clever> asheshambasta: i had similar, it turned out to be a firmware bug in my ssd
<notgne2> the only issue I've encountered on a later kernel is a weird unresolved issue where amdgpu drivers and 5.3 will make the system fail to boot
<asheshambasta> clever: how did you manage to update it? fwupdmgr seems to find no updates for my hw.
<clever> asheshambasta: the windows only (ugh) utility to update the firmware just fails with "unknown error" (double ugh)
<clever> asheshambasta: so i just retired the SSD, and moved my zfs pool purely to nvme
<asheshambasta> I'm not using an ssd, just nvme
captn3m0 has quit [Ping timeout: 276 seconds]
<asheshambasta> notgne2: would you mind sharing your hardware-configuration.nix and the related snippets in configuration.nix?
alexherbo2 has joined #nixos
<notgne2> sure, 1 sec
orivej has quit [Ping timeout: 240 seconds]
<asheshambasta> the issue is also that there's no direct trace of a hard crash on the linux kernel, and sometimes, the BSOD starts looking like a good idea
<clever> asheshambasta: linux has a kernel panic instead of a bsod, but modern gui layers prevent the panic from being visible
<clever> asheshambasta: the even more modern gpu drivers (kms, kernel mode switching) are suppose to resolve that issue, but your driver has to support it
bahamas has quit [Ping timeout: 265 seconds]
jgt1 is now known as jgt
orivej has joined #nixos
<asheshambasta> notgne2: hardware-configuration.nix looks identical, hardware-related-configuration has some flags; are you using a radeon and an nvidia card together?
<notgne2> the radeon flags are leftover from when I was trying to make vulkan work on my R7 260x, I have a GTX 1080 right now
<clever> thats one nice thing with nixos, if you remember to clean that option out, all traces of that gpu driver are gone
<asheshambasta> yeah
<clever> ubuntu has serious trouble changing gpu drivers back and forth that easily
<asheshambasta> I cannot seem to find resources on properly configuring ati-radeon gpu's though
<clever> asheshambasta: i'm using videoDrivers = [ "amdgpu" ];
<clever> 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XTX [Radeon R7 260X/360]
<clever> on this card
<notgne2> video drivers are honestly pretty badly documented in NixOS beyond the obvious few mentions
<notgne2> clever: does vulkan work for you currently
<asheshambasta> notgne2: well, yeah. A lot of the documentation is things you scrape off google etc.
Makaveli7 has quit [Quit: WeeChat 2.6]
<clever> notgne2: what did vulkan do again?
<notgne2> it's an opengl-like thing, it's needed to run DX12 windows games
<clever> notgne2: ah, i dont think ive tried using it
<notgne2> for me before I added those kernelParams `vkcube` just segfaulted, and wine games would complain about missing drivers
<clever> and the last windows game i had working has been unplayable after the last update
<{^_^}> [nixpkgs] @FRidh pushed 74 commits to staging-19.09: https://git.io/Je6rk
<clever> they changed the version of the unity engine, and it conflicts with proton, so the mouse pointer moves violently, every time i click
<clever> which makes it imposible to do anything in the game
<notgne2> I remember getting vulkan working eventually (but my changes made my friend with the same card's computer stop booting)
bahamas has joined #nixos
<notgne2> and I still never got toontown working, and I can't tell if the issue is in the NixOS opengl driver stuff or the packages I'm providing to it in the shell
dema has joined #nixos
psyanticy has joined #nixos
gxt has joined #nixos
<asheshambasta> anyway, need to reboot
asheshambasta has quit [Remote host closed the connection]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<dema> Hi. I'm trying to create a package and wanted to use nix-shell to drop into build environment, but I'm using zsh and all build* functions are gone. Is there any way to force nix-shell to use bash? I tried setting NIX_BUILD_SHELL=`which bash` nix-shell but it didn't work. Am I missing something?
<clever> dema: can you pastebin the output of `strace -f -e execve nix-shell -p` ?
bahamas has quit [Ping timeout: 245 seconds]
asheshambasta has joined #nixos
<dema> well, it looks like it exec'ed bash https://pastebin.com/4d2T2GDf
<clever> dema: yeah, and if you do `ps` inside that shell, it says your in bash?
<dema> I have any-nix-shell installed maybe it is messing up somehow?
<clever> dema: what is any-nix-shell?
<clever> dema: yep, definitely bash
m0rphism1 has joined #nixos
<dema> https://github.com/haslersn/any-nix-shell But they say that you need to enable it and I didn't
<clever> dema: ah, that could be broken
<dema> It's interesting, that if I run `strace -f nix-shell ...` I get bash. But if I run it from my command prompt, I still get zsh
<clever> dema: what does `type nix-shell` say?
<{^_^}> [nixpkgs] @ckauhaus opened pull request #73859 → lua-5.3: add patch for CVE-2019-6706 → https://git.io/Je6rX
<dema> Aaaaahh `nix-shell is a shell function from /home/dema/.zplugin/plugins/chisui---zsh-nix-shell/nix-shell.plugin.zsh`
<clever> that would do it!
<clever> `strace nix-shell` bypasses all aliases and shell functions, and runs the nix-shell in $PATH
<clever> `command nix-shell` is how you tell bash to bypass things, without doing anything special
<dema> ok! Thanks!!
<dema> yeah, that worked! Thank you!!
<clever> you will want to either fix any-nix-shell, or just remove the plugin that is making things worse
michiel_ has quit [Read error: Connection reset by peer]
jgt has quit [Ping timeout: 246 seconds]
werner291 has joined #nixos
werner291 has quit [Read error: Connection reset by peer]
<dema> yep!
Jackneill has joined #nixos
michiel_ has joined #nixos
dema has quit [Quit: Leaving]
lux1 has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
captn3m0 has joined #nixos
michiel_ has quit [Ping timeout: 240 seconds]
werner291 has joined #nixos
bahamas has joined #nixos
sigmundv has joined #nixos
<{^_^}> [rfcs] @curiousleo opened pull request #61 → README.md: remove template paragraph → https://git.io/Je6oB
<asheshambasta> thanks a lot for the help clever & notgne2
Okinan has quit [Quit: Konversation terminated!]
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
alexherbo2 has joined #nixos
Okinan has joined #nixos
bahamas has quit [Ping timeout: 240 seconds]
dema has joined #nixos
sondr3 has joined #nixos
iyzsong has joined #nixos
jgt has joined #nixos
<dema> Hi! I have one more question about creating packages. I added new package, but used some unrelated package as an example. I edited pname and version attributes, but forgot to change url in fetchurl. And now I have a derivation for source file with correct name and version but wrong contents https://gist.github.com/Dema/3ec2c9bb2f03ec7e4b79f6f31bd7c24c
<dema> It doesn't refetch file even after I changed sha256
<dema> What can I do with it?.. :)
<qyliss> dema: try setting sha256 to stdenv.lib.fakeSha256
<__monty__> You changed the url *and* the sha and it didn't refetch?
<__monty__> That shouldn't happen afaik?
<__monty__> What you described sounds like you *didn't* change the sha.
fendor has joined #nixos
kleisli has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
<dema> I don't really remember in what order I changed things, I was experimenting a lot :)
<clever> dema: if the hash is valid for something else, then nix may continue to use that something else, and ignore the url
<clever> dema: i always set my editor to replace mode, and zero out a few digits
Okinan has joined #nixos
<dema> Aa..
<clever> a fixed-output derivation uses the name and hash to compute what $out will be
<clever> and if that $out already exists, it just uses it
<qyliss> lib.fakeSha256 is just a string with all zeros
<clever> even if its source for something entirely different
<qyliss> which should never be the hash of anything
<qyliss> and so is useful for debugging this sort of thing
<qyliss> > lib.fakeSha256
<{^_^}> "0000000000000000000000000000000000000000000000000000000000000000"
<clever> qyliss: once it is the hash of something, its time to abandon that hash algo :P
<qyliss> indeed
<dema> damn.. You are right! This was wrong sha :) I had "4d114861d5ef2063afd06ef38885ec46822e90e7b4ea38c864f76493451f9cf3" but when I set to fakeSha it complained that it should be "1ycb2ayd4irbaa1wg3ca7j3i1pjw51klhcxb0q2w0madiyfzg5yb"
<clever> dema: one is base16, the other is base32
<clever> [root@amd-nixos:~]# nix-hash --to-base32 4d114861d5ef2063afd06ef38885ec46822e90e7b4ea38c864f76493451f9cf3 --type sha256
<clever> 1www3x2r6r7pck43ismlwy82x0j6xj2qiwvfs2pn687gsmhlh4ad
<clever> once both are base32, i can confirm, it still is a different hash
<clever> i have had confusion before, where it treated X and Y as valid hashes, yet X != Y, because X was base16, and Y was base32 of the same hash
ggpeti has joined #nixos
<__monty__> That's a good point.
<__monty__> Maybe nix should require a `0x` prefix for base16 hashes?
<LnL> yeah, the encoding can be confusing
<clever> you can tell from the length and letters
<clever> and nix always gives base32 in its messages
<LnL> ideally nix would show the failure in the same format as the expression
<LnL> instead of implicitly converting
<__monty__> clever: You can only tell if you're looking for it though.
<clever> yeah
<__monty__> Although, I guess 0x is valid base32?
<clever> possibly
<__monty__> Yep, const string base32Chars = "0123456789abcdfghijklmnpqrsvwxyz";
<dema> yep, I set the correct hash, everything works! Thanks again!
<__monty__> So it's extra confusing cause "0x63afd06ef38885ec46822e90e7b4ea38c864f76493451f9cf3" would be a valid base32 hash >.<
<ggpeti> Hi, how is everyone? I am looking for someone to review and possibly merge https://github.com/NixOS/nixpkgs/pull/73720. It's a simple package with a default buildPhase. I have included a nixos test to make sure that the package works well. Have a great day!
<{^_^}> #73720 (by ggPeti, 2 days ago, open): pgsidekick: init at unstable-2014-11-23
o1lo01ol1o has joined #nixos
werner291 has quit [Quit: werner291]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
mexisme has quit [Ping timeout: 276 seconds]
adamtkh has quit [Quit: Ping timeout (120 seconds)]
adamtkh has joined #nixos
cosimone has joined #nixos
Neo-- has quit [Ping timeout: 240 seconds]
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
bahamas has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 265 seconds]
<{^_^}> [rfcs] @Mic92 merged pull request #61 → README.md: remove template paragraph → https://git.io/Je6oB
<{^_^}> [rfcs] @Mic92 pushed commit from @curiousleo to master « README.md: remove template paragraph (#61) »: https://git.io/Je66J
Neo-- has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @xfix opened pull request #73861 → git: enable some of broken tests → https://git.io/Je66O
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
xkapastel has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
Neo-- has quit [Ping timeout: 240 seconds]
ThatDocsLady_ has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #73862 → grafana-loki: 0.4.0 -> 1.0.0 → https://git.io/Je662
zupo has joined #nixos
rardiol has joined #nixos
ThatDocsLady has quit [Ping timeout: 276 seconds]
n3t has left #nixos ["WeeChat 2.4"]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #73863 → vscodium-1.40.1 → https://git.io/Je66i
darthdeus has quit [Quit: WeeChat 2.6]
<ggpeti> thoughtpolice: srhb: etu: gchristensen: you guys have helped review and merge my PRs before, anyone of you have 10 minutes to do so again?
<{^_^}> #73720 (by ggPeti, 2 days ago, open): pgsidekick: init at unstable-2014-11-23
<{^_^}> [rfcs] @edolstra merged pull request #60 → Make the detailed design terse by separating examples → https://git.io/JeKfF
<{^_^}> [rfcs] @edolstra pushed commit from @Ericson2314 to master « Make the detailed design terse by separating examples (#60) »: https://git.io/Je6ie
ThatDocsLady_ has quit [Read error: Connection reset by peer]
mariel__ has joined #nixos
<ggpeti> lol, pull request number SIXTY just got merged
morr has joined #nixos
<ggpeti> ah nevermind, that's the rfcs repo
<Yaniel> on nixpkgs that definitely would be a funny situation
eayus has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #73831 → routinator: 0.6.1 -> 0.6.2 → https://git.io/Je6BC
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Je6i0
<Ariakenom> why is there a nixos option to enable zsh instead of just an application?
logzet has quit [Ping timeout: 250 seconds]
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon2 is now known as Mateon1
<eayus> I'm trying to build a personal idris project which consists of two packages: a library and a binary. I am having some trouble installing the library so that it the binary can access it - I have written the deriviation for the library following https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/idris.section.md , which installs it
<eayus> to the nix-store. However, when I start a REPL with access to this library (using "idris -p mylib") the library is not found. "idris --listlibs" doesn't show it either. After investigation I've found that idris only searches its own /nix/store directory for libraries, and the my library was installed to its own /nix/store directory. Anyone has any
<eayus> ideas?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
drakonis_ has joined #nixos
q3k has joined #nixos
drakonis has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @max-wittig opened pull request #73864 → gitlab-runner: 12.4.1 -> 12.5.0 → https://git.io/Je6ij
o1lo01ol1o has joined #nixos
drakonis has joined #nixos
<gchristensen> o1lo01ol1o:
brodul has joined #nixos
<brodul> Hi
<brodul> I have some issues with Virtual box
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<qyliss> ,ask brodul
<{^_^}> brodul: Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
<brodul> I get 'Kernel driver is not accesible'
bahamas has quit [Ping timeout: 252 seconds]
<brodul> I have the ' virtualisation.virtualbox.host.enable = true;
<brodul> enabled
<brodul> lsmod also lists: vboxdrv
<brodul> kernel modules
<brodul> Not really sure if it's just me or is it an upstream issue
<brodul> 'Kernel driver is not accesible' pops up when I start the UI
ggpeti has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #73848 → libreoffice: add dev output with headers → https://git.io/Je6gv
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/Je6Pq
__monty__ has quit [Quit: leaving]
<etu> brodul: Have you added your user to the group?
<brodul> Yea
waleee-cl has joined #nixos
<brodul> vboxusers
mexisme has joined #nixos
<brodul> I can confirm it with the groups command that the group is set
<{^_^}> [nixpkgs] @7c6f434c merged pull request #73859 → lua-5.3: add patch for CVE-2019-6706 → https://git.io/Je6rX
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/Je6Pn
mexisme has quit [Ping timeout: 250 seconds]
bahamas has joined #nixos
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 245 seconds]
<srhb> brodul: Did you log out and in?
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
hmpffff has quit [Quit: nchrrrr…]
Rusty1 has joined #nixos
<srhb> (is the driver loaded? :))
eayus has quit [Remote host closed the connection]
earldouglas has left #nixos [#nixos]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
thefenriswolf has joined #nixos
ddellaco1 has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #73865 → keybase: add kbnm to subPackages → https://git.io/Je6PN
<{^_^}> [nixpkgs] @FRidh opened pull request #73866 → manylinux packages for Python → https://git.io/Je6Xe
selfsymmetric-mu has quit [Remote host closed the connection]
<thefenriswolf> hy, I have a question regarding nix-build
<thefenriswolf> or is this the wrong chat for such a request?
<Yaniel> you are probably in the right place
<brodul> srhb: I rebooted and driver is loaded at least what I understand that should be a required module for Vbox
<thefenriswolf> perfect
<thefenriswolf> I tried to repoduce Sander van der Burgs tutorial for building out of tree packages (https://sandervanderburg.blogspot.com/2014/07/managing-private-nix-packages-outside.html)
<thefenriswolf> I did this with my own package that does not require gcc but nix-build still tries to rebuild gcc from source
<thefenriswolf> is there a way to tell nix-build to at least fetch build dependencies cache.nixos.org ?
<thefenriswolf> *from cache.nixos.org
rardiol has quit [Ping timeout: 240 seconds]
asheshambasta has quit [Remote host closed the connection]
cosimone_ has quit [Quit: Terminated!]
<alexarice[m]> thefenriswolf: it should do this anyway
<thefenriswolf> what did I do wrong then?
<thefenriswolf> I wouldn't mind if my package needed a c compiler, but it doesn't
<thefenriswolf> here is what I did:
<thefenriswolf> git cloned the nixpkgs tree
<thefenriswolf> exported it as my NIX_PATH
<thefenriswolf> created a pkg.nix file with "with import <nixpkgs> {}" as the first line
<thefenriswolf> and ran nix-build pkg.nix
<{^_^}> [nixpkgs] @FRidh merged pull request #73824 → python3Minimal: 3.7.4 -> 3.7.5 → https://git.io/Je6C7
<{^_^}> [nixpkgs] @FRidh pushed to master « python3Minimal: 3.7.4 -> 3.7.5 »: https://git.io/Je6XQ
Ariakenom has quit [Quit: WeeChat 2.6]
bahamas has quit [Ping timeout: 240 seconds]
ggpeti has joined #nixos
<thefenriswolf> ahhh nevermind I got it, I should not have exported NIX_PATH to the cloned repo. even tho sander did so
<thefenriswolf> now I just spun up a new container and it worked just fine
<thefenriswolf> thank you for your time
thefenriswolf has quit [Quit: leaving]
<{^_^}> [nixpkgs] @IDF31 opened pull request #73868 → qt5.nix: Replaced the old qtstyleplugins that doesn't exist anymore w… → https://git.io/Je6Xj
Ariakenom has joined #nixos
Sigma has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Client Quit]
Ariakenom has joined #nixos
Ariakenom has quit [Client Quit]
Ariakenom has joined #nixos
idf has joined #nixos
alexherbo2 has joined #nixos
Sigma has joined #nixos
smatting has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Amar1729 closed pull request #52408 → (wip) init infer at v0.15.0 → https://git.io/fpNNF
smatting has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
ng0 has joined #nixos
Ariakenom has quit [Ping timeout: 265 seconds]
ggpeti has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73868 → nixos/qt5: use correct qtstyleplugins attribute → https://git.io/Je6Xj
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je61r
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @IDF31 to release-19.09 « nixos/qt5: use correct qtstyleplugins attribute »: https://git.io/Je61P
<{^_^}> [nixpkgs] @worldofpeace opened pull request #73869 → [CI] Update packages I maintain → https://git.io/Je61S
rardiol has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73104 → sequoia: 0.10.0 -> 0.11.0 → https://git.io/JeVaE
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je61d
<infinisil> clever: Hey, regarding the kexec thing, do you know what causes it to need to much ram?
Chiliparrot has joined #nixos
rardiol has quit [Ping timeout: 240 seconds]
rardiol has joined #nixos
<dredozubov> Is there a manual on how to debug installPhase errors? It's not clear what the builder is doing when it fails.
<gchristensen> infinisil: it has to use RAM as its root FS for one
<dredozubov> should be possible to pass `set -x` to one derivation somehow, I guess
<adisbladis> dredozubov: You can override a derivation and just add `set -x` in an earlier phase
rardiol_ has joined #nixos
<adisbladis> > hello.overrideAttrs(old: { preConfigure = "set -x"; })
<{^_^}> "<derivation /nix/store/b5rdfwimyvhrvh5834pm7pa50mvc6imw-hello-2.10.drv>"
<dredozubov> ok, I was thinking I need to prepend it to the installPhase script
<adisbladis> dredozubov: Nah, all phases are run by the same bash interpreter
<dredozubov> I see
rardiol has quit [Ping timeout: 265 seconds]
genesis has quit [Ping timeout: 240 seconds]
sigmundv has quit [Ping timeout: 240 seconds]
domogled has joined #nixos
<infinisil> gchristensen: Wondering why the root fs is so big then
o1lo01ol1o has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
Ariakenom has joined #nixos
philr has quit [Ping timeout: 265 seconds]
sweep has joined #nixos
ddellaco1 has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 245 seconds]
Ariakenom has quit [Quit: WeeChat 2.6]
logzet has joined #nixos
ddellaco1 has joined #nixos
<das_j> is there a type for nested attrs of? so I can either do a.b.c.d.e.f = "g"; or a.b = "h";
<das_j> if that makes sense
sigmundv has joined #nixos
<das_j> something like (either str (attrsOf (either str (attrsOf (either str…
Ariakenom has joined #nixos
Denommus has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #73842 → python3Packages.tensorboard: add wheel as runtime dep → https://git.io/Je6EZ
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.tensorflow-tensorboard: add wheel as runtime dep »: https://git.io/Je6MP
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Ariakenom> Im having some monitor issues. leaving everything at default gets the correct resolution. just running xrandr myself with --auto sets the correct resolution. but when I specify the order with nixos and xrandrHeads then I get the 1080 for my 1440 displays
<Denommus> I'm getting an error when trying to run nixops deploy for an existing deployment
<Denommus> error: I don't know an AMI for region ‘sa-east-1’ and platform type ‘x86_64-linux’
ddellaco1 has quit [Ping timeout: 245 seconds]
werner291 has joined #nixos
<avn> Folks, I need little help with routes setup in nixos -- https://gist.github.com/avnik/b7fd3592b64bdfb3a10192c401a8ce8f Routes not wake up, and need additional setup. Any suggestions?
domogled has quit [Quit: domogled]
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @jonringer opened pull request #73870 → python3Packages.tensorflow-tensorboard: add wheel as runtime dep → https://git.io/Je6DY
<Ariakenom> should I just stick a xrandr command in environment.extraInit ?
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos
<{^_^}> [nixpkgs] @lheckemann opened pull request #73871 → nixos/switch-to-configuration: restart changed socket units → https://git.io/Je6Dl
phreedom has quit [Ping timeout: 260 seconds]
ddellaco1 has joined #nixos
endformationage has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.6]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
domogled has joined #nixos
phreedom has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
zupo has joined #nixos
evanjs has joined #nixos
zupo has quit [Client Quit]
Rusty1 has quit [Ping timeout: 250 seconds]
bahamas has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
drakonis_ has joined #nixos
<dredozubov> tried setting NIX_DEBUG to 6 and 7 and running nix build. I see no extra output
<dredozubov> inserting 'set -x' lines in the bash hooks works though
liff has quit [Read error: Connection reset by peer]
liff has joined #nixos
drakonis has quit [Quit: WeeChat 2.6]
domogled has quit [Quit: domogled]
sigmundv has quit [Ping timeout: 265 seconds]
nexgen has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to master « nixpart0: mark as unbroken »: https://git.io/Je6yw
Norimo has joined #nixos
mariel__ has quit [Ping timeout: 276 seconds]
Rusty1 has joined #nixos
Ariakenom has joined #nixos
drakonis has joined #nixos
<Ariakenom> I want to run a command to set up monitors with xrandr. which option do I use?
<Ariakenom> I tried displayManager.job.preStart and displayManager.setupCommands
drakonis_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @domenkozar pushed to release-19.09 « nixpart0: is not broken »: https://git.io/Je6y9
chloekek has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @domenkozar closed pull request #68695 → nixpart0: fix build → https://git.io/Je6yH
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #73872 → hardware/bluetooth: add support for INI generator → https://git.io/Je6y7
dansho has joined #nixos
<Denommus> I'm having such an error with nixops, nixops_1_6_1, and nixopsUnstable
evanjs has joined #nixos
<Denommus> I don't know what else to do, I need to deploy
<aminechikhaoui> Denommus I think that region isn't supported yet
drakonis has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos
<Denommus> aminechikhaoui: ... but the deployment already exists
<Denommus> I have been using the region for months
<Denommus> was the support suddently dropped?
Neo-- has joined #nixos
<aminechikhaoui> oh looks like only 19.09 doesn't have that region
<Denommus> I'm in nixpkgs unstable
ixxie has joined #nixos
timon37 has joined #nixos
Neo-- has quit [Ping timeout: 252 seconds]
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
<aminechikhaoui> Denommus I think if you set nixos 19.03 it should work but that's not ideal, we need to generate the images again and see why sa-east-1 wasn't generated the last time
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
<{^_^}> [nixpkgs] @domenkozar merged pull request #67349 → ec2/create-amis.sh: register root device as /dev/xvda → https://git.io/fjNg9
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/Je6S3
Ariakenom has quit [Quit: WeeChat 2.6]
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
MmeQuignon has joined #nixos
Neo-- has joined #nixos
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
evanjs has joined #nixos
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
<eyJhb> So still, anybody got NixOS w/ firewall to be able to cast to Chromecast?
Gohla has joined #nixos
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
Heirlung has quit [Quit: ZNC - http://znc.in]
timon37 has quit [Remote host closed the connection]
<evanjs> How do I get channel imports from just an expression working? I thought I could just replace `import <nixpkgs-unstable>` with `import (fetchTarball...` but it's still not showing up in the nix_path
timon37 has joined #nixos
<evanjs> figure I need to add it there manually, but I can't remember how I did it before...
Heirlung has joined #nixos
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
<infinisil> evanjs: Why would it show up in NIX_PATH?
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
<evanjs> infinisil: well I don't think it would without any extra work, I'm just trying to remember how I was able to supplement `nix-channel --add` with this before. Given I remember correctly that I was even able to do so
rardiol_ has quit [Ping timeout: 265 seconds]
<infinisil> supplement? Not sure what your goal is
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
<evanjs> To not have to worry about nix-channels, however feasible that is. Honestly, once I setup hydra like clever keeps recommending, juggling these channels won't really be such a big deal, so maybe I should just wait until then
<infinisil> evanjs: If you want it to be in NIX_PATH then you need to set `nix.nixPath`
<evanjs> (he mentioned I can just just add my own channel from hydra and etc)
Rusty1 has quit [Ping timeout: 240 seconds]
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
<infinisil> evanjs: What the file there allows you to do is to use `pkgs.unstable.foo` from within your nixos configuration
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
<evanjs> infinisil: right, reading over it again I realize why it doesn't exactly work as what I am trying to rework it into. It's adding other _existing_ channels to a single package set I have. It's not actually adding any channels
<evanjs> *making other channels accesible from a single set, etc
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
nuncanada has joined #nixos
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
boxscape has joined #nixos
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
talqu has joined #nixos
nschoe has quit [Ping timeout: 245 seconds]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
alexherbo2 has joined #nixos
<talqu> hi, I want to click my external usb keyboard or usb mouse and wake up the laptop from suspend. How do i config this `echo enabled > /sys/bus/usb/devices/usb1/power/wakeup`?
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
timon37 has quit [Remote host closed the connection]
timon37 has joined #nixos
LysergicDreams has quit [Quit: leaving]
timon37 has quit [Client Quit]
habbah_ is now known as habbah
habbah has quit [Changing host]
habbah has joined #nixos
mariel__ has joined #nixos
zupo has joined #nixos
sweep has quit [Changing host]
sweep has joined #nixos
sweep is now known as genesis
<Denommus> aminechikhaoui: will that be done in the foreseeable future?
shibboleth has joined #nixos
lovesegfault has quit [Ping timeout: 252 seconds]
aveltras has joined #nixos
ddellaco1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73869 → [CI] Update packages I maintain → https://git.io/Je61S
<{^_^}> [nixpkgs] @worldofpeace pushed 9 commits to master: https://git.io/Je696
fendor has quit [Ping timeout: 252 seconds]
wildtrees has joined #nixos
mcfrank has left #nixos ["WeeChat 1.9.1"]
<catern> are there any good retrospective articles about their experiences using Nix for deploying software?
<catern> er, that is, has anyone written a good retrospective article about ^
<lordcirth> catern, like, deploying software they developed?
chloekek_ has joined #nixos
mariel__ has quit [Quit: Leaving]
<catern> sure
<catern> (or talks)
<{^_^}> [nixpkgs] @xwvvvvwx opened pull request #73873 → aerc: 0.2.1 -> 0.3.0 → https://git.io/Je6Hv
<{^_^}> [nixpkgs] @cpritcha opened pull request #73874 → NetLogo: 6.0.4 -> 6.1.1 → https://git.io/Je6Hf
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
Chiliparrot has joined #nixos
cjpbirkbeck has joined #nixos
mexisme has joined #nixos
domogled has joined #nixos
fusion809 has joined #nixos
Jackneill has quit [Remote host closed the connection]
Norimo has quit [Quit: Norimo]
dema has quit [Ping timeout: 240 seconds]
Rusty1 has joined #nixos
Norimo has joined #nixos
bahamas has quit [Ping timeout: 240 seconds]
<pikajude> how can i set a nixos user's shell to be an FHS environment?
<lordcirth> pikajude, like, a whole chroot where everything is where FHS says, no symlinks?
<pikajude> potentially yes
<pikajude> what i really want right now is /lib/ld-linux
<pikajude> because vscode-server installs extensions that are linked with it
<pikajude> and it's getting very tedious to go back in and patchelf them every time something updates
domogled has quit [Quit: domogled]
<adisbladis> pikajude: You could just symlink that path, or run vscode in an FHS wrapper
<pikajude> oh yeah, i guess i could symlink it
<pikajude> i'm not sure how to run vscode-server in a wrapper though
jjakob has joined #nixos
<jjakob> Hi. in which package is "dig" located?
<jjakob> something from bind? how about whois?
ddellaco1 has joined #nixos
<niso> jjakob: dnsutils
<adisbladis> pikajude: Gimme a sec :)
<pikajude> okay
<betawaffle> i feel like the nix manual is slightly misleading about nix expressions. it says they "instruct Nix how to build packages" but they can do a lot more than that, right? or am i just thinking too narrowly about what a "package" is?
<tilpner> jjakob: You can use nix-index/nix-locate to answer such questions in the future
<niso> betawaffle: you are right, they can do a lot more
<adisbladis> pikajude: buildFHSUserEnv { name = "${vscode.name}-fhs"; targetPkgs = pkgs: [ pkgs.vscode ]; }
<adisbladis> Is enough to create an env that you can enter with `vscode-fhs`
<pikajude> that would only work if the client is also running on a nixos machine, right?
domogled has joined #nixos
<adisbladis> pikajude: Hm? I'm not sure what you mean.
<pikajude> that would create a `vscode-fhs` executable on a nixos machine, right?
<pikajude> but vscode remote runs the `vscode-server` binary on its own, i think
<pikajude> i'm not sure i can change that
<adisbladis> Ah, that should be fine since it's already inside the environment
bahamas has joined #nixos
Ariakenom has joined #nixos
<pikajude> but the vscode client isn't even on the same machine
alexherbo2 has quit [Ping timeout: 246 seconds]
talqu has quit [Remote host closed the connection]
<pikajude> it's on my home pc
<adisbladis> Ok I may be missing some context here :)
alexherbo2 has joined #nixos
<pikajude> vscode-server runs on the remote system and fetches from the filesystem and runs the compiler and all that
<pikajude> the client communicates with the server via ssh
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/Je6HV
<adisbladis> Righto, I think we can do something about that fairly easily
<jjakob> niso: tilpner: thanks
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
alexherbo2 has joined #nixos
MmeQuignon has quit [Ping timeout: 246 seconds]
<jjakob> what does error: selector 'dnsutils' matches no derivations mean
<gchristensen> you need bind.dnsutils
<tilpner> > dnsutils.outPath
<{^_^}> "/nix/store/wd6jnygcdwllra4xp94h31c9mjjr97lb-bind-9.14.7-dnsutils"
lovesegfault has joined #nixos
<tilpner> Exists at top-level in recent versions at least
<gchristensen> oh neat
<tilpner> jjakob: What command did you run?
smatting has quit [Ping timeout: 245 seconds]
<jjakob> how do I find the right package to install then, I did nix-env -qa dnsutils (this is nix-on-droid)
<catern> pikajude: if you figure out how to get vscode to run a specific vscode-server binary instead of doing its wacky "wget the binary" thing, please post about it or PM me or something, I'm very interested because I have a fair number of users who want to use this vscode stuff on Nix
<tilpner> ,-A jjakob
<{^_^}> jjakob: You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<pikajude> catern: understood
<tilpner> jjakob: So nix-env -iA nixpkgs.dnsutils most likely
<pikajude> so far it seems that just linking ld-linux into /lib64 is working
<pikajude> i wonder how it will break
<jjakob> oh that's for installing when I already know its name, I was searching for it with -qa and got that error
jgt has quit [Ping timeout: 276 seconds]
neminis has joined #nixos
<catern> jjakob: I also recommend using `nix search somepkg`
<catern> it does better search thatn nix-env -qa
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jjakob> catern: error: executing '': no such file or directory
alexherbo2 has quit [Ping timeout: 276 seconds]
<jjakob> maybe something is grossly broken
alexherbo2 has joined #nixos
<jjakob> I'm reinstalling nix-on-droid just in case
red[evilred] has joined #nixos
<red[evilred]> Nix on droid what?
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to staging-19.09: https://git.io/Je6Qt
<red[evilred]> Cool!
<tilpner> jjakob: FWIW, nix search doesn't work on my phone either
<FRidh> aanderse: pikajude: catern: about vscode remote. Maybe a nixos or home-manager service that monitors the ~/.vscode-server/bin/node and ensures it functions?
<jjakob> I'm trying the nix-on-droid fork of termux now but yeah
orivej has joined #nixos
<{^_^}> [nixpkgs] @gnidorah reopened pull request #27638 → [WIP] cde / cdesktopenv → https://git.io/v7m0d
<{^_^}> [nixpkgs] @gnidorah closed pull request #27638 → [WIP] cde / cdesktopenv → https://git.io/v7m0d
neminis has quit [Quit: WeeChat 2.6]
fendor has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #73827 → Mosquitto test python → https://git.io/Je6ls
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/Je6Qn
<{^_^}> [nixpkgs] @flokli merged pull request #73190 → WIP: nixos/ceph: port tests to python → https://git.io/JewIx
<{^_^}> [nixpkgs] @flokli pushed 5 commits to master: https://git.io/Je6Qc
<catern> FRidh: that sounds a bit hacky, really vscode shouldn't be installing its own server, but rather just using one already installed on the system - it's better to fix this by modifying vscode
<FRidh> catern: clearly, but we can't
<jjakob> so neither nix-env -qa nor nix search work on nix-on-droid
<FRidh> jjakob: do you have a channel configured?
<jjakob> this is the first thing I started with on nix so I might be missing something basic
<tilpner> No, it does say it's alpha software
<tilpner> Unfortunately nix-index won't be much use to you locally, because the URL is hardcoded
<jjakob> well I can try termux
<tilpner> jjakob: And do what?
<jjakob> tilpner: I thought termux uses nix as nix-on-droid is a fork of it
<tilpner> No, nix-on-droid is a fork of termux that adds Nix to the termux environment
<tilpner> Termux itself does not come with Nix
<jjakob> oh, duh.
<adisbladis> Wat
<adisbladis> This vscode-remote stuff is crazy
MmeQuignon has joined #nixos
<adisbladis> Also it seems to be non-free?
psyanticy has quit [Quit: Connection closed for inactivity]
<catern> FRidh: uh, why can't we...?
lovesegfault has quit [Quit: WeeChat 2.6]
jgt has joined #nixos
<catern> well, I wouldn't because I don't personally care *that* much, but someone certainly could submit a patch to vscode
<catern> to make this optionally work right
<FRidh> catern: it's a plugin that's pulled in through vscode's plugin manager. It's not managed by nix at all
drakonis_ has joined #nixos
<catern> use nix to manage plugins :) or at least this one executable
<FRidh> catern: and this is already been discussed on the remote developmt tracker, and they're not interested in providing something that works for nixos users
<catern> FRidh: oh interesting, could you point me to that issue?
kreisys has joined #nixos
<catern> (this is affecting more than just nixos users - my users are on old versions of Debian and use Nix to get more recent packages - but vscode's server doesn't work because it's not from Nix and is incompatible with the old Debian)
bahamas has quit [Read error: Connection reset by peer]
wildtrees has quit [Quit: Leaving]
<catern> FRidh: ah, very interesting, that's a good workaround
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<kreisys> My hydra jobset **evaluation** fails with `hydra-eval-jobs returned exit code 99: (no output)`. `release.nix` builds fine with `nix-build` locally. How do I debug this?
alexherbo2 has joined #nixos
<tilpner> kreisys: Check service logs
<tilpner> Most importantly hydra-evaluator.service and later perhaps hydra-queue-runner.service
<kreisys> It gets lost in all the noise
<kreisys> Any way to run the evaluator interactively for that jobset specifically?
<{^_^}> [nixpkgs] @gebner opened pull request #73875 → blender: 2.80 -> 2.81 → https://git.io/Je6Qw
tilpner has quit [Remote host closed the connection]
h0m1 has quit [Ping timeout: 276 seconds]
<kreisys> The log just says `evaluation of jobset ‘myproject:myjobset’ failed with exit code 1`
h0m1 has joined #nixos
<kreisys> The only new bit of information here is that the actual exit code is 1 rather than 99 😞
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
<Denommus> aminechikhaoui: I tried to change to nixos-19.03, but since I'm using nixops from a non-NixOS system, I couldn't install nixops
<Denommus> what can I do? Am I just blocked?
atriq is now known as Taneb
wildtrees has joined #nixos
boxscape has quit [Quit: Ping timeout (120 seconds)]
boxscape has joined #nixos
tilpner has joined #nixos
<tilpner> Huh, I may have just crashed my router by running two nix-index operations simultaneously?
<tilpner> kreisys: Sorry, that's all I have. Trigger eval via the web UI, run journalctl -eu hydra-evaluator just after it finished and read up
<kreisys> Looks like `hydra-eval-jobs` is segfaulting
<tilpner> Uh oh
<kreisys> I ran it in the terminal and it leaves a `core.*` file
domogled has quit [Quit: domogled]
irl25519 has joined #nixos
<catern> Denommus: I think you can install nixops on a non-NixOS system, you just need to manually specify the config (or something)
<red[evilred]> Rawr
<red[evilred]> Oops, wrong channel sorry
<Taneb> Is it possible to set the make target for stdenv.mkDerivation buildPhase?
halfbit has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #73876 → libsForQt5.phonon-backend-gstreamer: 4.9.0 → 4.10.0 → https://git.io/Je67I
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
knupfer has joined #nixos
boogiewoogie has joined #nixos
rotaerk has quit [Ping timeout: 240 seconds]
aminechikhaoui has quit [Ping timeout: 240 seconds]
drakonis has quit [Quit: Leaving]
Norimo has quit [Remote host closed the connection]
<boogiewoogie> hey, can I somehow 'save' a generation from being garbage collected permanently? there's an older one where some software I sometimes use works that doesn't on the current. I'd just like to save one specific gen (immunize it to gc, if you will) for the sole purpose of using the software and otherwise gc everything as usual
Rusty1 has quit [Remote host closed the connection]
alexherbo2 has quit [Ping timeout: 240 seconds]
endformationage has quit [Ping timeout: 240 seconds]
pingveno[m] has quit [*.net *.split]
imj[m] has quit [*.net *.split]
Smith[m] has quit [*.net *.split]
frislie[m] has quit [*.net *.split]
aterius has quit [*.net *.split]
arturo[m] has quit [*.net *.split]
shibboleth has quit [*.net *.split]
jb55 has quit [*.net *.split]
ng0 has quit [*.net *.split]
phreedom has quit [*.net *.split]
oida has quit [*.net *.split]
klntsky has quit [*.net *.split]
oxford has quit [*.net *.split]
andreas303 has quit [*.net *.split]
galaxie has quit [*.net *.split]
xelxebar has quit [*.net *.split]
<immae> boogiewoogie: I don’t know the details very well, but you could create a new "root" that points to the generation you want to keep. It would not be under the same name, but all the dependencies would be kept. As for how to do that, I’m not sure but man nix-store seems to say that --add-root does something like that?
aminechikhaoui has joined #nixos
irl25519 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<boogiewoogie> immae: i'll look into that, thanks!
irl25519 has joined #nixos
alexherbo2 has joined #nixos
dminuoso has joined #nixos
alexherbo2 is now known as alex```
oida has joined #nixos
phreedom has joined #nixos
xelxebar has joined #nixos
ng0 has joined #nixos
gxt has joined #nixos
cjpbirkbeck has quit [Quit: Quitting now.]
oxford has joined #nixos
idf has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @kolaente opened pull request #73879 → jetbrains.* 2019.2.4 -> 2019.2.5 → https://git.io/Je67M
noudle has joined #nixos
jb55 has joined #nixos
<ij> I want to try out kubernetes with multiple nodes locally, preferably in VMs. I know nixos can make VMs of itself – would that be the way to go to try this out?
<{^_^}> [nixpkgs] @gebner merged pull request #73875 → blender: 2.80 -> 2.81 → https://git.io/Je6Qw
<{^_^}> [nixpkgs] @gebner pushed 3 commits to master: https://git.io/Je679
<tilpner> ij: There's this thing, but I haven't tried it: https://github.com/saschagrunert/kubernix
<ij> that looks like what I need
CMCDragonkai has quit [Quit: Connection closed for inactivity]
elibrokeit has quit [Quit: A random quit message]
galaxie has joined #nixos
andreas303 has joined #nixos
elibrokeit has joined #nixos
<thoughtpolice> ij: I use 'kind' for this -- https://github.com/kubernetes-sigs/kind
<thoughtpolice> More recent versions can simulate multiple nodes, and conveniently you only need Docker for it
<fuzen> I am having issues packaging a python python application. Is there any way I can bundle a python app without the setup.py and specify which python file to run from the src? Here is my nix file https://gist.github.com/Fuzen-py/a8ee759f762ce22040357b943e2bd927
<boogiewoogie> hmm, so from what I understand, I can add a gcroot for an older generation and keep the dependencies, but I can't boot into it after gc'ing (since the profile path of the generation --its current gcroot which also makes it bootable into-- will still be removed. I need that though, since it's not just dependencies I need from the older gen.
<{^_^}> [nixpkgs] @FRidh pushed to master « python3: add pythonForBuild as parameter, fixes python3Minimal »: https://git.io/Je67Q
<ij> thoughtpolice, how does that even work? will it have docker in docker? so the node container is privileged mode?
drakonis_ has quit [Ping timeout: 245 seconds]
irl25519 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
leotaku has quit [Ping timeout: 240 seconds]
Ariakenom_ has joined #nixos
nexgen3 has joined #nixos
klntsky has joined #nixos
eeva has quit [Read error: Connection reset by peer]
irl25519 has joined #nixos
Czen1 has joined #nixos
jonafato- has joined #nixos
duck_ has joined #nixos
satoshi has joined #nixos
infinisi1 has joined #nixos
mog- has joined #nixos
ng0 has quit [Ping timeout: 260 seconds]
pie_ has joined #nixos
amir_ has joined #nixos
georges_ has joined #nixos
Ralith__ has joined #nixos
ajp_ has joined #nixos
eon`_ has joined #nixos
twistedjoe_ has joined #nixos
evanjs- has joined #nixos
lux3 has quit [Ping timeout: 252 seconds]
ddima__ has joined #nixos
ng0 has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
alp- has joined #nixos
lux3 has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
nexgen has quit [Remote host closed the connection]
georges has quit [Quit: ZNC 1.7.1 - https://znc.in]
evanjs has quit [Remote host closed the connection]
pie__ has quit [Remote host closed the connection]
Thra11 has quit [Ping timeout: 240 seconds]
mog has quit [Ping timeout: 240 seconds]
eon` has quit [Ping timeout: 240 seconds]
twistedjoe has quit [Remote host closed the connection]
codezero has joined #nixos
mg- has quit [Ping timeout: 240 seconds]
mg- has joined #nixos
ddima_ has quit [Ping timeout: 240 seconds]
mog- is now known as mog
Ralith_ has quit [Ping timeout: 240 seconds]
<boogiewoogie> on a related note: I'd like to somehow get a gcroot from just a shell.nix and thus keep the dependencies it invokes. any ideas? apart from naively looking up the store paths and adding all of them as roots :p
omnipotententity has joined #nixos
<boogiewoogie> I'm using it to build something locally, since the software's config files would be installed into the nix store alongside it and not be writable
<boogiewoogie> so I can't point to a derivation
omnipotententity is now known as Guest72295
<boogiewoogie> with locally i mean raw, not using nix-build
FRidh has quit [Quit: Konversation terminated!]
kini has joined #nixos
shibboleth has joined #nixos
xkapastel has joined #nixos
evanjs- has quit [Quit: ZNC 1.7.4 - https://znc.in]
Thra11 has joined #nixos
philr has joined #nixos
Ariakenom_ has quit [Quit: Leaving]
evanjs has joined #nixos
boogiewoogie has quit [Quit: Leaving]
boogiewoogie has joined #nixos
Kirens has joined #nixos
leotaku has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
<thoughtpolice> ij: not sure tbh! I just use it for setting up demo clusters. Can’t say if it uses D-in-D or the host docker daemon to run pods
hexa- has joined #nixos
<ij> alright, alright :)
<{^_^}> [nixpkgs] @jtojnar opened pull request #73881 → glib.setupHook: fix make_glib_find_gsettings_schemas → https://git.io/Je656
<{^_^}> [nixpkgs] @timokau merged pull request #73040 → gnash: fix compilation with libgif 5.2 → https://git.io/JeVmx
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/Je65P
Neo-- has quit [Ping timeout: 245 seconds]
Jackneill has joined #nixos
rotaerk has joined #nixos
irl25519 has quit [Ping timeout: 245 seconds]
LysergicDreams has joined #nixos
<Denommus> aminechikhaoui: I exported the deployment to another machine where nixops was working, thanks for your help
Denommus has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @risicle opened pull request #73882 → tnef: 1.4.17 -> 1.4.18, addressing CVE-2019-18849 → https://git.io/Je65A
<ij> is cri-o logo similar to nixos' by accident?
Jackneill has quit [Remote host closed the connection]
<adisbladis> ij: Likely the cri-o one is inspired by the kubernetes logo
<samueldr> hopefully
<ij> ah
<jared-w> yeah it'll be inspired by k8s if anything
<{^_^}> [nixpkgs] @etu opened pull request #73883 → Init php74 → https://git.io/Je65h
iqubic has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
aw has quit [Client Quit]
spacefrogg has quit [Client Quit]
aw has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spacefrogg has joined #nixos
<etu> gchristensen: What does the last line here mean? https://gist.github.com/GrahamcOfBorg/f9ad3c416df8db870a9f5c64bb618a2e :D
<etu> I don't get it
boogiewoogie has quit [Remote host closed the connection]
<samueldr> eval time fetching
<samueldr> builtins.fetchurl is not a FOD, but happens at eval time
aveltras has quit [Quit: Connection closed for inactivity]
<etu> samueldr: Aaah, I get it :)
<etu> makes sense, thanks!
jgeerds has joined #nixos
lunik1213 has joined #nixos
lunik1213 is now known as lunik1
endformationage has joined #nixos
philr has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #73884 → nixos/beanstalkd: keep jobs in persistent storage → https://git.io/Je6dY
boogiewoogie has joined #nixos
<etu> samueldr: Buh... Why isn't it a FOD if it requires a hash?
<samueldr> it does not require a hash
<samueldr> [searching for the citation]
<samueldr> >> builtins.fetchurl url
<samueldr> Download the specified URL and return the path of the downloaded file
mexisme has quit [Ping timeout: 240 seconds]
<atlas_> is `warning: unable to download 'https://nixos.org/channels/nixpkgs-unstable': SSL peer certificate or SSH remote key was not OK (60); retrying in 2531 ms` a common issue? I'm trying to run `nix-channel --update`.
<samueldr> >> builtins.fetchurl and builtins.fetchTarball now support sha256 and name attributes.
fendor has joined #nixos
<etu> samueldr: Is fetchTarball a better choice maybe?
<tilpner> atlas_: Never seen that. Is your system time correct?
<atlas_> samueldr: I think I just came across your website a minute ago. Do you run a chat logger for nix related channels?
<samueldr> atlas_: yes
<atlas_> tilpner: It is.
<samueldr> and date?
<tilpner> atlas_: Use a browser or curl to gather more information
tokudan has quit [Quit: Dunno.]
<atlas_> date yields `Thu Nov 21 16:20:22 CST 2019`
<atlas_> which is correct for me ^
<samueldr> alright, then at least it's not the non-obvious thing with SSL and cert verification
<samueldr> etu: you'd use whatever the overriden thing uses
<samueldr> but *not* builtins, but from pkgs
<etu> samueldr: yeah, just noticed
<etu> :)
tokudan has joined #nixos
tokudan has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70897 → bloop: 1.3.2 -> 1.3.4 → https://git.io/JeWxO
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @Tomahna to master « bloop: 1.3.2 -> v1.3.4 »: https://git.io/Je6dZ
<atlas_> `error: unable to download '/nixexprs.tar.bz2': URL using bad/illegal format or missing URL (3)` is at the end of a couple retry messages
<{^_^}> [nixpkgs] @blanky0230 opened pull request #73885 → WINixos tuxedo keyboard → https://git.io/Je6dc
knupfer has quit [Ping timeout: 252 seconds]
<etu> samueldr++ Thanks :)
<{^_^}> samueldr's karma got increased to 135
<samueldr> atlas_: could you nix-channel --list?
tokudan has joined #nixos
<samueldr> (and share the results in a gist if you have more than one channel to list)
<tilpner> atlas_: That indeed doesn't seem to exist anymore
<samueldr> (gist or whatever pastebin you like)
<atlas_> samueldr: it's just `nixpkgs https://nixos.org/channels/nixpkgs-unstable` for me :)
<tilpner> atlas_: Which Nix version are you using?
<atlas_> tilpner: I'm using nix (Nix) 2.3.1
<tilpner> Huh, bz2 failing doesn't mean anything
<tilpner> Nix tries .xz first, catches the failure and tries bz2
<tilpner> So that just means both failed
<tilpner> What did curl/Firefox say about the certificate?
<samueldr> atlas_: I figure you're the one that just sent an e-mail, right?
<atlas_> samueldr: Yeah. I sent it before coming here
<samueldr> no worries, I'll answer publicly :)
<samueldr> that's the IRC logger in use
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70774 → seg3d: remove → https://git.io/JeWlX
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @cko to master « seg3d: remove »: https://git.io/Je6dW
<atlas_> oh, ok. I know of whitequark (she's active on twitter), but I haven't used her logger :)
<samueldr> it's basically that logger, and a CSS tweak for the light theme as the highlight wasn't great imo
<atlas_> tilpner: Safari didn't complain at all when I opened the link.
<samueldr> hmmm... since it's not nixos, maybe some certificate storage thing?
<samueldr> that curl, which nix is built with, not being able to validate any?
<samueldr> oh, though missing url, illegal format is likely not that
<{^_^}> [nixpkgs] @flokli opened pull request #73886 → nixos/phpfpm: enable PrivateTmp=true → https://git.io/Je6dl
<jtojnar> $ nix-build -A lorri
<jtojnar> error: opening file '/nix/store/pgjrcklmdjxqdik1a2vmr4lbv4vlkzdn-source.drv': No such file or directory
<jtojnar> why would I get this on nixos-unstable?
<samueldr> jtojnar: since you fsck'd, *and* likely had issues... maybe some store corruption
<samueldr> I don't remember the commands to use to check/fix off the top of my head
<samueldr> (but I'm pretty sure you can manage)
* jtojnar sent a long message: < >
<samueldr> [17:36:55] -*- jtojnar sent a long message: < >
<samueldr> that's a new one
<etu> matrix long messages have been broken for a couple of days now...
<jtojnar> `sudo nix-store --verify --repair` errors "warning: cannot repair path '/nix/store/pgjrcklmdjxqdik1a2vmr4lbv4vlkzdn-source.drv'"
<samueldr> I think this is because it doesn't know how to make that drv, but not sure what it actually means in this situation
<atlas_> http://ix.io/22tk here's what curl has to say about nixpkgs-unstable
<samueldr> is there a file there? if so, jtojnar, maybe nix-store --delete would help?
<jtojnar> samueldr it is not
<jtojnar> nix-store --query --referrers points me to ninja, which points me to every package using ninja
<jtojnar> atlas_ did you do curl --follow-redirects?
<jtojnar> s/--follow-redirects/--location/
<samueldr> the curl used might have no relations to the curl that nix is linked with, thoug
mexisme has joined #nixos
<samueldr> (not sure if it matters)
<jtojnar> sorry, missed the rest of the conversation
<samueldr> no worries :) the test was (possibly) flawed in that case since the start, so my assertion is more of a question in fact
<atlas_> jtojnar: whoops, noob mistake. Here's the output of curl -L: http://ix.io/22tn
o1lo01ol1o has quit [Remote host closed the connection]
<tilpner> atlas_: I assume nix-channel no longer gives the SSL errors?
<atlas_> which Safari shows as having a valid SSL certificate
<atlas_> tilpner: the nix-channel behavior hasn't changed :(
<tilpner> Huh
<tilpner> Could they be using different trust roots?
<tilpner> No, that's not how the error sounds
<atlas_> I've been messing with the web server caddy, which does automatic SSL certification. Could this have messed up some sort of local configuration?
<samueldr> something that I don't know how to try, would be to figure out which curl is used by nix, and use that curl's curl CLI
ddellaco1 has quit [Ping timeout: 265 seconds]
<tilpner> Related: #70939
<{^_^}> https://github.com/NixOS/nixpkgs/issues/70939 (by xbreak, 6 weeks ago, closed): SSL peer certificate or SSH remote key was not OK (60)
chloekek_ has quit [Ping timeout: 240 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
<jtojnar> `nix-instantiate -A ninja.src` at e89b21504f3e61e535229afa0b121defb52d2a50 prints the missing drv file `/nix/store/pgjrcklmdjxqdik1a2vmr4lbv4vlkzdn-source.drv` but it is not added to the store
<jtojnar> does anyone have the file?
klntsky has quit [Remote host closed the connection]
<tilpner> jtojnar: https://tx0.co/ninja.drv
<tilpner> Or were you looking for the output?
klntsky has joined #nixos
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<jtojnar> thanks, will try to get this to the store
<jtojnar> since this is what Nix is complaining about missing
noudle has quit []
<boogiewoogie> hey, still on this: I'm trying to make an older generation a gcroot that's immune to getting collected with the -d flag. does anyone have an idea how?
<tilpner> jtojnar: I don't know what would cause this, my only vague guess is store corruption in the form of the nix db getting out of sync with what files are actually present
<boogiewoogie> from how I understand it, doing `nix-store --add-root` lets me keep the derivations in the store, but it doesn't let me boot into it as it's not in the profile list anymore, but just some regular gcroot
<atlas_> what does 'prefix' mean in this section? sh <(curl https://nixos.org/nix/install)
<tilpner> atlas_: That might be wherever you installed Nix to
<tilpner> atlas_: It's a common while building, built artifacts are installed into prefix/destdir
<tilpner> *common term
justanotheruser has quit [Ping timeout: 240 seconds]
<atlas_> tilpner: I installed to /nix (really /org/nix and symlinked to /nix; it's the current hack for macOS) but I don't have a /nix/etc/ or /nix/bin
mexisme has quit [Ping timeout: 252 seconds]
<tilpner> I can't really help you there, never used macOS :/
<atlas_> does everyone else have a /nix/etc/ or /nix/bin?
<tilpner> No, that's the first I've heard someone try to use them
<tilpner> Conventionally, /nix only contains two directories, /nix/store, and /nix/var
<tilpner> But then again, I'm not familiar with the workarounds Apple may force on people
<atlas_> that's what I have as well. The above link suggests that I should have a /nix/etc and /nix/bin
<tilpner> How exactly did you install Nix?
<jtojnar> I cannot even rebuild to configuration making store writable
<jtojnar> error: while evaluating the attribute 'buildCommand' of the derivation 'nixos-system-kaiser-20.03.git.ef8e0d1' at /home/jtojnar/Projects/nixpkgs/nixos/modules/system/activation/top-level.nix:102:5:
<jtojnar> opening file '/nix/store/pgjrcklmdjxqdik1a2vmr4lbv4vlkzdn-source.drv': No such file or directory
<atlas_> the only (possibly) significant difference is that /nix is really a symlink, but I don't think that's relevant to this problem
<tilpner> How does /org/nix look like (tree output)?
<atlas_> I used `sh <(curl https://nixos.org/nix/install) --no-daemon`.
<jtojnar> and $ sudo nix-store --repair-path /nix/store/pgjrcklmdjxqdik1a2vmr4lbv4vlkzdn-source.drv
<jtojnar> error: cannot repair path '/nix/store/pgjrcklmdjxqdik1a2vmr4lbv4vlkzdn-source.drv'
<tilpner> jtojnar: Any improper shutdowns/flaky drives or experimental Nix versions lately?
<jtojnar> tilpner only running out of disk space ten times today (EXT4)
fendor has quit [Ping timeout: 252 seconds]
<tilpner> Oh, and you mentioned that weird fsck freeing space?
<tilpner> That sounds quite suspicious
<jtojnar> yup
v0|d has quit [Ping timeout: 265 seconds]
<tilpner> It might be possible to fix this manually
<tilpner> But... nuking and redoing the store is likely to be quicker
<jtojnar> is it possible to do it from the system? or do I need to switch to live OS?
<tilpner> I didn't read up, if you haven't the common store repair options, you can still give those a go
<tilpner> *haven't tried the
<atlas_> well, here we are. I have no idea what I did, but everything works fine now.
growpotkin has joined #nixos
<tilpner> Live ISO would be easiest, kexec would work, anything else is black magic
<atlas_> samueldr++ tilpner++ thank you!
<{^_^}> samueldr's karma got increased to 136, tilpner's karma got increased to 56
<jtojnar> tilpner `sudo nix-store --verify --repair` also says it cannot repair it
<tilpner> jtojnar: Was this the only issues nix-store found?
<jtojnar> yes
<tilpner> With --verify --check-contents?
<jtojnar> all other I managed to fix
<jtojnar> will try check contents
<jtojnar> there are quite a few of hash mismatches
<{^_^}> [nixpkgs] @c0bw3b opened pull request #73888 → Treewide: fix more URL permanent redirects → https://git.io/Je6Ff
<tilpner> jtojnar: If this one path was the only one, I might suggest unsafe surgery with rw remouting and editing the sqlite db directly
<tilpner> But you'll never get the feeling of your store being broken away, and wonder at every failure if it's still corrupted
<notgne2> I've had repair tell me it cannot repair before, and had things start working again afterwards anyway
<tilpner> Well, maybe I was just speaking for myself
<tilpner> :c
ddellaco1 has joined #nixos
<boogiewoogie> is there a way how I can add all the specific derivations getting pulled in when entering a nix-shell instance gcroots?
<boogiewoogie> as gcroots*
<notgne2> thankfully I've never really had understand how stores work and get corrupted, it's only happened once on my wife's laptop where I just ran repair a few times, it spat out a bunch of errors and everything has worked ever since
LysergicDreams has quit [Ping timeout: 252 seconds]
alex``` has quit [Quit: The Lounge - https://thelounge.chat]
LysergicDreams has joined #nixos
sondr3 has quit [Quit: WeeChat 2.6]
<notgne2> though if something is ever broken beyond repair, it's very easy to just do it all again from scratch
<notgne2> I recently moved over to a new hard drive, and was happy to simply run `nixos-install` to put my OS on the new drive
thc202 has quit [Ping timeout: 250 seconds]
<jtojnar> tilpner `sudo mount -o remount,rw,bind /nix/store && sudo cp ninja.drv /nix/store/pgjrcklmdjxqdik1a2vmr4lbv4vlkzdn-source.drv && sudo chmod a=r /nix/store/pgjrcklmdjxqdik1a2vmr4lbv4vlkzdn-source.drv` seems to have fixed the issue
<jtojnar> or at least nix-store --verify no longer complains
<jtojnar> thanks for the help
alexherbo2 has joined #nixos
snajpa has left #nixos [#nixos]
<magneticduck> I added a file to the nix store with `nix-store --add-fixed sha256 ...`. now, I want to make a requireFile point to it. I've been querying its hash with `nix-hash --type sha256 /nix/store/...` and using that as the sha256 parameter for requireFile, but I'm getting the error message telling me that the file isn't in the store.
<magneticduck> am I getting the hash the way I'm supposed to?
ddellaco1 has quit [Ping timeout: 240 seconds]
werner291 has quit [Quit: werner291]
rardiol has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #73888 → Treewide: fix more URL permanent redirects → https://git.io/Je6Ff
<{^_^}> [nixpkgs] @jonringer pushed commit from @c0bw3b to master « Treewide: fix more URL permanent redirects »: https://git.io/Je6Fg
alexherbo2 has joined #nixos
<colemickens> So I'm including nixos-hardware in my machine configuration, and including this in particular:
<colemickens> I don't have "throttled" anywhere else in my system config.
<colemickens> if it is enable = mkDefault true here, then why is it not running on my machine?
<tilpner> colemickens: nixoso-option services.throttled.enable
<tilpner> *nixos-option
<colemickens> nixos-option services.throttled.enable
<colemickens> what(): getting status of '/mnt/home/cole/code/nixcfg/machines/xeep-sway.nix': No such file or directory
<colemickens> terminate called after throwing an instance of 'nix::SysError'
<colemickens> I don't really use NIX_PATH or nixos-rebuild :(
* colemickens doesnt even know where the /mnt/ is coming from in there, some installation artifact I guess.
<tilpner> colemickens: nix-instantiate --eval '<nixpkgs/nixos>' -A config.services.throttled.enable
<tilpner> Oh, if you're not using nixos-rebuild... nixops?
<tilpner> Don't know how to check config with that
<colemickens> tilpner: I couldn't wait for flakes so I sorta did it myself: https://github.com/colemickens/nixcfg/blob/master/nixup.sh
<colemickens> pinned overlays, pinned imports, reproducible system builds.
<tilpner> Ahh, yes
<colemickens> but I can basically still set NIX_PATH and should be able to evaluate that last one you gave me at least.
<tilpner> Well, then you should be able to figure out how to eval that attrpath
<colemickens> should ;) sometimes I still get tripped up, heh
<colemickens> weird, so when I evaluated that, I got true. These changes weren't recent either. Interesting.
<colemickens> I've got some more ideas of things to check though.
<tilpner> colemickens: systemctl status lenovo_fix
<colemickens> :/ that is running yes.
kleisli has quit [Ping timeout: 250 seconds]
danielrf has joined #nixos
<tilpner> Then all is fine and we're done here :)
<colemickens> but my thermal limit is still set wrong and why is it not just called throttled if its "services.throttled.enable" ...
<colemickens> sudo undervolt --read
<colemickens> temperature target: -5 (95C)
<colemickens> it should be 97C to my understanding.
<colemickens> And if I set it thusly with undervolt, something... is coming along and resetting it immediately.
<colemickens> Maybe throttled/intel_fix's defaults are more conservative than the script it replaced?
<tilpner> That's a hardware-specific problem I can't help you with
<tilpner> :/
* colemickens nods
<colemickens> thanks for the help :)
<tilpner> Although you may want to adjust /etc/lenovo_fix.conf
Thra11 has quit [Quit: WeeChat 2.5]
danielrf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
danielrf has joined #nixos
danielrf has quit [Client Quit]
danielrf has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #73889 → Bump pydocstyle → https://git.io/Je6F5
nek0 has joined #nixos
<nek0> hi folks, I fail to find a possibility to determine the number of maxJobs to provide it in the buildPhase inside a derivation. Can somebody help me here?
<tilpner> nek0: See NIX_BUILD_CORES
<tilpner> Although that's nix.buildCores instead of nix.maxJobs
<tilpner> You probably want nix.buildCores though
ogle__ has joined #nixos
<ogle__> is there any tooling for patching paths within config, shell scripts, etc? I am currently packaging lustre/mofed and theres hundreds of occurences of /bin/ls and the like littered around and I am hoping not to reinvent the wheel heer
<ogle__> here*
<nek0> tilpner: thanks!
<tilpner> ogle__: substituteInPlace or sed