andi- 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/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<cole-h> fionera: You can run sway inside of sway, you know :P
vykook has quit [Ping timeout: 258 seconds]
<fionera> yeah but I cant run stuff in there to check if opengl is running since my shortcuts dont get captured
<clever> gchristensen: :O
<{^_^}> [nixpkgs] @adisbladis closed pull request #72629 → python38Packages.clikit: 0.3.2 -> 0.4.0 → https://git.io/JegM2
<gchristensen> clever: :D
<clever> gchristensen: that reminds me
jonten has quit [Ping timeout: 256 seconds]
<clever> gchristensen: i think it was called cssh, it was a util to ssh into N machines at once
<cole-h> fionera: Do I have a solution for you
<clever> gchristensen: and it would repeat your keystroke on each window
<cole-h> (hold please)
<cole-h> fionera: https://gist.github.com/cole-h/02d786e88bec1ca07be97f61f1bc5d3d Now you can use your bindings inside your sub-sway instances :)
<gchristensen> nice
<gchristensen> clever: these are all read-only (just tail -f basically) but that sounsd really great
xelxebar has quit [Ping timeout: 240 seconds]
<fionera> gchristensen: there is a terminal called Terminator that also supports that
cosimone has quit [Ping timeout: 256 seconds]
<fionera> cole-h: ah nice thx
<gchristensen> fionera: the repeated input?
vykook has joined #nixos
<fionera> yes the repeated input
<gchristensen> cool
<energizer`> looks like the current way to add large files requires some work (and maybe root) https://raw.githubusercontent.com/deepfire/nixos-wiki/master/How%20to%20add%20large%20files%20to%20the%20nix-store.page . how hard would it be to add a function (or change the existing ones) so that they don't barf on large files?
<excelsiora> gchristensen: I ran mypy on it, I'll see what I can do now...
mexisme_ has quit [Ping timeout: 240 seconds]
boxscape has quit [Remote host closed the connection]
<excelsiora> gchristensen: I'm looking at backends...
<gchristensen> great!
abathur has joined #nixos
vykook has quit [Ping timeout: 255 seconds]
<excelsiora> gchristensen: I see a little that can be simplified a tiny bit (solution should work in 2.7+) shall I simplify it? Are we trying to support Python 2.7? 2.6?
<gchristensen> excelsiora: python 3.7 :P
vykook has joined #nixos
drakonis has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @marsam merged pull request #81390 → cargo-xbuild: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgoY
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvg9A
<energizer`> why is the nix store globally readable?
<{^_^}> [nixpkgs] @marsam merged pull request #81400 → click: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvg6J
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvg9x
<{^_^}> [nixpkgs] @marsam merged pull request #81397 → rustup: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgK1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvg9p
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm has joined #nixos
vykook has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #81377 → routinator: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgVj
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgHk
<{^_^}> [nixpkgs] @marsam merged pull request #81376 → webmetro: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgV9
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgHI
<{^_^}> [nixpkgs] @marsam merged pull request #81251 → bukubrow: upgrade cargo fetcher and cargoSha256 → https://git.io/JvzMf
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgHL
<{^_^}> nix#8 (by edolstra, 7 years ago, open): Support private files in the Nix store
<NemesisD> how can i figure out where an executable in my ~/.nix-profile/bin comes from? i'm using home-manager but i can't figure out why this binary is still available
<excelsiora> gchristensen: how do you feel about __slots__?
<gchristensen> hm?
<{^_^}> [nixpkgs] @marsam merged pull request #81378 → system-syzygy: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvgwf
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgHY
nerdmaxx has joined #nixos
<excelsiora> can eliminate __dict__ and have only slots for declared attributes
<gchristensen> neat
<excelsiora> smaller, faster
<gchristensen> it might work, not sure though... :)
<excelsiora> biggest upside probably for preventing typos
<gchristensen> yeah
<energizer`> if you're only targeting 3.7 you can use dataclasses
<cole-h> NemesisD: `realpath ~/.nix-profile/bin/binaryhere`?
<excelsiora> but mypy also probably helps...
<gchristensen> where do you want to use it?
<excelsiora> not gonna suggest metaclasses
<energizer`> (and http://www.attrs.org/ otherwise)
<excelsiora> class definitions where appropos
<{^_^}> [nixpkgs] @marsam merged pull request #81381 → rx: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgwR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgHO
<gchristensen> cool. it might be tricky for some -- some of the code is ... loose
<{^_^}> [nixpkgs] @marsam merged pull request #81399 → tiny: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvg6e
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgH3
<excelsiora> it could help tighten it up.
<gchristensen> yea
<energizer`> which code is this?
<gchristensen> nixops
<{^_^}> nixops#1232 (by grahamc, 1 day ago, open): 2-to-3: Start with types
<excelsiora> not gonna suggest non-standard-lib solutions either.
<excelsiora> Currently working on MachineDefinition
<energizer`> dataclasses is stdlib
<excelsiora> dataclasses not really applicable here either - custom __init__s
<gchristensen> excelsiora: careful: a lot of things extend that in plugins
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7948e6785b4 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> [nixpkgs] @Nitori- opened pull request #81417 → cocotb: 1.2.0 -> 1.3.0 → https://git.io/JvgHn
<excelsiora> extensions that subclass aren't restricted with slots
<gchristensen> cool
<gchristensen> nice!
<excelsiora> if they're extending by monkeypatching, I'd argue they're extending it wrong.
<excelsiora> I'll hold off on slots for now
<excelsiora> but I'll do the analysis and open a ticket for it.
<excelsiora> This could be a really good project for me to focus on near term...
<gchristensen> yay :D
<energizer`> might be fun to try out monkeytype on nixops https://github.com/Instagram/MonkeyType
<fresheyeball> PG::ConnectionBad: could not connect to server: No such file or directory
<fresheyeball> from gitlab
<fresheyeball> grrr
mounty has joined #nixos
nek0 has quit [Quit: ZNC 1.7.5 - https://znc.in]
nek0 has joined #nixos
sigmundv__ has quit [Read error: Connection reset by peer]
<fresheyeball> anyone have a working gitlab example?
<fresheyeball> I had this just fine on 18.03 but things have clearly changed
<Baughn> So apparently the git package doesn't build if I use ZFS on root.
<Baughn> Or ZFS on wherever-the-builds-are-run, I suppose.
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #81382 → gleam: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgwP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgH0
<{^_^}> [nixpkgs] @marsam merged pull request #81380 → wasm-pack: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvgwn
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgHE
<{^_^}> [mobile-nixos] @samueldr merged pull request #80 → Graphical boot selection → https://git.io/JvglU
<{^_^}> [mobile-nixos] @samueldr pushed 39 commits to master: https://git.io/JvgHu
<{^_^}> [nixpkgs] @marsam merged pull request #81398 → newsboat: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgKF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgHg
vykook has joined #nixos
<NemesisD> cole-h: i'm not sure i follow. if i run `realpath ~/.nix-profile/bin/certbot` it says `/nix/store/18ayr7cydd0f2h7lzqiyra545xi3xcdb-certbot-0.39.0/bin/certbot`, but im not sure what that tells me. i don't directly ask for certbot anywhere (i'm actually trying to debug certbot but i removed all references to it i thought)
erictapen has joined #nixos
koleesch_ has quit [Remote host closed the connection]
koleesch_ has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.6]
<excelsiora> gchristensen: what branch should I branch from?
<gchristensen> starting-with-types or whatever is closely named to that :)
<cole-h> NemesisD: You might not have `home-manager switch`d yet, if you previously did have certbot in your home.nix config somewhere.
<excelsiora> gchristensen: also, you have a semantically abstract base class that requires a classmethod, so would it make sense to subclass ABC instead of object and use the abstractmethod decorator in that case?
vykook has quit [Ping timeout: 256 seconds]
<cole-h> NemesisD: If it shows up in `nix-env -q`, it means you installed it with `nix-env` and it needs to be uninstalled with `nix-env --uninstall certbot`
<NemesisD> cole-h: i just ran it to be sure. i also removed all previous generations.
werner291 has quit [Quit: werner291]
<NemesisD> cole-h: hmm it doesn't show up in `nix-env -q certbot`. i nevertheless ran `nix-env --uninstall certbot` and its still in my `~/.nix-profile/bin`
<cole-h> Probably won't change anything, but try `nix-env -q` without specifying certbot
<NemesisD> cole-h: it just tells me `home-manager-path`
<cole-h> Btw, certbot is pulled in by `letsencrypt`
<{^_^}> [nixpkgs] @marsam merged pull request #81392 → cargo-watch: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgoM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgHQ
nerdmaxx has quit [Ping timeout: 260 seconds]
<cole-h> So if you have that specified, or anything that requires it, that's where it would come from
<NemesisD> bingo!
<{^_^}> [nixpkgs] @marsam merged pull request #81391 → cargo-inspect: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvgog
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgHF
skrzyp has quit [Remote host closed the connection]
<cole-h> `nix-index` is a very nice tool (which provides `nix-locate`, which is how I found that :P)
skrzyp has joined #nixos
<NemesisD> cole-h: so what i'm actually trying to do is provision certbot with `certbot-s3front` which is a pip package. it isn't in python7Packages for some reason
<cole-h> Because there is no python7 yet ;^)
<NemesisD> lol i mean 37
vykook has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #81342 → argo: 2.4.3 -> 2.6.0 → https://git.io/Jvgnb
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgQJ
<NemesisD> i went down a weird rabbit hole of pypi2nix but didn't get very far. maybe that stray certbot was shadowing the one i was installing
nerdmaxx has joined #nixos
<NemesisD> generally speaking i don't really know how to install a python with pip-only packages installed. i'm not sure i understand why some packages are in the pythonPackages set and some aren't
<cole-h> If they aren't in the set, it's because nobody's put them there yet ;)
teto has quit [Quit: WeeChat 2.7.1]
ddellacosta has joined #nixos
vykook has quit [Ping timeout: 260 seconds]
JonReed has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #81414 → wofi: 1.0 -> 1.1 → https://git.io/Jvgys
<{^_^}> [nixpkgs] @jonringer pushed commit from @tadeokondrak to master « wofi: 1.0 -> 1.1 »: https://git.io/JvgQr
<NemesisD> ugh this sucks
jerryaldrichiii_ is now known as jerryaldrichiii
<{^_^}> [nixpkgs] @marsam opened pull request #81419 → recursive: 1.030 -> 1.042 → https://git.io/JvgQP
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4f5c57745c9 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvgQM
bhipple has quit [Ping timeout: 240 seconds]
vykook has joined #nixos
bhipple has joined #nixos
catvector has joined #nixos
ixxie has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #81373 → haskellPackages.stack: get building with ghc882 → https://git.io/JvgaZ
<{^_^}> [nixpkgs] @cdepillabout pushed 3 commits to haskell-updates: https://git.io/JvgQN
skykanin has joined #nixos
skykanin has quit [Client Quit]
philr has quit [Ping timeout: 256 seconds]
malSet has quit [Ping timeout: 255 seconds]
vykook has quit [Ping timeout: 255 seconds]
vykook has joined #nixos
maddo has quit [Quit: See ya]
drakonis has quit [Quit: WeeChat 2.7.1]
eadwu_is_running has joined #nixos
thc202 has quit [Ping timeout: 248 seconds]
eadwu_is_running has left #nixos [#nixos]
lovesegfault has joined #nixos
vykook has quit [Ping timeout: 240 seconds]
lovesegfault has quit [Client Quit]
catvector has quit [Quit: Leaving]
lovesegfault has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
Guest84428111 has joined #nixos
eadwu has joined #nixos
vykook has joined #nixos
vykook has quit [Ping timeout: 258 seconds]
markus1189 has quit [Ping timeout: 255 seconds]
KeiraT has quit [Remote host closed the connection]
iyzsong has joined #nixos
KeiraT has joined #nixos
vykook has joined #nixos
ZaraChimera has quit [Quit: Leaving]
qubasa_ has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
iyzsong- has joined #nixos
qubasa has quit [Ping timeout: 255 seconds]
markus1189 has joined #nixos
<{^_^}> [nixops] @AmineChikhaoui opened pull request #1236 → deployment.py: more mypy type checking → https://git.io/Jvg5O
iyzsong- has quit [Client Quit]
<Baughn> Note to self: running *2,304* simultaneous GCC instances is a good way to OOM.
malSet has joined #nixos
<emily> how did you manage that one?
<Baughn> Easy.
<Baughn> I have a 24-core CPU. 48 threads, nix.buildCores defaults to 0...
<Baughn> ... the worst case is 48 simultaneous build jobs, each of which uses `make -j48`.
<clever> Baughn: nix does `-j48 -l48`, so if the load avg goes over 48, make stops spawning children
<Baughn> The load average that's averaged over the last minute? :)
<clever> not clear
<clever> and yeah, a sudden spike can still murder the machine
<Baughn> Although what murdered my machine was actually cabla.
<Baughn> *cabal.
m0rphism has quit [Ping timeout: 240 seconds]
<Baughn> GHC uses a lot more memory than GCC, and doesn't use make.
<clever> ah, yeah
<clever> and `ghc -j48` uses threads, not processes
<Baughn> I'm tempted to wrap clone() with something that checks load.
<emily> you know, make has a jobserver protocol it uses internally used for this exact purpose
<emily> and that is documented and implemented by other software
<emily> I don't know why Nix doesn't just implement that
<clever> emily: i did always wonder how recursive make managed that
<emily> it's a gross protocol btw :P but simple
<clever> emily: i have also seen make forget about a dead child on the floor, and the entire thing grinds to a halt, waiting for a SIGCHLD from the corpse thats already dead
<clever> its happened to make ~3 times, and to git once
<clever> i think its a glibc bug, but i havent seen it in a while
eadwu has quit [Remote host closed the connection]
h0m1 has quit [Ping timeout: 272 seconds]
h0m1 has joined #nixos
erictapen has quit [Ping timeout: 258 seconds]
<erhandsome> does nixos-install fallback to compile package when network is bad?
<clever> erhandsome: yeah
iyzsong has joined #nixos
<erhandsome> clever: thanks, my one core chromebook is hang in compile, guess i need a reboot
<clever> erhandsome: if you fix the network, it should then download things
<clever> erhandsome: you can just ctrl+c the install and try again
<erhandsome> yeah,i'll try
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81420 → smemstat: 0.02.06 -> 0.02.07 → https://git.io/Jvg5D
MilkManzJourDad4 has joined #nixos
sigmundv__ has quit [Ping timeout: 240 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 240 seconds]
malSet has quit [Ping timeout: 240 seconds]
malSet has joined #nixos
malSet has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/200473b2254 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
alex_giusi_tiri has quit [Quit: Leaving.]
maxdevjs has quit [Remote host closed the connection]
delli3 has quit [Read error: Connection reset by peer]
chenhq2005 has joined #nixos
mexisme_ has joined #nixos
nerdmaxx has quit [Quit: Lost terminal]
justanotheruser has joined #nixos
mexisme_ has quit [Ping timeout: 256 seconds]
chenhq2005 has quit [Quit: No Ping reply in 180 seconds.]
wavirc22 has quit [Ping timeout: 260 seconds]
delli3 has joined #nixos
b has quit [Quit: Lost terminal]
chenhq2005 has joined #nixos
chagra has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
chagra_ has quit [Ping timeout: 255 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
malSet has joined #nixos
OmnipotentEntity has joined #nixos
butterthebuddha has joined #nixos
chenhq2005 has quit [Quit: No Ping reply in 180 seconds.]
chenhq2005 has joined #nixos
<evanjs> hrm. poking around for asus backlight keys but not finding much. anybody had any luck with getting these to work on nixos?
matthewbauer has joined #nixos
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @jonringer merged pull request #81410 → postman: 7.18.0 -> 7.19.1 → https://git.io/JvgMr
<{^_^}> [nixpkgs] @jonringer pushed commit from @evanjs to master « postman: 7.18.0 -> 7.19.1 »: https://git.io/JvgFk
chenhq2005 has quit [Ping timeout: 255 seconds]
gustavderdrache has quit [Quit: Leaving.]
malSet_ has joined #nixos
bhipple has quit [Remote host closed the connection]
malSet has quit [Ping timeout: 255 seconds]
Flambe has joined #nixos
lovesegfault has quit [Ping timeout: 256 seconds]
justanotheruser has quit [Quit: WeeChat 2.7.1]
butterthebuddha has joined #nixos
malSet_ has quit [Ping timeout: 256 seconds]
iyzsong has quit [Ping timeout: 240 seconds]
maxdevjs has joined #nixos
iyzsong has joined #nixos
<evanjs> Trying some bits from this page but no luck so far https://wiki.archlinux.org/index.php/Laptop/ASUS
<evanjs> Running an ASUS G751JY, anyhow
malSet has joined #nixos
justanotheruser has joined #nixos
<wedens[m]> evanjs: what program do you use to control backlight?
<wedens[m]> I'd try 'light' (programs.light.enable = true) as it seems to work in more cases that e.g. xbacklight
<evanjs> yeah I found xbacklight works and etc, trying to map the function keys (f5,f6) atm
<samueldr> evanjs: for an asus laptop of mine, the fn+whateverfkeys didn't work until a couple linux releases in
<samueldr> 2014 laptop though
<samueldr> though, I would expect kind of the same, that it may take a while until it's somehow handled by the kernel
<evanjs> yeah... 2015 or so for mine I think
<samueldr> hmmm
<samueldr> if you're on 4.19, it might be relevant to check 5.5
<samueldr> though if you're using an intel igpu
<samueldr> you may not want to move off 4.19
<samueldr> though 2015 I would have assumed it would be fixed if it was going to be
<samueldr> but I don't even know what was done in my case :)
<evanjs> I'm on latest :D
<evanjs> 5.5.7 atm
<evanjs> And NVIDIA
<colemickens> 5.5.x, ditched Iris, VSCodium updated to a newer Chromium, I can happily say its been 2-3 weeks at least since an igpu hang
<colemickens> for a totally random extra ancedotal data point :P
<samueldr> colemickens: you know exactly what is going to happen
<samueldr> I give it ~20 minutes
<samueldr> though, on a more seriout note: "ditched Iris"?
<iqubic> What is Iris?
<colemickens> I had been building mesa.drivers with iris enabled and then setting some MESA env var so that it would use the new Intel Gallium based mesa driver.
chenhq2005 has joined #nixos
<colemickens> Instead, I've removed the override, the env var and gone back to the i915/965 whatever it is, and things got better. (Or I got a kernel update at the same time, or there was a BIOS update in there for something else, who knows).
<colemickens> I'll be curious to see what happens, I think Mesa 20 or 21 enables it and switches to it by default
<samueldr> we'll see I guess :/
<samueldr> it's a big mess of unreproducible issues it seems :(
<evanjs> On another note, graphics switching would be nice, but I can't recall if it's possible with mine (980M, i7-4860HQ w/Iris® Pro Graphics 5200)
<colemickens> It just sucks to see the system seemingly hung, and then see it manage to shut down when I hit the power button. I guess I haven't tried to ssh in yet when the gpu hangs, idk.
<colemickens> I wonder how hard it is for Intel to fix, slash how hard they're trying. Seems to be dragging on and hurting their credibility to some extentn.
<samueldr> hmm, now that I have "some downtime" from work, I can upgrade to 20.03, dogfood that dastardly update and see if 5.5 is fine here
<evanjs> yeah I usually stick to latest (kernel) and nixos-unstable. Only problems I ever run into are vbox and nvidia, but I've been using qemu more than vbox lately, anyway :P
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iqubic> So, I have this particular shell.nix. Is there any easy way I can modify this to specify a particular GHC version?
malSet has quit [Ping timeout: 240 seconds]
Flambe has quit [Quit: Konversation terminated!]
<evanjs> iqubic: this bit of the manual might be helpful https://nixos.org/nixpkgs/manual/#how-to-install-a-compiler-with-libraries. Specifically the ghcWithPackages bit
<iqubic> Thank you.
<iqubic> I'll look into it.
<iqubic> "pkgs.haskell.packages.${compiler}.callCabal2Nix ..." is what I want to do. Is that legal?
artemist has quit [Quit: = ""]
<iqubic> I want to use specify my haskell version when using that.
<iqubic> Wait.. that's the test.
koleesch__ has joined #nixos
<iqubic> I just don't know how to modify my code to work with different compiler.
lovesegfault has joined #nixos
koleesch_ has quit [Ping timeout: 272 seconds]
<tA_> howdy, im hoping to have multiple drives that are luks formatted, and having the keyfile for them be a partition thats had a key dd'ed to it. i read about it in a guide ages ago, but cant find it again, has anyone done this / have a better suggestion?
philr has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
monadplus has joined #nixos
ddellacosta has quit [Ping timeout: 258 seconds]
iyzsong has joined #nixos
palo1 has joined #nixos
energizer` has quit [Remote host closed the connection]
abathur has quit [Ping timeout: 258 seconds]
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @flokli merged pull request #81407 → wayland-protocols: 1.18 -> 1.20 → https://git.io/JvgX1
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging: https://git.io/JvgFF
energizer` has joined #nixos
orivej has joined #nixos
<iqubic> Is there any cachix cache for different haskell package sets compiled with different ghc compilers
chloekek has joined #nixos
elux has quit [Ping timeout: 255 seconds]
elux has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #80991 → perlPackages.MozillaCA: replace outdated cacert.pem with pkgs.cacert → https://git.io/JvEKr
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JvgbT
Mateon3 has joined #nixos
Mateon2 has quit [Ping timeout: 255 seconds]
Mateon3 is now known as Mateon2
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 255 seconds]
chloekek has quit [Ping timeout: 260 seconds]
iyzsong- has joined #nixos
dsx has quit [Quit: dsx]
iyzsong has quit [Ping timeout: 260 seconds]
dsx has joined #nixos
<cole-h> How would I make an option that could be either an `attrsOf lines` or an `attrsOf (attrsOf lines)`? E.g. either `{ hello = "echo hello" }` or `{ hello = { body = "echo hello"; event = "something"; }; }`
<iqubic> myType = with types; either (attrsOf lines) (attrsOf (attrsOf lines))
<iqubic> And then just set the type of the option to `myType`
<iqubic> You can see how it's used in Home-Manager config for the dunst notification daemon here: https://github.com/rycee/home-manager/blob/master/modules/services/dunst.nix#blob-path
<cole-h> iqubic++ Thanks, I'll try that :)
<{^_^}> iqubic's karma got increased to 2
<iqubic> I forgot the second semicolon at the end of the myType declaration.
<cole-h> I get the point :P
<iqubic> I hope that works for you.
<cole-h> We'll find out.
Boarders has quit [Ping timeout: 260 seconds]
<iqubic> I hope the Dunst configuration example is good. It uses a more complex type than yours, but the concepts should be transferable.
<cole-h> Hardest part is going to be figuring out how to parse and use it now
<iqubic> That's not something I can help you with. I'm sorry.
<cole-h> You've done enough. Now I have to trudge through the docs and prior art
lovesegfault has quit [Quit: WeeChat 2.7.1]
monadplus has quit [Ping timeout: 260 seconds]
domogled has joined #nixos
<iqubic> The `with types; either ...` thing should work, as I just took the same format as that Dunst thing from Home-Manager.
linarcx has joined #nixos
whadup has joined #nixos
chloekek has joined #nixos
gordon has quit [Ping timeout: 265 seconds]
cole-h has quit [Ping timeout: 256 seconds]
Sajesajama has joined #nixos
domogled has quit [Quit: domogled]
v88m has quit [Ping timeout: 240 seconds]
chenhq2005 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @gnidorah opened pull request #81421 → mame: 0.218 -> 0.219 → https://git.io/Jvgbh
KeiraT has quit [Ping timeout: 240 seconds]
KeiraT has joined #nixos
Heirlung has quit [Read error: Connection reset by peer]
Heirlung has joined #nixos
philr has quit [Ping timeout: 256 seconds]
<{^_^}> [nix] @contrun opened pull request #3380 → display attr-path only when queried available → https://git.io/JvgNC
jakobrs has joined #nixos
opthomasprime has joined #nixos
nvd is now known as Taneb
<jakobrs> Does Nix modify Bash or any of its dependencies in any way?
<{^_^}> [nixpkgs] @Frostman opened pull request #81423 → [20.03] smartmontools: 7.0 -> 7.1 and devicedb updated to latest → https://git.io/JvgNa
ixxie has joined #nixos
opthomasprime has left #nixos [#nixos]
maddo has joined #nixos
<symphorien> jakobrs: `bash` is a variant withour readline, `bashInteractive` has it.
lelit has joined #nixos
mexisme_ has joined #nixos
Sajesajama has left #nixos ["Leaving"]
iyzsong- has quit [Read error: Connection reset by peer]
iyzsong has joined #nixos
mexisme_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81424 → aesop: 1.2.3 -> 1.2.4 → https://git.io/JvgAm
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 255 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0193158b324 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81426 → aws-google-auth: 0.0.33 -> 0.0.34 → https://git.io/JvgAB
pnobre has joined #nixos
chloekek has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
fusion809 has joined #nixos
<fusion809> Hello folks. I have found that the symbolic package for GNU Octave doesn't work on NixOS, even when SymPy, its dependency is installed using Nix. The symbolic package is installed using Octave's official package manager, so wouldn't the symbolic package's failure to work, despite SymPy being installed constitute a bug I should report at nixpkgs?
<fusion809> Because what GNU Octave is complaining about when I try to use it is the inability to find SymPy.
jakobrs has left #nixos ["WeeChat 2.7.1"]
<fusion809> I installed it system-wide too, SymPy, so it should find it.
dm9 has joined #nixos
<symphorien> Installing a library with nix never works, and that's a feature
<fusion809> OK, so I should be grateful that this package doesn't work then?
<{^_^}> [nixpkgs] @thefloweringash opened pull request #81427 → megasync: fix build with glibc 2.30 → https://git.io/JvgAK
<Arahael> fusion809: Why did you choose nix? Think about it. How do you have deterministic dependencies and yet allow packages to somehow discover whatever pakages they want at runtime?
<symphorien> fusion809: looking at the code, I expect you need octave.override { python = python.withPackages (ps: with ps; [ numpy ];) }
<symphorien> s/numpy/sympy/ sorry
<fusion809> I chose it initially as a challenge, but now I keep it partly because I have packages I maintain and hence I need a test system and because NixOS is quite stable.
<Arahael> fusion809: I don't think nixos is designed to be a "challenge". ;)
<fusion809> arahael: lol, it might not meant to be, but what something is intended to be and is are two very different things.
<fusion809> symphorien: thanks for the code.
<sphalerite> ,library
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<sphalerite> hm, "use nix-shell instead" isn't really the right course of action here
<symphorien> fusion809 │ OK, so I should be grateful that this package doesn't work then? << I acknowledge it's unfortunate in your case; the intended use case is "I install version B of a library, and it does not break software depending on version A of the library"
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « chromiumDev: Add the missing clang-format binary »: https://git.io/JvgA6
<fusion809> symphorien: I'm not entirely sure where to put that expression. I'm a bit of noob when it comes to Nix the language. Do I put it in /etc/nixos/configuration.nix?
<symphorien> yes, inside parens, in place of `octave`
koleesch_ has joined #nixos
koleesch__ has quit [Ping timeout: 272 seconds]
philr has joined #nixos
koleesch_ has quit [Read error: Connection reset by peer]
koleesch has joined #nixos
<{^_^}> [nixpkgs] @roberth merged pull request #68491 → Fix dontRecurseIntoAttrs + add to lib + doc → https://git.io/Jem07
<{^_^}> [nixpkgs] @roberth pushed 4 commits to master: https://git.io/Jvgxc
o1lo01ol1o has joined #nixos
xelxebar has joined #nixos
chloekek has joined #nixos
<{^_^}> [nix] @contrun opened pull request #3381 → list also channels created by root → https://git.io/Jvgx0
<{^_^}> [nixpkgs] @romildo merged pull request #81108 → qogir-theme: 2020-02-20 -> 2020-02-26 → https://git.io/JvuVJ
<{^_^}> [nixpkgs] @romildo pushed 4 commits to master: https://git.io/Jvgx2
<{^_^}> [nixpkgs] @romildo merged pull request #81126 → snowblind: init at 2020-02-26 → https://git.io/JvuDR
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/Jvgxo
<{^_^}> [nixpkgs] @romildo merged pull request #81201 → matcha: 2020-02-06 -> 2020-02-27 → https://git.io/JvzEd
<{^_^}> [nixpkgs] @romildo pushed 3 commits to master: https://git.io/JvgxK
jgeerds has joined #nixos
__monty__ has joined #nixos
__monty__ has quit [Client Quit]
<{^_^}> [nixpkgs] @ngerstle opened pull request #81428 → kube3d: 1.3.1 -> 1.6.0 → https://git.io/Jvgx5
kleisli has joined #nixos
mexisme_ has joined #nixos
__monty__ has joined #nixos
mexisme_ has quit [Ping timeout: 272 seconds]
<fusion809> Ah, built symphorien's attempted fix to my Octave problem and I'm still getting the still import error.
<symphorien> do you know if octave is using the system python ?
<fusion809> I have ( octaveFull.override { python = python.withPackages (ps: with ps; [ sympy ]);} ) under systemPackages in /etc/nixos/configuration.nix
<fusion809> Don't know. I'd assume they would be, after all the package description page says that sympy needs to be installed on the host.
<symphorien> maybe you can add (python.withPackages (ps: with ps; [ sympy ])) to systemPackages
<fusion809> shall do, thanks
<symphorien> it really depends on how octave executes python
<fusion809> Same error still. Well, worst comes to worst I do keep an Arch Linux chroot I can run GNU Octave in instead.
Avaq has joined #nixos
<symphorien> maybe a list thing to try: execute octave inside nix-shell -p python python.pkgs.sympy
<symphorien> this will populate $PYTHONPATH
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
<fusion809> That worked! Thanks.
<manveru> so octave needs a wrapper script then?
<symphorien> no impossible. Does it link libpython directly ?
<symphorien> *not impossible
<fusion809> (is that a question for me? I wouldn't be able to give you a definitive yes or no, I just know how to use it, not how it is built and packaged)
<manveru> i'll take a look :)
<manveru> not that i've ever used octave
m0rphism has joined #nixos
thc202 has joined #nixos
ixxie has quit [Ping timeout: 255 seconds]
kleisli has quit [Ping timeout: 255 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
chloekek has quit [Ping timeout: 256 seconds]
o1lo01ol1o has joined #nixos
<Avaq> Hi folks! I'm trying to update a remote nix machine using nixops, and I'm running into https://github.com/NixOS/nixpkgs/issues/53672 on the remote (preventing the update from activating). Now this issue has been closed a while ago, but I can't figure out the steps to take to update the appropriate system such that it no longer occurs.
<{^_^}> #53672 (by eadwu, 1 year ago, closed): switch-to-configuration not interpreted using perl
jonten has joined #nixos
<Avaq> I'm hoping one of you can see an obvious way forward, and can point me in the right direction. :)
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81429 → endless-sky: 0.9.10 -> 0.9.11 → https://git.io/JvgpM
<manveru> Avaq: seems like you're on a buggy kernel version?
werner291 has joined #nixos
<Avaq> I've been struggling with this one for a while. :P
ixxie has joined #nixos
<Avaq> At the time I figured I'd just wait for the fix to hit more channels. I keep getting back to it every once in a while.
<manveru> what channel are you on?
<Avaq> On my host machine I'm on nixos-unstable. I don't know how to find out what channel is being used for remotes when using nixops.
<manveru> nixops defaults to using <nixpkgs>
<manveru> which is pretty bad, pinning should be required :|
<manveru> but the problem is that you have to fix the kernel version on the server before you can upgrade again, i think?
<Avaq> That sounds plausible.
<manveru> i also saw mention of a fix to switch-to-configuration directly, that reduces the size of the shebang
<manveru> but you can also run it manually
<Avaq> Run what?
<manveru> switch-to-configuration
<Avaq> Over ssh? And then there's no shebang that the kernel can't handle?
<manveru> on your server, nixops should've made some dir like /nix/var/nix/profiles/system-*-link
<manveru> you just don't run it via the shebang, but run perl yourself
<manveru> so find the system profile with the highest number, in it there's a /bin/switch-to-configuration file
<Avaq> Seeing it :)
<Avaq> Hm
<manveru> look at the first line it has, that's the path to perl plus the arguments
<manveru> you just copy that line, and stick the path to switch-to-configuration at the end :)
<manveru> that should, in theory, switch you to that profile, and you'll be upgraded
<manveru> which should hopefully also give you the newer kernel without the bug
energizer` has quit [Remote host closed the connection]
<Avaq> Actually, no ./bin/switch-to-configuration there. Only ./bin/sh
<Avaq> There's two executables in the root: activate and init
<Taneb> Could someone take a look at https://github.com/NixOS/nixpkgs/pull/80708 (not urgent, it's just been open a while)
<{^_^}> #80708 (by Taneb, 1 week ago, open): metamath: 0.180 -> 0.181
<manveru> path looks like `/nix/var/nix/profiles/system-22-link/bin/switch-to-configuration`
<Avaq> manveru: I see it now. Sorry.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80920 → nixos/rngd: fix clean shutdown → https://git.io/Jv0jR
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jvghv
<Avaq> manveru: -bash: /nix/store/1mmpyghqyk3fdvk3hzf1wwrw2c20van0-perl-5.30.1/bin/perl: cannot execute binary file: Exec format error
<manveru> oO
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/42f0be81ae0 (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @worldofpeace pushed to release-20.03 « nixos/rngd: fix clean shutdown »: https://git.io/Jvghk
<Avaq> I copied the shebang line excluding the #!, appended ./bin/switch-to-configuration at the end
o1lo01ol1o has joined #nixos
<Avaq> I'll try to take away the shebang line from the file altoghether.
cosimone has joined #nixos
<manveru> that might help, yeah
<manveru> i think perl actively interprets shebangs itself as well...
<manveru> you can also try running `file` on the perl binary to see if it's the right architecture and the kernel it references exists
Thra11 has quit [Ping timeout: 258 seconds]
__monty__ has quit [Quit: leaving]
__monty__ has joined #nixos
<Avaq> Remving the shebang line didn't help.
<Avaq> Running `file`?
<Avaq> I don't have a `file` executable in my path
<manveru> yeah
<manveru> that's what `nix run` is good for :)
<{^_^}> [nixpkgs] @hedning closed pull request #52746 → udisks1: drop lvm2 support, fix build → https://git.io/fhUfu
<Avaq> Ah :)
<manveru> `nix run -f channel:nixos-unstable file /nix/store/1mmpyghqyk3fdvk3hzf1wwrw2c20van0-perl-5.30.1/bin/perl`
<Avaq> Thanks
<manveru> hmm, lemme try that actually, not that i tell you nonesense
<manveru> `nix run -f channel:nixos-unstable file -c file /nix/store/1mmpyghqyk3fdvk3hzf1wwrw2c20van0-perl-5.30.1/bin/perl`
<manveru> that's the correct command
[Leary] has quit [Remote host closed the connection]
werner291 has quit [Quit: werner291]
o1lo01ol1o has quit [Remote host closed the connection]
Thra11 has joined #nixos
<ivegotasthma> is it possible to get faster compilation times on haskell? I'm compiling with nix and each rebuild takes 1 minute on a hello world from overhead of the rebuild
cosimone has quit [Quit: Quit.]
<Avaq> manveru: The command has been hanging for 10 minutes now. :P
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81430 → gortr: 0.13.0 -> 0.14.1 → https://git.io/Jvghl
<manveru> are you in antarctica?
<Avaq> I'm running it in a Pi. But my internet speed is not terrible.
<manveru> oh... yeah
<manveru> then it might've been better to see if you have `file` already in your nix store
captn3m0 has quit [Ping timeout: 260 seconds]
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<Avaq> I think I might've corrupted the cache when I killed the previous command you sent that was missing the `-c file` part. I killed it right as it hit 100%.
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<manveru> well, if it's an older pi, it might either take a long time, or run out of memory
domogled has joined #nixos
<Avaq> Even `nix run -f channel:nixos-unstable -c 'echo hi'` is hanging forever with no apparent resource usage.
AmandaC has quit [Read error: Connection reset by peer]
tjg1 has quit [Quit: No Ping reply in 180 seconds.]
<Avaq> Oh well. I'm looking for `file` in my store now. :P
<manveru> that's missing the package you want
<Avaq> Oh uh, right. I meant: `nix run -f channel:nixos-unstable file -c 'echo hi'` -- I typed it by heart rahther than copied.
<manveru> but yeah, it'll rebuild half the world for a pi, since it's not in the binary cache, i think
<Avaq> Ah, I see.
pnobre has quit [Ping timeout: 260 seconds]
<Avaq> I only see .drv files for file-5.36 in my store.
linarcx has quit [Ping timeout: 255 seconds]
<LnL> depending on your usecase you can cross build stuff on a linux machine
cosimone has joined #nixos
<manveru> man... this is quite the yak-shaving here :)
<manveru> maybe you have `ldd`?
<Avaq> Can you understand why I've given up so many times already? :P
tjg1 has joined #nixos
<LnL> Avaq: nix-build -A hello --arg crossSystem '{ config = "armv7l-linux"; }'
<Avaq> manveru: I do have ldd
<LnL> and then copy it over to the pi
<manveru> ldd isn't as pretty as file, but just run that on the perl binary instead
<manveru> it should hopefully tell you why it won't run
<Avaq> "not a dynamic executable"
<adisbladis> Presumably it's a wrapper script
captn3m0 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #81297 → nixos/sslh: don't run as nogroup → https://git.io/Jvzhy
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jvghw
<manveru> so that wrapper itself has a shebang that's too long?
tjg1 has quit [Client Quit]
<Avaq> Any other ways to update the kernel?
<elux> hi
<Uniaika> o/
pnobre has joined #nixos
<manveru> i gotta head out, sorry man :|
o1lo01ol1o has joined #nixos
<Avaq> manveru: no worries. Thanks for talking to me!
tjg1 has joined #nixos
<manveru> but pinging clever, since he's the resident pi expert i think :)
v88m has joined #nixos
mexisme_ has joined #nixos
AmandaC has joined #nixos
pnobre has quit [Ping timeout: 256 seconds]
koleesch has quit [Read error: Connection reset by peer]
koleesch has joined #nixos
waleee-cl has joined #nixos
mexisme_ has quit [Ping timeout: 256 seconds]
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
nadley has quit [Remote host closed the connection]
nadley has joined #nixos
andreas31 has quit [Remote host closed the connection]
<aanderse> manveru: speaking of resident experts... any luck with that ruby issue?
andreas31 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #81167 → Staging next → https://git.io/Jvzms
<{^_^}> [nixpkgs] @FRidh pushed 74 commits to master: https://git.io/Jvghp
pnobre has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #81371 → nixos/acme: renew after rebuild and on boot → https://git.io/Jvg2t
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/Jvghj
cosimone has quit [Quit: Quit.]
o1lo01ol1o has joined #nixos
koleesch has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
pnobre has quit [Ping timeout: 260 seconds]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
jonten has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jtojnar opened pull request #81431 → malcontent: 0.4.0 → 0.6.0 → https://git.io/Jvgjk
chloekek has joined #nixos
koleesch has joined #nixos
aveltras has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #81432 → nixos/mysql: split database provisioning into a separate systemd unit → https://git.io/Jvgj3
zupo has joined #nixos
monadplus has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy merged pull request #81430 → gortr: 0.13.0 -> 0.14.1 → https://git.io/Jvghl
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @r-ryantm to master « gortr: 0.13.0 -> 0.14.1 (#81430) »: https://git.io/JvgjR
monadplus has quit [Ping timeout: 260 seconds]
pnobre has joined #nixos
jumper149 has joined #nixos
imalison has joined #nixos
cosimone has joined #nixos
pnobre has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81433 → libamqpcpp: 4.1.5 -> 4.1.6 → https://git.io/JvgjN
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81409 → [ZHF] pythonPackages.astroquery 0.3.10 -> 0.4 → https://git.io/JvgMn
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JvgjA
bvdw has joined #nixos
jonten has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81118 → nixos/git-daemon: only create git user if it will be used → https://git.io/JvuoP
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jvgjh
WhatisRT has joined #nixos
<imalison> is anyone who is familiar with hackage/haskell package stuff around
<imalison> i want to mark several packages as unbroken
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jumper149 has quit [Quit: WeeChat 2.6]
zupo has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #81435 → [20.03] nixos/acme: backport #81369 and #81371 → https://git.io/Jv2en
<{^_^}> [nixpkgs] @IvanMalison opened pull request #81436 → haskellPackages.taffybar: Fix compilation with ghc882 → https://git.io/Jv2e4
<WhatisRT> is there a way to get the output of nix search ... outputted to the terminal directly?
<worldofpeace> whatisRT: do you mean nix search, but with no pager?
<tilpner> PAGER= nix search foo
<worldofpeace> (I don't think I can use commas correctly today)
<worldofpeace> tilpner: that seemed to do it for me. there should really be a --no-pager switch
<tilpner> Agreed
<WhatisRT> thank you!
<{^_^}> [nixpkgs] @marsam opened pull request #81437 → flexget: 3.1.26 -> 3.1.30 → https://git.io/Jv2eV
<{^_^}> [nixpkgs] @stigtsp opened pull request #81438 → perlPackages.CryptSSLeay: 0.72 -> 0.73_06 → https://git.io/Jv2ew
<worldofpeace> whatisRT: tilpner https://github.com/NixOS/nix/issues/3382
<{^_^}> nix#3382 (by worldofpeace, 15 seconds ago, open): Add --no-pager flag to nix commands to disable output to a pager
abathur has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81119 → [20.03] nixos/git-daemon: only create git user if it will be used → https://git.io/JvuoS
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jv2e5
werner291 has joined #nixos
Avaq has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81424 → aesop: 1.2.3 -> 1.2.4 → https://git.io/JvgAm
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv2ep
<WhatisRT> worldofpeace: thanks, didn't even think of that!
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to release-20.03 « aesop: 1.2.3 -> 1.2.4 »: https://git.io/Jv2eh
<{^_^}> [nixpkgs] @marsam merged pull request #80733 → sunvox: 1.9.5 -> 1.9.5c → https://git.io/JvRaz
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv2ve
<{^_^}> [nixpkgs] @NickHu opened pull request #81440 → vimPlugins.fruzzy: init at 2019-10-28 → https://git.io/Jv2vT
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80987 → ipmitool: migrate to openssl 1.1 → https://git.io/JvEoq
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/Jv2vk
anderslundstedt has quit [Quit: leaving]
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-20.03: https://git.io/Jv2vt
JonReed has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « bandwhich: 0.11.0 -> 0.12.0 »: https://git.io/Jv2vG
chreekat has joined #nixos
rauno has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dnaq closed pull request #81203 → buildRustPackage: fix erroneous hard-coded source path → https://git.io/Jvzu9
<chreekat> What's the best way to test a nixos module patch (pull request) without building your entire system against the branch in question? Some kind of overlay? I confess overlays, overrides, and similar not-quite-synonyms are sort of a perplexing blur to me
<symphorien> chreekat: if you only changed a module, https://nixos.org/nixos/manual/index.html#sec-replace-modules
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<symphorien> if you also changed some packages accordingly, you also need an overlay
<chreekat> symphorien: cool, thanks. It's just a module change, as a matter of fact. I think I can guess at what I need to do now
Avaq has joined #nixos
anderslundstedt has joined #nixos
<OmnipotentEntity> kind of a dumb question: where can I find /usr/share/dict/words on NixOS?
mexisme_ has joined #nixos
<OmnipotentEntity> It's obviously not going to be in /usr, I assume it's somewhere in the Nix store once I install the right package. But I'm not sure which package it would be in and searching for it using the search string "words" has come up with nothing.
<Yaniel> ,locate words
koleesch_ has joined #nixos
<{^_^}> Found in packages: ats2, geant4, tuxtype, neverball, plan9port, typespeed, factor-lang, link-grammar, gnome2.gtksourceview, gnome3.gtksourceview.dev, python27Packages.twisted, python37Packages.twisted, gnome3.gtksourceview4.dev, haskellPackages.words.data
<Yaniel> uhh okay
<OmnipotentEntity> I mean, nothing that seems useful
<OmnipotentEntity> not literally nothing
<Yaniel> yeah I was referring to this list seeming to be... less than useful
koleesch has quit [Read error: Connection reset by peer]
jonten has quit [Ping timeout: 240 seconds]
<MichaelRaskin> Wait, scowl is not in the list?
<MichaelRaskin> You want scowl
mexisme_ has quit [Ping timeout: 240 seconds]
<OmnipotentEntity> today I learned, thanks
jgeerds has quit [Ping timeout: 258 seconds]
<simpson> ,locate words.txt
<{^_^}> Found in packages: scowl, mediawiki, limesurvey, factor-lang, languagetool, haskellPackages.words.doc, haskellPackages.hangman.data
<simpson> scowl calls it "words.txt", not "words". Yay?
kleisli has joined #nixos
<manveru> you mean aspellDicts, dict, or hunspellDicts?
<adisbladis> Or maybe even aspellWithDicts
<manveru> :D
<manveru> aanderse: tbh i haven't looked into it yet... will do that now :)
<adisbladis> aspellWithDicts(dicts: [ dicts.en ])
<adisbladis> Gah, missed a space
<adisbladis> aspellWithDicts (dicts: [ dicts.en ])
<manveru> will still work
<aanderse> manveru++
<{^_^}> manveru's karma got increased to 31
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Jv2vS
<manveru> > map(a: a)[1]
<{^_^}> [ <CODE> ]
<manveru> nix is quite liberal with space usage
<symphorien> > :p x:x
<{^_^}> "x:x"
<symphorien> > :p x: x
<{^_^}> <LAMBDA>
<manveru> except for that... yeah
<symphorien> not always
<manveru> i guess that's the url syntax thingy
<symphorien> yes
myskran has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-20.03: https://git.io/Jv2vF
abathur has quit [Ping timeout: 240 seconds]
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 9 commits to netpbm: https://git.io/Jv2vh
<OmnipotentEntity> thanks adisbladis
<Avaq> manveru: Hey. Welcome back. It's me again.. :P -- A quick update: Instead of trying to call switch-to-configuration, I figured I'd just reboot into it. But the boot process gets stuck at "Starting kernel ...", or occasionlly it freezes just after, while its in the early stages of loading systems.
<OmnipotentEntity> Avaq, have you tried booting to an older revision?
<Avaq> omnipotententity: Yes. And that works. But the problem is that then I'm back to an older version of the kernel, where switch-to-configuration won't work due to #53672. manveru and I tried to troubleshoot it earlier today.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/53672 (by eadwu, 1 year ago, closed): switch-to-configuration not interpreted using perl
<OmnipotentEntity> ah, I apologize then.
philr has quit [Ping timeout: 260 seconds]
<Avaq> So it seems that I *can* actually install multiple nixos revisions, each with their own kernel, but the only revision I managed to boot into is subject to #53672, which means I can't update it remotely with nixops.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/53672 (by eadwu, 1 year ago, closed): switch-to-configuration not interpreted using perl
zupo has joined #nixos
kleisli has quit [Ping timeout: 272 seconds]
rauno has joined #nixos
<OmnipotentEntity> @Avaq, can you patch the running kernel with kpatch?
<OmnipotentEntity> And then update using switch-to-configuration?
<{^_^}> [nixpkgs] @worldofpeace pushed to master « libgpod: also remove mutagen »: https://git.io/Jv2fO
butterthebuddha has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @worldofpeace pushed to release-20.03 « libgpod: also remove mutagen »: https://git.io/Jv2fZ
<manveru> aanderse: seems like a simple upgrade of bundler fixes it
kloenk has quit [Ping timeout: 272 seconds]
kloenk has joined #nixos
<aanderse> manveru (@freenode_manveru:matrix.org): that's great news, thanks for looking!
<aanderse> so if someone just PRs a bundler update we're good?
<{^_^}> [nixpkgs] @manveru opened pull request #81442 → bundler: 1.17.3 -> 2.1.4 → https://git.io/Jv2fC
<aanderse> manveru++
<{^_^}> manveru's karma got increased to 32
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « bandwhich: 0.11.0 -> 0.12.0 »: https://git.io/Jv2fW
<manveru> this will probably rebuild a lot of things, and existing Gemfile.lock need upgrading
<{^_^}> [nixpkgs] @tricktron opened pull request #81443 → iterm2: 3.0.14 -> 3.3.9 & fix build → https://git.io/Jv2f8
greizgh has quit [Quit: greizgh]
<aanderse> manveru (@freenode_manveru:matrix.org): is this suitable for inclusion in 20.03 then...?
<{^_^}> [nixpkgs] @marsam merged pull request #81437 → flexget: 3.1.26 -> 3.1.30 → https://git.io/Jv2eV
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv2f4
greizgh has joined #nixos
pbb_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pnobre has joined #nixos
<manveru> if 20.03 includes 2.7, then this will need fixing i fear :|
<manveru> i'll wait for the borg/hydra results
<{^_^}> [nixpkgs] @marsam merged pull request #81433 → libamqpcpp: 4.1.5 -> 4.1.6 → https://git.io/JvgjN
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv2fR
<manveru> but i got this: `/nix/store/3ybk4r1jcbc3ckb4jl231kg8qmw3jzmf-ruby-2.7.0/lib/ruby/2.7.0/rubygems.rb:275:in `find_spec_for_exe': Could not find 'bundler' (1.17.2) required by your /nix/store/p7hqwq0lc4z6ay1qw8rpanlkii796i2k-gemfile-and-lockfile/Gemfile.lock. (Gem::GemNotFoundException)`
<manveru> so most likely all ruby packages will fail to even build now
<{^_^}> [nixpkgs] @marsam merged pull request #81426 → aws-google-auth: 0.0.33 -> 0.0.34 → https://git.io/JvgAB
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv2fE
knupfer has quit [Remote host closed the connection]
pnobre has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #81128 → keybase,kbfs,keybase-gui: 5.1.1 -> 5.2.1 → https://git.io/Jvuyl
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv2fX
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81368 → [20.03] openssh: 8.1p1 -> 8.2p1 → https://git.io/Jvgg2
<{^_^}> [nixpkgs] @worldofpeace pushed 6 commits to staging-20.03: https://git.io/Jv2f1
pbb has joined #nixos
chagra has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv2fQ
<{^_^}> [nixpkgs] @marsam merged pull request #81420 → smemstat: 0.02.06 -> 0.02.07 → https://git.io/Jvg5D
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @flokli to staging-20.03 « systemd: 243.4 -> 243.7 »: https://git.io/Jv2f7
<{^_^}> [nixpkgs] @jtojnar pushed to netpbm « netpbm: Remove "CVE" patch »: https://git.io/Jv2fx
bhipple has joined #nixos
ixxie has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80278 → [19.09] go_1_13: 1.13.7 -> 1.13.8, go_1_12: 1.12.16 -> 1.12.17 (backport) → https://git.io/Jv8RQ
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-19.09: https://git.io/Jv2JT
chagra has joined #nixos
<WhatisRT> I want to install packages that are not in nixpkgs in my nixos install. What's the best way of going about this? I'm fine with writing a nix derivation, but I'm confused about where it is supposed to go and how to make a setup that works for a couple of different packages
monadplus has joined #nixos
<WhatisRT> in particular, I probably want to use nix to build some stuff that I've been working on, which should then probably go into my git repo. if I want to contribute it back to nixpkgs at some point, how should I prepare for that?
<emily> whatisRT: my suggestion is to make a file named package.nix or derivation.nix that has a package in the nixpkgs format (dependencies taken as arguments, etc.)
<emily> then you can make a default.nix that imports nixpkgs and does pkgs.callPackage ./package.nix
<emily> in your nixos config you can put (pkgs.callPackage ./path/to/package.nix {}) in your environment.systemPackages
<emily> or add (self: super: { pkgName = self.callPackage ./path/to/package.nix {}; }) to nixpkgs.overlays to get it added directly to pkgs.pkgName
<emily> (which also lets you override existing packages)
learnday20 has joined #nixos
<emily> (you could also put that in overlay.nix in your repository if you want to be especially kind to people using it in their configs)
<emily> this repo of mine has some sample files you might find useful to reference: https://github.com/emilazy/mpv-notify-send
zupo has joined #nixos
<emily> and then my overlays have (import "${sources.mpv-notify-send}/overlay.nix") in them
<emily> (sources. is because I use niv to manage my external repo dependencies)
myskran has quit [Ping timeout: 256 seconds]
<__monty__> ,overlays whatisRT
<{^_^}> __monty__: Did you mean overlay?
<{^_^}> whatisRT: Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
<__monty__> The relevant docs, whatisRT ^
pnobre has joined #nixos
<emily> oh, you're meant to use super for callPackage? oops
abathur has joined #nixos
monadplus has quit [Ping timeout: 260 seconds]
<__monty__> emily: Afaiu you should use super for most things. So far I only use self for the actual packages.
<__monty__> You wouldn't in whatisRT's case of course but if I'm just overriding some of its arguments or something.
<Taneb> I've always used self for callPackage on the assumption that super.callPackage will have un-overidden packages
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Taneb> But maybe I am wrong?
linarcx has joined #nixos
<emily> yeah that was also my logic
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.6-rc2 -> 5.6-rc3 »: https://git.io/Jv2Jr
<__monty__> Hmm, that's a reasonable assumption.
<__monty__> I don't think it holds though?
<manveru> i like calling them `final: previous:`
<{^_^}> [nix-pills] @112358a opened pull request #127 → Fix typo in pill 6 → https://git.io/Jv2JD
<manveru> but i guess both approaches may be confusing in some way
<emily> youProbablyDon'tWantThisOne: useThisOne:
<manveru> or just remove `self` and use multiple overlays instead :P
<manveru> which i guess is worse than using `self`...
Uniaika has left #nixos [#nixos]
<emily> maybe some name involving rec to indicate it's like the rec feature of records?
<WhatisRT> So I'm also having an issue with fetchFromGitHub. I get the error message 'fetchurl requires a hash for fixed-output derivation', but I'm providing a hash there
positronicbrain has joined #nixos
<WhatisRT> Could it be that the hash is wrong and it's just a misleading error message?
positronicbrain has quit [Client Quit]
<__monty__> emily: Well the clearest name would be fixpoint, since it refers to the fixed point of the package set.
<symphorien> how do you specify the hash, whatisRT ?
<raboof> when building firefox with https://pastebin.com/D121QG1p and looking with gdb, I do see method names but not parameter values. Is there anything I could do to see parameters as well?
<emily> ah, we can call it "fixed", and super can be "broken"
monadplus has joined #nixos
<WhatisRT> symphorien: via the sha256 key passed to fetchFromGitHub
growpotkin has joined #nixos
<symphorien> can you paste the full derivation somewhere ?
<WhatisRT> symphorien: https://pastebin.com/Ah3YfWTu
<evanjs> *gets xbacklight working and proceeds to break it* 😃 leave it to me — assuming the command line flags I added might be suspect...
<symphorien> whatisRT: this builds fine here...
pnobre has quit [Ping timeout: 255 seconds]
<WhatisRT> symphorien: I'm using 'nix-build', should I use something else?
<symphorien> nix-build foo.nix yes
<WhatisRT> oh, I was in the wrong file and didn't notice
<WhatisRT> the info that it should worked helped :)
<__monty__> Taneb, emily: Ok, so according to my super rigorous and competent testing super.callPackage still uses the fixed point of the package set. It does not use the package set it was called from.
<emily> makes sense (kinda? I mean I don't get how it works but I believe it)
Uniaika has joined #nixos
<Uniaika> hello!
<Uniaika> By any chance, are the nix binaries for linux x64 doing stack trampoline?
<OmnipotentEntity> As in installed packages, or the binary named nix, or nixos related binaries (such as nixos-rebuild, nix, nix-channel, etc)?
<Taneb> __monty__: good to know, thanks for investigating
<Uniaika> omnipotententity: nix-store, nix-env, etc
<Uniaika> my issue is: Each time since yesterday I want to install nix on my Fedora31 system, I get a `stack smashing` error, and the following core dump: https://termbin.com/57ub
<{^_^}> [nix-pills] @nlewo merged pull request #127 → Fix typo in pill 6 → https://git.io/Jv2JD
<{^_^}> [nix-pills] @nlewo pushed 2 commits to master: https://git.io/Jv2UG
<OmnipotentEntity> That wouldn't be a result of a trampoline
<OmnipotentEntity> the way that the stack smashing detection is run is by setting a value in a specific location of the stack and then later checking that the value is not modified.
<Uniaika> okay
<OmnipotentEntity> But to answer your direct question, I do not know.
<Uniaika> I think it's deeper than that, I was just handed this bug report from debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948287
<Uniaika> that would be libc6's fault
<Uniaika> bloody hell.
mexisme_ has joined #nixos
<WhatisRT> is there a good way to manually build a package in an interactive environment? I assume I want to use nix-shell, but can I tell it somehow to use a fetcher?
jgeerds has joined #nixos
klntsky has quit [Ping timeout: 240 seconds]
mjrosenb has quit [Ping timeout: 258 seconds]
<symphorien> in a new, empty, temporary directory: run genericBuild
Deknos has joined #nixos
<symphorien> it will fail on installPhase because the store is read only, but it can help debug what happens before
Deknos has left #nixos [#nixos]
knupfer has joined #nixos
<WhatisRT> what is genericBuild? a nix function?
klntsky has joined #nixos
<symphorien> a bash function, exposed by nix-shell
<symphorien> so you can only use it inside nix-shell
<symphorien> it will run the build of the package you ran nix-shell on
<WhatisRT> cool, thanks!
monadplus has quit [Ping timeout: 258 seconds]
cole-h has joined #nixos
bennofs has quit [Quit: No Ping reply in 180 seconds.]
<WhatisRT> oh, that's useful, thanks!
Uniaika has left #nixos [#nixos]
bennofs has joined #nixos
<{^_^}> [nixpkgs] @jacereda opened pull request #81445 → mercury: 14.01.1 -> 20.01, subsumes #78737, fixes #74142 → https://git.io/Jv2UM
Rusty1 has quit [Remote host closed the connection]
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #81446 → lazygit: 0.14.3 -> 0.15.7 → https://git.io/Jv2Ub
phreedom has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos
drakonis has joined #nixos
wtuhfm^ has quit [Ping timeout: 258 seconds]
kleisli has joined #nixos
pnobre has joined #nixos
theduke has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « wob: 0.7 -> 0.8 »: https://git.io/Jv2TL
WhatisRT has quit [Ping timeout: 255 seconds]
theduke has quit [Remote host closed the connection]
logzet has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80451 → nixos/pantheon: add docs → https://git.io/Jv4Pa
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv2T4
<cole-h> Any Nix gurus available to help solve a complex (to a beginner to the language, at least) problem? https://gist.github.com/cole-h/523a5a94f636f2c6676ee9fd1e50991b
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to release-20.03 « nixos/pantheon: add docs »: https://git.io/Jv2Tz
pnobre has quit [Quit: Leaving]
jonten has joined #nixos
malSet has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #81175 → pythonPackages.swagger-spec-validator 2.4.3 -> 2.5.0 → https://git.io/Jvzsk
<{^_^}> [nixpkgs] @jonringer pushed commit from @vanschelven to release-20.03 « pythonPackages.swagger-spec-validator 2.4.3 -> 2.5.0 »: https://git.io/Jv2To
<balsoft> Hi, I've got a strange question: is there a way to remove UNIX auth from PAM modules completely?
<balsoft> (in other words, the desired behaviour is as if I did `unixAuth = false` for each of `security.pam.services`)
gustavderdrache has quit [Quit: Leaving.]
jonten has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/42f0be81ae0 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<evanjs> balsoft: presumably not with a function, or? Because I think you could just do a for each or similar 😝
<balsoft> How exactly can I do a foreach?
<balsoft> It's not like I can do `security.pam.services = builtins.mapAttrs (_: v: v // { unixAuth = false; }) security.pam.services;`
<balsoft> This is infinite recursion
<balsoft> evansjs: ^
Jackneill has quit [Ping timeout: 255 seconds]
<balsoft> evanjs: ^
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0252dfb2685 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
Jackneill has joined #nixos
WhatisRT has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #81446 → lazygit: 0.14.3 -> 0.15.7 → https://git.io/Jv2Ub
<{^_^}> [nixpkgs] @jonringer pushed commit from @filalex77 to master « lazygit: 0.14.3 -> 0.15.7 »: https://git.io/Jv2TQ
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
theduke has joined #nixos
<{^_^}> [nixpkgs] @romildo merged pull request #66601 → nvidia: prime render offload → https://git.io/fj59Y
<{^_^}> [nixpkgs] @romildo pushed 8 commits to master: https://git.io/Jv2kn
<ddima> cole-h: added comment to gist
<bdju> https://paste.debian.net/1133032/ Getting some luajit errors and a build failure trying to run updates.
<bdju> (running nixos unstable)
<{^_^}> #81206 (by mweinelt, 2 days ago, open): neovim install fails with missing libluv.so.1
<cole-h> ddima: Thanks, I'll give it a shot
malSet has quit [Ping timeout: 260 seconds]
<evanjs> balsoft: Well yeah you’d need to operate on the services themselves. Hrm I wonder if there are any examples on GH
<evanjs> We can’t use eg `services.*.`, can we? 😬
drakonis has quit [Quit: WeeChat 2.7.1]
<theduke> hey there. I'm trying to run sway (wayland window manager) installed via nixpkgs on Arch Linux, which fails because sway can't find the mesa opengl drivers
<theduke> I noticed on nixos hardware.opengl must be enabled
<theduke> any idea how I can get this to run on Arch?
<{^_^}> [nixpkgs] @primeos opened pull request #81448 → wf-recorder: 0.1 -> 0.2 → https://git.io/Jv2kr
<cole-h> ddima: Looks good so far. Just had to `filterAttrs` the --body arg inside `attrArgs`, because that wouldn't be valid :P
<cole-h> ddima++
<{^_^}> ddima's karma got increased to 3
<adisbladis> theduke: https://github.com/guibou/nixGL
<adisbladis> theduke: GL libraries are an impurity
<ddima> cole-h: ah, right.
hasanzia has joined #nixos
<ddima> cole-h: builtins.removeAttrs might be a somewhat shorter option
<theduke> adisbladis: thanks! trying it out now
peanutbutter144_ has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<theduke> adisbladis: that works, thanks!
<cole-h> ddima: What would the "type" be of that, if I wanted to allow either `functions = { func = "echo hi"; };` or `functions = { func = { body = "echo hi"; on_event = "event"; }; };`?
<cole-h> I tried `either (attrsOf lines) (attrsOf (attrsOf lines))` but I get "value is a string while a set was expected"
pbb has joined #nixos
tjg1 has quit [Quit: No Ping reply in 180 seconds.]
peanutbutter144 has quit [Ping timeout: 260 seconds]
elux has quit [Quit: leaving]
tjg1 has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ebc9620c3f6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
nisby has joined #nixos
<theduke> ah, so for AMD/mesa cards all I needed is a wrapper with
<theduke> export LIBGL_DRIVERS_PATH=${pkgs.mesa_drivers}/lib/dri
<theduke> export LD_LIBRARY_PATH=${pkgs.mesa_drivers}/lib:\$LD_LIBRARY_PATH
nisby has quit [Quit: nisby]
malSet has joined #nixos
theduke has quit [Quit: Leaving]
tjg1 has quit [Quit: No Ping reply in 180 seconds.]
imalison has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kwannoel opened pull request #81450 → minecraft-launcher: fix broken url → https://git.io/Jv2Ic
<{^_^}> [nixops] @erikarvstedt opened pull request #1237 → Allow defining keyFiles as strings → https://git.io/Jv2IC
<{^_^}> [nixpkgs] @SeTSeR opened pull request #81451 → melpa-packages: 2020-03-01 → https://git.io/Jv2Il
mexisme_ has quit [Ping timeout: 272 seconds]
stevenroose has joined #nixos
<stevenroose> I read on the wiki that only Raspberry Pi 3+ is officially supported but that some personal effort is done by a contributor to support older Pis. What's the status on this?
<stevenroose> I have 2 old Raspberry Pi 1s that I'd like to use with NixOS.
<samueldr> stevenroose: the older raspberry pis are using dfferent architectures, armv6 and armv7
<samueldr> armv6 is likely not going to be supported due to lack of hardware for builders
<samueldr> armv7 is work-in-progress to better support in the binary cache
<samueldr> the Raspberry pi 1 and 0, all variants, are all armv6
<simpson> samueldr: What's the status for folks who are willing to stay up all night with their classic Pis as space heaters, waiting days for packages to compile? Or are they better off with Raspbian/etc?
sjuberman has quit [Read error: Connection reset by peer]
sjuberman has joined #nixos
<samueldr> the actual status is "unknown", I think, though at one point in the past two years a subset of nixpkgs was still building natively on a raspberry pi of a contributor
<samueldr> (but not cached in the official cache)
<samueldr> currently one can bootstrap themselves using cross-compilation, with all the issues cross-compilation has within nixpkgs
<ddima> cole-h: I think attrsOf lines should be fine, possibly you're not getting the value in the shape you are expecting it (maybe gist that too). Alternatively there are also submodules as types.
<cole-h> ddima: Ah, I had my type thing munged. It should be `attrsOf (either lines (attrsOf lines))`
<cole-h> Now I just need to make it play nicely without `body` specified
<evanjs> balsoft: ahhh I remember now
<evanjs> Try operating on options.security.pam.services.default
<evanjs> If you go through options.default like that you can get the default values what you can operate on without rehearsing infinite
<ddima> cole-h: ah, you meant both ways as supported ways. read the Q differently.
<evanjs> Recursing* lol
<evanjs> That should allow you to map over the services properly
<{^_^}> [nixpkgs] @pacien opened pull request #81452 → riot-web: accept conf override as attrset and str → https://git.io/Jv2LT
<cole-h> ddima: Updated the gist, but I think you get the "gist" of what I was saying now
<cole-h> ;^)
Avaq has quit [Quit: Leaving.]
<JonReed> So, I spent more-than-I-am-willing-to-admit amount of time trying to figure out why xorg wasn't working in Qemu VM and it turned out to be having `kernelParams = [ "nomodeset" ];`. Admittedly, I just copied boot part of config without giving too much thought about what it does, but I used this configuration.nix as an inspiration:
<JonReed> https://nixos.wiki/wiki/Virtualization_in_NixOS This is seemingly the only guide on virtualization in NixOS. RIP everybody else who will copy the part of this configuration and then try to it work it with GUI.
<balsoft> evanjs: thanks, I'll try that
tjg1 has joined #nixos
jonten has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet_ has joined #nixos
<simpson> JonReed: You could update it. FWIW kernel-side modesetting is usually what upstream Linux recommends, and I'd hope that on QEMU it is the right choice.
<cole-h> ddima: I've got it figured out: just do `if isAttrs def then attrArgs def else ""` in the function line, and `if isAttrs def then def.body else def` in the body line
<ddima> cole-h: nice. I guess now I'm curious to check out the fish module some time ;)
<cole-h> Last step is to enforce valid args
<cole-h> Would a submodule be ideal for this? Types are still a little awkward for me
dm9 has quit [Quit: WeeChat 2.7.1]
<evanjs> Re https://github.com/NixOS/nixpkgs/pull/81452 — is using jq like this pretty accepted in installPhases and the like? Looking at adding something like that conf override to #72994 but unsure if there’s a better way to handle the JSON data
<{^_^}> #81452 (by pacien, 16 minutes ago, open): riot-web: accept conf override as attrset and str
<{^_^}> https://github.com/NixOS/nixpkgs/pull/72994 (by evanjs, 16 weeks ago, open): sclack: init at unstable-2019-07-15
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a8c2c1d92df (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<simpson> evanjs: Seems no worse than sed or awk. Readable to me; maybe folks might appreciate a comment explaining what is being done and why.
njd has quit [Ping timeout: 260 seconds]
<evanjs> simpson: alright sounds good. Unsure if I’d need it for what I’m doing, just wasn’t sure if there was anything outside of eg to/fromJSON that might be better
hasanzia has quit [Quit: Textual IRC Client: www.textualapp.com]
njd has joined #nixos
<evanjs> Also, I’ve been requesting reviewers in comments lately, mth
gustavderdrache has joined #nixos
bhipple has quit [Ping timeout: 240 seconds]
<evanjs> Not a big deal, but is adding reviewers disabled atm? Haven’t been able to find anything but it was working the other week IIRC
justanotheruser has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed to master « doc/xfce: remove trailing code »: https://git.io/Jv2Lu
<{^_^}> [nixpkgs] @worldofpeace pushed to release-20.03 « doc/xfce: remove trailing code »: https://git.io/Jv2Lz
malSet_ has quit [Ping timeout: 256 seconds]
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
malSet has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/Jv2LV
<evanjs> Hate to ask so much but it’s been bugging me quite a bit 😬
<{^_^}> [nixpkgs] @adisbladis closed pull request #81451 → melpa-packages: 2020-03-01 → https://git.io/Jv2Il
<cole-h> evanjs: I think it's a GH thing. I used to be able to as well (both here and in another project I'm not collaborator of)
justanotheruser has joined #nixos
peanutbutter144_ has quit [Ping timeout: 256 seconds]
lord| has quit [Ping timeout: 260 seconds]
malSet has quit [Ping timeout: 255 seconds]
o1lo01ol_ has quit [Remote host closed the connection]
<evanjs> cole-h: interesting. Alright, thank you for confirming it’s not just me! I submitted feedback explaining the situation to GitHub after a support page prompted me but curious as to why it’s happening
<cole-h> "Note: Pull request authors can't request reviews unless they are either a repository owner or collaborator with write access to the repository."
o1lo01ol1o has joined #nixos
<cole-h> That, or recently changed
<stevenroose> samueldr: actually lateron I found a message saying a community version of nixos for armv6 should work out of the box. Not sure about package support. I'll find out I guess :)
jmeredith has quit [Quit: Connection closed for inactivity]
<evanjs> cole-h: Yeah I was seeing the same thing in the article I saw but, well, idk, it seemed to work way better when I could 😬 wonder if anybody else has insights on the issue (outside the nix community)
<{^_^}> [nixpkgs] @eadwu opened pull request #81453 → vscode-extensions: update-5 → https://git.io/Jv2LQ
<{^_^}> [nixpkgs] @eadwu opened pull request #81454 → nvidia_x11: 440.59 -> 440.64 → https://git.io/Jv2L7
lord| has joined #nixos
<abathur> \quit
<{^_^}> Let me do that for you
<abathur> gah
<{^_^}> [nixpkgs] @eadwu opened pull request #81455 → wakatime: 13.0.4 -> 13.0.7 → https://git.io/Jv2L5
abathur has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @eadwu opened pull request #81456 → mlpack: init at 3.2.2 → https://git.io/Jv2Ld
<balsoft> evanjs: I wasn't able to figure it out. Could you give an example?
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @lovesegfault opened pull request #81457 → zoom-us: add qtgraphicaleffects dependency → https://git.io/Jv2LA
o1lo01ol1o has quit [Ping timeout: 256 seconds]
lovesegfault has quit [Client Quit]
aveltras has quit [Quit: Connection closed for inactivity]
Avaq has joined #nixos
<{^_^}> [nixpkgs] @svanderburg pushed 2 commits to master: https://git.io/Jv2tC
<{^_^}> [nixpkgs] @svanderburg pushed 2 commits to release-20.03: https://git.io/Jv2t8
koleesch_ has quit [Ping timeout: 272 seconds]
ddellacosta has quit [Ping timeout: 258 seconds]
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @svanderburg pushed 2 commits to release-19.09: https://git.io/Jv2t1
skykanin has joined #nixos
kleisli has quit [Ping timeout: 260 seconds]
v88m has quit [Ping timeout: 240 seconds]
<skykanin> https://pastebin.com/GdF6SJEg so I have this build file for my emacs, but I was wondering if this is the correct way to "expose" hlint and hindent so I can access them from my emacs configuration file. Since I have a hs-lint.el file which requires hlint to integrate with emacs. This doesn't currently work. It seems like emacs isn't able to access hlint or hindent even though I'm building emacs with
<skykanin> those dependencies.
<manveru> skykanin: they need to be in PATH when emacs is running, i guess?
chloekek has quit [Ping timeout: 258 seconds]
peelz has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
<manveru> i'm using direnv-mode for this, other ways are to install it in your user profile or add it to the path of your emacs daemon, if you use that service...
bvdw has joined #nixos
<superbaloo> would anyone have documentation or example about setuid binaries?
wtuhfm^ has joined #nixos
<adisbladis> superbaloo: https://nixos.org/nixos/options.html#security.wrappers
v88m has joined #nixos
koleesch_ has joined #nixos
<superbaloo> so this is set in the global nixos-config and not in the pkg itself right?
<{^_^}> [nixpkgs] @KoviRobi opened pull request #81458 → vim-easytags: Fix to work with universal-ctags (which is in nixpkgs) → https://git.io/Jv2qf
<adisbladis> superbaloo: Exactly. Nix packages cannot be setuid.
<superbaloo> i guess it makes sense ^^
<superbaloo> looks like it works, thank you!
<peelz> I'm trying to compile a realtek NIC kernel module but I'm getting error: https://termbin.com/l7rj - default.nix: https://termbin.com/q71v
<cole-h> ddima: I've gotten it pretty much nailed down now! Missing just one bit. It looks extremely ugly, but it works!
<cole-h> <3 ddima Thanks for your help. I wouldn't have gotten this far without it
<{^_^}> ddima's karma got increased to 4
<peelz> I've looked at similar nix files but I can't seem to get it to build
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5c32423330f (from 76 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<abbe> hey!
<abbe> or well, hi
KeiraT has quit [Ping timeout: 240 seconds]
mexisme_ has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @wahjava opened pull request #81459 → Fix FreeBSD support → https://git.io/Jv2qQ
<Avaq> Hi again! Is it possible to deploy to a different architecture using nixops? I'm trying to deploy to a raspberry pi running NixOS, and I'm seeing: `error: Package ‘raspberrypi-tools-2018-10-03’ in [...]/tools.nix:25 is not supported on ‘x86_64-linux’`.
wtuhfm^ has quit [Ping timeout: 256 seconds]
epl692 has quit [Ping timeout: 265 seconds]
epl692 has joined #nixos
mexisme_ has quit [Ping timeout: 255 seconds]
<Avaq> The error message suggests setting `allowUnsupportedSystem = true`, but with it, some build fails.
KeiraT has joined #nixos
<adisbladis> Avaq: You're gonna have to have access to an ARM builder (native, not cross)
<{^_^}> [nixpkgs] @vcunat opened pull request #81460 → WIP: nixos/knot: allow full configuration by nix values → https://git.io/Jv2mv
<manveru> i think you can set `boot.binfmt.emulatedSystems = [ "aarch64-linux" ];` for that?
<manveru> though i still don't have the foggiest how that actually works :)
<samueldr> it uses qemu-user to run userspace programs emulated, but syscalls native
<samueldr> it's a semi-emulated environment, where some stuff works as expected, other did not ~2-3 years ago
<samueldr> it's worse with armv6 and armv7, I think aarch64 is better
<manveru> it works fine for my pi, at leaat
<manveru> *least
<samueldr> which pi?
<manveru> 3
<samueldr> ah, so aarch64 :)
<manveru> jup :)
<samueldr> armv6 ~2-3 years ago had issues where some build processes detected an armv7 cpu
<Avaq> manveru: Thanks! I'll give that a try. Just to be sure, that setting is for the command machine, right? Not the target. Also an update: I reinstalled NixOS altogether on my PI, and managed to get out of my kernel version lock that way.
<{^_^}> [nixpkgs] @sikmir opened pull request #81461 → gpxsee: 7.22 -> 7.24 → https://git.io/Jv2mq
<manveru> yeah, that's on the machine you run nixops on
<samueldr> boot.binfmt.emulatedSystems will make it so the machine on which it is configured also appears as that kins of machine
<samueldr> that kind*
<samueldr> so yeah,
<Avaq> Right. That's what I thought.
<manveru> it's emulated, but still way faster than building on the pi :)
<adisbladis> manveru: TIL :)
<samueldr> semi-emulated, which is why it's quick enough
<samueldr> every time it crosses the barrier into kernelspace it's native syscalls
monadplus has joined #nixos
jonten has quit [Ping timeout: 256 seconds]
mexisme_ has joined #nixos
o1lo01ol1o has joined #nixos
<cole-h> If you make an option with `mkOption` and don't specify a default value, is that option then required?
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/698f5dbabc1 (from 71 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<gchristensen> if it needs to be used, yes
<gchristensen> but if you only use it if foo.enable = true, and foo.enable = false, the user doesn't need to specify it
<cole-h> Just to be clear: if I have an option `asdf` and no default, and an option `zxcv` with a default of `null`, `asdf` will be required and `zxcv` won't, correct?
Avaq has quit [Quit: Leaving.]
<cole-h> Well, at least it errors out with "used but not defined", which is good enough for me.
Avaq has joined #nixos
<Avaq> manveru: I've rebuilt with aarch64-linux simulaion, but I'm getting the same error when attempting to `nixops deploy`. Is there anything else I need to do to tell nixops that it should be building for aarch64-linux on the "pi" machine?
monadplus has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @B4dM4n opened pull request #81462 → amp: 0.6.1 -> 0.6.2 → https://git.io/Jv2m7
<tilpner> Avaq: nixpkgs.localSystem.system = "aarch64-linux";
<Avaq> Aha! That's exactly what I thought I was missing.
<{^_^}> [nixpkgs] @B4dM4n opened pull request #81463 → [20.03] amp: 0.6.1 -> 0.6.2 → https://git.io/Jv2mb
echelon has joined #nixos
<echelon> hi
<cole-h> Howdy
<echelon> i'm trying to figure out why nixbld needs 10 users
<cole-h> So it can build 10 things at the same time
<tilpner> echelon: Each concurrent build gets its own system user
opthomasprime has joined #nixos
<echelon> so it can't use the same user for multiple executions?
dckc has quit [Ping timeout: 240 seconds]
<tilpner> It will use the same nixbld user for multiple sequential builds
Soo_Slow has quit [Quit: Soo_Slow]
<tilpner> Are you having a problem with the nixbld users, or are you just curious?
<aranea> echelon: Why should it? Different uids are a very cheap way to isolate concurrent builds from each other.
<echelon> just curiosity
opthomasprime has quit [Remote host closed the connection]
wtuhfm^ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wtuhfm^ has quit [Read error: Connection reset by peer]
wtuhfm^ has joined #nixos
dckc has joined #nixos
<skykanin> exit
<{^_^}> Let me do that for you
skykanin has quit [Quit: WeeChat 2.7.1]
opthomasprime has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #81464 → matcha: 2020-02-27 -> 2020-03-01 → https://git.io/Jv2YI
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
opthomasprime has quit [Remote host closed the connection]
skykanin has joined #nixos
skykanin has quit [Client Quit]
zupo has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #81419 → recursive: 1.030 -> 1.042 → https://git.io/JvgQP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv2YR
aborsu has joined #nixos
<echelon> hey, any pointers on this (no pun intended)? https://paste.ee/r/daMY6
knupfer has quit [Remote host closed the connection]
<echelon> /nix/store/hahqzd9pkdh7sy3hgz3yq6fqrca72jlv-ivory.pill is an LFS pointer (it starts with 'version')
<echelon> to fix, run: git lfs install
<{^_^}> [nixpkgs] @benley opened pull request #81465 → services.mailman: use RemainAfterExit so settings take effect properly → https://git.io/Jv2Yi
<echelon> `git lfs install` isn't a command
<Avaq> Hi again! I seem to be running into #70939 while doing `nixops deploy`: https://gist.github.com/30bce4a05a512256f2be68f3bab806ef - Any ideas on how to avoid this?
<{^_^}> https://github.com/NixOS/nixpkgs/issues/70939 (by xbreak, 20 weeks ago, closed): SSL peer certificate or SSH remote key was not OK (60)
<echelon> nvm, found git-lfs extension
kleisli has joined #nixos
<echelon> new error.. https://paste.ee/r/KACQN
<echelon> /nix/store/l43p9mx6vmkc0bizw4hqxdpm8zys296s-builder.sh: /nix/store/smq5sld2fdy3cs2ly1sv518vrl7q5kd6-libtool-2.4.6/bin/libtoolize: /bin/sh: bad interpreter: No such file or directory
<echelon> bad interpreter?
<echelon> my /bin/sh is just a symlink to bash
<samueldr> /bin/sh isn't in the sandbox
mjrosenb has joined #nixos
<echelon> oh, so how do i fix the error
<samueldr> patchshebangs I think should handle that
<echelon> where
<echelon> ok, thanks
<echelon> mine just looks like https://paste.ee/r/5i3Zo
<echelon> where would i put it
<evanjs> balsoft: normally you’d just use options in place of config, but it looks like the default for security.pam.services is blank so idk what the best approach is 😬
<OmnipotentEntity> I'm having some difficulties getting a CUDA application to run, my error says: "error CUDA driver version is insufficient for CUDA runtime version" I'm pulling in the latest versions of cudatoolkit and cudnn and I have nvidia driver version 440.59 installed according to nvidia-smi. Any ideas? The repository I'm testing is: https://github.com/lightvector/KataGo/ and my shell.nix is located here: https://pastebin.com/0upZWgkW
Avaq has quit [Ping timeout: 256 seconds]
peanutbutter144 has joined #nixos
eadwu has joined #nixos
ddellacosta has joined #nixos
eadwu has quit [Client Quit]
<{^_^}> [nixpkgs] @vbgl merged pull request #80972 → ocamlPackages.ocp-index: 1.1.9 → 1.2 → https://git.io/JvE02
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/Jv2Oz
peelz has quit [Quit: Leaving]
<rycee> I'm trying to use `haskellPackages.developPackage` in a `default.nix` file but when I start a nix shell the ghc I get seems to be a plain unwrapped one, not one wrapped to see the module dependencies. Anybody know off-hand what I did wrong?
<rycee> Ah, when I remove the `.envrc` that starts lorri and start the nix shell manually it works!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81466 → at-spi2-atk: 2.34.1 -> 2.34.2 → https://git.io/Jv2OP
<genesis> in postInstall i can't get $sourceRoot files, i'm right ?
<clever> genesis: all phases run in a single bash session, and can access any vars the previous ones setup
<clever> genesis: postInstall should still be cd'd into the build dir, so you can just use the files in the working dir
<genesis> install -Dm644 $sourceRoot/icons/$i-48d24.png $out/share/icons/hicolor/48x48/apps/
<genesis> my syntax is incorrect so
<clever> genesis: after unpackPhase is ran, you get cd'd into $sourceRoot
<clever> genesis: so you want `install -Dm644 icons/$i-48d24.png $out/share/icons/hicolor/48x48/apps`
<{^_^}> [nixpkgs] @dawidsowa opened pull request #81467 → rss-bridge: init at 2020-02-26 → https://git.io/Jv2OD
<genesis> but author start go in $out/bin
<genesis> so i loose the path, since $sourceRoot is not fullpath
jonten has joined #nixos
<clever> genesis: your already in $sourceRoot, try what i just gave
<genesis> yes but i've a cd $out/bin before what i need to add to expression
<genesis> i just save the sourceDir before.
<clever> genesis: $sourceRoot is usually relative to $NIX_BUILD_TOP
<genesis> i think i took already too much time just to fix things i doubt authors would merge
aborsu has quit [Quit: aborsu]
aborsu has joined #nixos
<genesis> that's often the issue :-)
JonReed has quit [Ping timeout: 260 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wavirc22 has joined #nixos
Acou_Bass has quit [Ping timeout: 240 seconds]
Acou_Bass has joined #nixos
peanutbutter144 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kleisli has quit [Ping timeout: 265 seconds]
peanutbutter144 has joined #nixos
<{^_^}> [nixpkgs] @benley opened pull request #81468 → services.mailman: Give mailman a posix group → https://git.io/Jv23I
energizer` has joined #nixos
jgeerds has quit [Ping timeout: 260 seconds]
<Cadey> i'm trying to use TLS certificates from a rust program running in a docker image. I have cacerts added as a package to the docker image, but openssl is throwing a "unable to get local issuer certificate" error: https://github.com/Xe/pahi/runs/478336249?check_suite_focus=true#step:5:264, what am I doing wrong? https://github.com/Xe/pahi/blob/master/docker.nix
<energizer`> if i use one of the tools that builds derivations from a language-specific lockfile, it'll decide on some dependency versions that are different from the versions in nixpkgs, meaning i don't get to use the nixpkgs libraries and i have to build the deps myself, right?
<cole-h> I believe so
<{^_^}> [nixpkgs] @evhan opened pull request #81469 → chicken: 5.1.0 -> 5.2.0 → https://git.io/Jv23O
<{^_^}> [nixpkgs] @pacien opened pull request #81470 → [19.09] riot-web: accept conf override as attrset and str → https://git.io/Jv23G
<{^_^}> [nixpkgs] @pacien closed pull request #81452 → riot-web: accept conf override as attrset and str → https://git.io/Jv2LT
Thra11 has quit [Ping timeout: 256 seconds]
kleisli has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81471 → bacula: 9.4.4 -> 9.6.2 → https://git.io/Jv23l
drakonis has joined #nixos
<excelsiora> Why did I think nix was written in Haskell? It's C++. :?
philr has joined #nixos
<clever> excelsiora: hnix is a project to re-implement it in haskell
<excelsiora> If it's already done, why do it again?
<excelsiora> Does the C++ version have bugs Haskell will solve?
<{^_^}> [mobile-nixos] @samueldr opened pull request #86 → Boot GUI: Simulator fixes → https://git.io/Jv23R
<clever> excelsiora: partially, hnix is a library to parse nix code into an AST, and turn the AST back into nix code
<clever> excelsiora: so it also has a use for generating nix files automatically
liamdiprose has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #81470 → [19.09] riot-web: accept conf override as attrset and str → https://git.io/Jv23G
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to release-19.09: https://git.io/Jv23X
dontobey has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #81415 → linux: add policy routing config flag → https://git.io/Jvgya
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jv23y
__monty__ has quit [Quit: leaving]
<genesis> when i install package, my desktop menu is not update with new desktop, i try many update-desktop-database ( ~/.local/share/applications/ ...)
kleisli has quit [Ping timeout: 260 seconds]
<genesis> but it seems it's not working, do you think it's a desktop bug or a nixos issue, due to the fact that update are only makes in systemwide install
witchof0x20 has joined #nixos
Flambe has joined #nixos
mjrosenb has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @bignaux opened pull request #81472 → sgt-puzzles: add desktop files → https://git.io/Jv2sv
<genesis> if some people with desktop menu widget can test quickly if they have the desktop file
KeiraT has quit [Remote host closed the connection]
KeiraT has joined #nixos
linarcx has quit [Ping timeout: 258 seconds]
maddo has quit [Quit: See ya]
work_ has joined #nixos
<{^_^}> [nixpkgs] @pacien opened pull request #81473 → riot-web: mention incompatible config change in release notes → https://git.io/Jv2sG
<{^_^}> [nixops] @grahamc merged pull request #1236 → deployment.py: more mypy type checking → https://git.io/Jvg5O
<{^_^}> [nixops] @grahamc pushed commit from @AmineChikhaoui to start-with-types « deployment.py: more mypy type checking »: https://git.io/Jv2sZ
NoctisLabs has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @zowoq opened pull request #81474 → youtube-dl: 2020.02.16 -> 2020.03.01 → https://git.io/Jv2sR
<{^_^}> [nixpkgs] @7c6f434c merged pull request #81472 → sgt-puzzles: add desktop files → https://git.io/Jv2sv
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/Jv2sE
NoctisLabs has joined #nixos
<{^_^}> [nixpkgs] @MP2E merged pull request #78516 → mgba: 0.7.3 -> 0.8.0 → https://git.io/JvqDU
<{^_^}> [nixpkgs] @MP2E pushed commit from @r-ryantm to master « mgba: 0.7.3 -> 0.8.0 »: https://git.io/Jv2s2
<{^_^}> [nixpkgs] @worldofpeace opened pull request #81475 → wrapGAppsHook: Fix #78803 → https://git.io/Jv2sa
philr has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81423 → [20.03] smartmontools: 7.0 -> 7.1 and devicedb updated to latest → https://git.io/JvgNa
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-20.03: https://git.io/Jv2sw
o1lo01ol1o has quit [Remote host closed the connection]
jonten has quit [Ping timeout: 260 seconds]
kristian_ has joined #nixos
Flambe has quit [Read error: No route to host]
mexisme_ has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #81476 → yq-go: 3.1.2 -> 3.2.1 → https://git.io/Jv2so
<energizer`> what am i doing wrong? https://bpaste.net/GGYA
o1lo01ol1o has joined #nixos
malSet has joined #nixos
jmeredith has joined #nixos
<energizer`> (output at the bottom)
<{^_^}> [nixpkgs] @bignaux opened pull request #81477 → Sgt puzzles → https://git.io/Jv2si
<balsoft> energizer`: I suspect `requirements.nix` are not supposed to be `callPackage`d
<{^_^}> [nix-pills] @112358a opened pull request #128 → Fix typos in pill 7 → https://git.io/Jv2s1
<balsoft> Try propagatedBuildInputs = [(import ./requirements.nix { inherit pkgs; })]; instead
bhipple has joined #nixos
<energizer`> same thing
<energizer`> happens
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<clever> excelsiora: requirements.nix returns a set, propagatedBuildInputs wants a list of derivations
<energizer`> clever: was that for me?
<clever> oops, yeah
<excelsiora> :)
drakonis has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bignaux closed pull request #81477 → Sgt puzzles → https://git.io/Jv2si
<excelsiora> gchristensen: the main repo doesn't seem to have your branch, so I rm -rf'd my fork - I guess I should try to fork from your personal repo?
<gchristensen> excelsiora: nixos/nixpkgs has the start-with-types branch for sure: https://github.com/NixOS/nixops/tree/start-with-types
drakonis has joined #nixos
<excelsiora> ok, I'm new to git, would have thought git branch --list would have shown it?
<clever> excelsiora: i tend to use `git branch -a`
<cole-h> `git branch` only shows your local branches
<excelsiora> ah... *brushes off notebook with git notes* I'll work from my notes instead of my memory and glancing at the man pages
<energizer`> requirements_override.nix https://bpaste.net/KICA error: attribute 'pytest-runner' missing
mexisme_ has joined #nixos
bhipple has quit [Ping timeout: 258 seconds]
<energizer`> what is self here? why doesn't it have pytest-runner?
bhipple has joined #nixos
<excelsiora> ok, checked it out successfully.
<excelsiora> I come from a gui-based cvs-backend world...
cosimone has quit [Quit: Quit.]