worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
f1lsh3nn has joined #nixos
f1lsh3nn has left #nixos [#nixos]
sophia has joined #nixos
sophia is now known as Guest42641
Guest42641 is now known as sophiv
bugra has quit [Quit: Leaving]
pamplemo1sse has joined #nixos
noudle has quit []
<sophiv> Hello, I was trying trying to package this program https://github.com/pekdon/wallpaperd using this as an example . I think I did it halfway, but still can't get it to work. This is the first time I try to do this. Is this a place I can get help with that?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93564 → dnsmasq: 2.81 -> 2.82 → https://git.io/JJCwL
pamplemousse has quit [Ping timeout: 240 seconds]
chrmb has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #93565 → python3Packages.cryptography: 2.9.2 -> 3.0 → https://git.io/JJCwE
<colemickens> Lots of sources claim post-build-hook should work on CLI but I can't seem to see signs of it working.
<colemickens> nix-build ~/code/nixpkgs/cmpkgs -A gnome3.gedit --option post-build-hook $(pwd)/test.sh
<colemickens> $(pwd)/test.sh just does `echo "${1}" >test2`, but test2 never gets filled.
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [mobile-nixos] @samueldr merged pull request #187 → kernel-builder/menuconfig: Use pkg-config wrapper → https://git.io/JJZtA
<{^_^}> [mobile-nixos] @samueldr pushed 2 commits to master: https://git.io/JJCwX
joehh1_ has joined #nixos
<joehh1_> good morning - is there a way to evaluate a nix expression to json on the command line?
<joehh1_> I often wrap an expression in pkgs.writeText "file.json" (builtins.toJSON expr), but would like to be able to do that directly from the command line
<clever> $ nix-instantiate --eval -E '{ a=42; }' --json
<clever> {"a":42}
<bqv> see also: nix eval
<joehh1_> awesome - thanks for that
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/190e79d0f38 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nix] @meditans opened pull request #3842 → Correct bug, thoroughly document addToStoreSlow → https://git.io/JJCwb
<joehh1_> sadly if my data structure includes functions (ie modules), then there is not much I can do - thanks anyway
dbmikus has quit [Ping timeout: 258 seconds]
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJCrq
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #93566 → tunnelto: 0.1.9 -> 0.1.11 → https://git.io/JJCr8
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
sophiv has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #93554 → cproto: 4.7o -> 4.7p → https://git.io/JJCRJ
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JJCr6
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93567 → gnome3.gnome-disk-utility: 3.36.1 -> 3.36.3 → https://git.io/JJCry
tinamus[m] has joined #nixos
<tinamus[m]> Hey guys, I am looking forward to starting using Nix package manager. I started reading the manual and the nix pills, but they both feel unfriendly for noobs. Do you know of a good resource to learn from scratch?
<simpson> Hm, I wonder to what degree "for noobs" and "from scratch" are at odds. If you're looking to learn as a newbie, then it helps to have a goal in mind and probably nixpkgs will help you get there; but also, it's possible to use Nix on its own in a from-scratch sort of manner.
<simpson> There *is* at least one completely from-scratch resource, the Nix thesis, which explains the rationale for a Nix-shaped build system and touches on the philosophy and theory. But that's probably not going to help you on your first few projects.
ivan has quit [Quit: lp0 on fire]
dustinm has quit [Quit: Leaving]
sigmundv has quit [Read error: Connection reset by peer]
<tinamus[m]> Alright, to give a little context I currently use arch and I want to get to get to know nix and see if it could replace Pacman. My main goal is to have a config that I can load to a new computer and have it ready to work with as little friction possible. I mostly use emacs, so as a first project I’d like to be able to have an environment for all the packages I use in emacs.
sigmundv has joined #nixos
pamplemo1sse has quit [Ping timeout: 240 seconds]
<Ashy> tinamus[m]: there's a couple good youtube talks that walk through some of that, let me find one
<Ashy> tinamus[m]: this one is good: https://youtu.be/tl9I-R83lKo
<Ashy> and ghuntley is in the channel here too
<simpson> Ashy++
<{^_^}> Ashy's karma got increased to 3
proofofkeags has joined #nixos
<tinamus[m]> Noice! Thank you, ashy!
<jneplokh> Hey there, I was running a `nixos-rebuild switch` and Nextcloud is throwing up some errors about the database
<jneplokh> `PDOException: SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "oc_appconfig" does not exist
<jneplokh> LINE 1: SELECT * FROM "oc_appconfig"
<jneplokh> ^ in /nix/store/2pr764nihhnqk8l79acnmldmrk17xf6i-nextcloud-19.0.0/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:88`
<jneplokh> * ```
<jneplokh> Is there a way to figure out what is happening/fix it?
shibboleth has quit [Remote host closed the connection]
eoli3n has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93343 → maintainers-list: add a GDPR note, avoid unnecessary data collection → https://git.io/JJZVo
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJCo7
<{^_^}> [nixpkgs] @aaronjanse opened pull request #93568 → Add Redox OS as a target → https://git.io/JJCKB
ivan has joined #nixos
ivan has joined #nixos
ivan has joined #nixos
ivan has quit [Changing host]
<{^_^}> [nixpkgs] @siriobalmelli opened pull request #93569 → python3Packages.pytest-localserver: fix build → https://git.io/JJCKp
<ivan> how do I get hydra-unstable to work in nixpkgs master?
<clever> ivan: ive also run into that and it doesnt look easy without diving head-first into flakes
<ivan> gah
<clever> my personal hydra is stuck on a version that randomly segfaults when serving http requests, lol
<ivan> would be cool if PRs didn't get merged if they broke hydra!
<simpson> Yo dawg, don't we have NixOS tests that set up a Hydra? So that we can have Hydra test that Hydra can test?
<clever> lol
<ivan> haha
cosimone_ is now known as cosimone
<simpson> To answer my own question: We have the tests, nixos/tests/hydra, but we don't run/require them.
<ivan> nix commit says:
<ivan> This is only used by hydra-queue-runner and it's better to implement it there.
<ivan> Remove 'accessor' from addToStore()
<ivan> (not implemented in Hydra)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/190e79d0f38 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
bkv has joined #nixos
markus1189 has joined #nixos
bqv has quit [Ping timeout: 272 seconds]
bkv is now known as bqv
sigmundv_ has joined #nixos
sigmundv has quit [Read error: Connection reset by peer]
markus1199 has quit [Ping timeout: 256 seconds]
emperorOfTrebiz1 has joined #nixos
<emperorOfTrebiz1> anybody know the state of adoption for work defending against targeted malicious updates?
h0m1 has quit [Ping timeout: 256 seconds]
h0m1 has joined #nixos
nickeraqua has quit [Remote host closed the connection]
<simpson> emperorOfTrebiz1: Is there a specific page you're looking at? Our primary defense is peer review.
rajivr has joined #nixos
<emperorOfTrebiz1> simpson:well, there's an area of research on this that is next to my own
<emperorOfTrebiz1> see CHAINIAC
<emperorOfTrebiz1> and thishttps://arxiv.org/pdf/1711.07278.pdf
knerten1 has joined #nixos
<simpson> emperorOfTrebiz1: Hm. At a glance (and sadly, I can only spare a glance, because I have to go pick up dinner) I'd ask how you feel about ports trees. nixpkgs is very akin to BSD or Gentoo ports in how updates are introduced to end-users and also in what users are asked to build locally.
knerten2 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93570 → gnuplot: 5.2.8 -> 5.4.0 → https://git.io/JJCi0
Scriptkiddi has quit [Remote host closed the connection]
ajs124 has quit [Remote host closed the connection]
das_j has quit [Remote host closed the connection]
mrpi has quit [Remote host closed the connection]
mrpi has joined #nixos
ajs124 has joined #nixos
das_j has joined #nixos
Scriptkiddi has joined #nixos
capt_zap_ has joined #nixos
proofofkeags has quit [Remote host closed the connection]
ElliotXX has joined #nixos
proofofkeags has joined #nixos
capt_zap has quit [Ping timeout: 256 seconds]
proofofkeags has quit [Ping timeout: 264 seconds]
Cale has quit [Ping timeout: 256 seconds]
justan0theruser has joined #nixos
pjt_014 has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
MarcWebe1 has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
MarcWeber has quit [Ping timeout: 246 seconds]
ris has joined #nixos
_ris has quit [Ping timeout: 264 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
Cale has joined #nixos
<simpson> ,locate bin ps2pdf
<{^_^}> Found in packages: ghostscriptX, texlive.combined.scheme-full, texlive.combined.scheme-medium
ElliotXX has quit [Remote host closed the connection]
sigmundv_ has quit [Ping timeout: 265 seconds]
cjpb1 has joined #nixos
cjpbirkbeck has quit [Ping timeout: 258 seconds]
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @groodt opened pull request #93571 → argo: 2.8.2 -> 2.9.3 → https://git.io/JJCXM
cjpb1 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Lassulus merged pull request #72320 → zigbee2mqtt package & module → https://git.io/JezcR
<{^_^}> [nixpkgs] @Lassulus pushed 4 commits to master: https://git.io/JJCX5
cjpbirkbeck has quit [Quit: Goodbye, take care]
<{^_^}> [nixpkgs] @marsam opened pull request #93572 → minisign: 0.8 -> 0.9 → https://git.io/JJC1J
<emperorOfTrebiz1> simpson: thanks! I think ports on there own handle the issues here, though they might be an interesting platform to build on to address the threat of an untrusted repository sending malicious updates (notice signing doesn't help) and possibly lying about reproducibility (for systems that have it)
emperorOfTrebiz1 has left #nixos [#nixos]
pinkieval has quit [Ping timeout: 265 seconds]
pinkieval has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
Supersonic112 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #93573 → kbs2: 0.1.2 -> 0.1.3 → https://git.io/JJCMJ
Supersonic has quit [Ping timeout: 272 seconds]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @marsam opened pull request #93574 → pdfminer: 20200517 -> 20200720 → https://git.io/JJCMk
CMCDragonkai1 has joined #nixos
endformationage has quit [Quit: WeeChat 2.7.1]
cosimone has quit [Quit: Quit.]
philr_ has joined #nixos
user_0x58 has quit [Ping timeout: 260 seconds]
OmnipotentEntity has quit [Read error: Connection reset by peer]
OmnipotentEntity has joined #nixos
OmnipotentEntity has joined #nixos
philr has quit [Ping timeout: 265 seconds]
lambda-11235 has joined #nixos
guelosk[m] has joined #nixos
cjpbirkbeck has joined #nixos
<lambda-11235> Anyone know how to setup Agda with AgdaStdlib on 20.03?
cjpbirkbeck has quit [Quit: cjpbirkbeck]
user_0x58 has joined #nixos
Rusty1 has quit [Quit: WeeChat 2.3]
ddellacosta has quit [Ping timeout: 240 seconds]
eoli3n has joined #nixos
alp has joined #nixos
MarcWebe1 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #93567 → gnome3.gnome-disk-utility: 3.36.1 -> 3.36.3 → https://git.io/JJCry
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « gnome3.gnome-disk-utility: 3.36.1 -> 3.36.3 »: https://git.io/JJCDH
drakonis has quit [Quit: WeeChat 2.8]
gxt has joined #nixos
<lambda-11235> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
<{^_^}> [nixpkgs] @danieldk merged pull request #93572 → minisign: 0.8 -> 0.9 → https://git.io/JJC1J
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJCyO
<{^_^}> [nixpkgs] @danieldk merged pull request #93571 → argo: 2.8.2 -> 2.9.3 → https://git.io/JJCXM
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJCy8
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
DerSaidin has joined #nixos
power-fungus has joined #nixos
hololeap has quit [Quit: WeeChat 2.8]
<DerSaidin> Hi! I have an older system generation which plays a particular game perfectly. When I rebuilt the game no longer works. I'd like to bisect and find the issue, but I'm not sure how to proceed.
ivan has quit []
ivan has joined #nixos
<DerSaidin> I'm thinking I'd either like to 1) construct a system manually (select which build of each package goes in); or 2) have some way to nixos-rebuild switch with the nixpkgs channel at some specific revision.
<DerSaidin> I'm not sure which of those approaches would be best (or something else?), and I don't know how to do either of those.
<power-fungus> I have a rasberry pi running nixos, which I want to give a static IP. I set the property `networking.interfaces.eth0.ipv4.addresses` in `configuration.nix`. However, the interface still gets another ip address. How would I go about debugging this issue?
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93575 → filezilla: 3.48.1 -> 3.49.1 → https://git.io/JJCy7
gxt has quit [Quit: WeeChat 2.9]
maier has joined #nixos
OmnipotentEntity has quit [Ping timeout: 246 seconds]
Arahael has quit [Ping timeout: 264 seconds]
OmnipotentEntity has joined #nixos
OmnipotentEntity has joined #nixos
OmnipotentEntity has quit [Changing host]
Arahael has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
growpotkin has joined #nixos
palo1 has joined #nixos
dbmikus has joined #nixos
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @danieldk merged pull request #93566 → tunnelto: 0.1.9 -> 0.1.11 → https://git.io/JJCr8
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJCS9
turlando has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #93576 → rocm-device-libs: 3.5.0 -> 3.5.1 → https://git.io/JJCSA
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nixuser has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
user_0x58 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @danieldk opened pull request #93577 → softmaker-office, freeoffice: change version to edition.version → https://git.io/JJC9Y
<pjt_014> power-fungus: I think you'd want to disable dhcp?
power-fungus has quit [Ping timeout: 240 seconds]
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<pjt_014> bruh
<DerSaidin> lol
<DerSaidin> :q
jbox has joined #nixos
<pjt_014> I was just abouta look up the option too. networking.useDHCP or such
<pjt_014> though it might've changed in 20.03
coot has quit [Quit: Connection closed for inactivity]
dustinm has joined #nixos
epitron[m] has joined #nixos
titano_ has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
titano has joined #nixos
lsix has joined #nixos
cole-h has quit [Quit: Goodbye]
mariatsji has joined #nixos
<Mic92> gchristensen: if you find some time, could you maybe comment what needs to be done to fix ofborg with w.r.t. to github actions? https://github.com/NixOS/nixpkgs/pull/87853#issuecomment-661415503
<flokli> DerSaidin: you can just pass -I nixpkgs=/path/to/checkout on your nixos-rebuild switch
domogled has joined #nixos
<flokli> and bisect in that checkout
mvnetbiz_8 has quit [Quit: Bye!]
mvnetbiz_8 has joined #nixos
cfricke has joined #nixos
mvnetbiz_8 has quit [Client Quit]
mvnetbiz_8 has joined #nixos
orivej has joined #nixos
nikita` has joined #nixos
rodgort has joined #nixos
mallox has joined #nixos
<{^_^}> [nixpkgs] @evils opened pull request #93578 → kicad: fix build → https://git.io/JJC7C
jb55 has quit [Remote host closed the connection]
dbmikus has joined #nixos
jb55 has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93576 → rocm-device-libs: 3.5.0 -> 3.5.1 → https://git.io/JJCSA
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJC7K
orivej has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
asheshambasta has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @danieldk merged pull request #93429 → sortmerna: 3.0.3 -> 4.2.0 → https://git.io/JJnun
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJC5W
orivej_ has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @offlinehacker opened pull request #93579 → wolframscript: init at 12.1.0 → https://git.io/JJC5r
mariatsji has quit [Remote host closed the connection]
power-fungus has joined #nixos
zupo has joined #nixos
orivej_ has quit [Ping timeout: 256 seconds]
power-fungus has quit [Client Quit]
orivej has joined #nixos
gxt has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
syds[m] has joined #nixos
dermetfan has joined #nixos
hyper_ch_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 opened pull request #93581 → add github action to wait for ofborg → https://git.io/JJCdA
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nix] @edolstra merged pull request #3842 → Correct bug, thoroughly document addToStoreSlow → https://git.io/JJCwb
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJCdh
<{^_^}> [nixpkgs] @offlinehacker opened pull request #93582 → mathpix-snipping-tool: init at 02.04.0002 → https://git.io/JJCFt
hyper_ch has joined #nixos
jbgi has joined #nixos
Supersonic has quit [Ping timeout: 256 seconds]
phnom has joined #nixos
<{^_^}> [nixos-weekly] @domenkozar merged pull request #127 → Add introduction to nix-shell blog post → https://git.io/JJCae
<{^_^}> [nixos-weekly] @domenkozar pushed 2 commits to master: https://git.io/JJCFV
lambda-11235 has quit [Quit: Bye]
simonpe^^ has joined #nixos
domogled has quit [Remote host closed the connection]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker opened pull request #93583 → okteto: init at 1.8.15 → https://git.io/JJCbf
yosafbridge has joined #nixos
pjt_014 has quit [Ping timeout: 256 seconds]
isHavvy has quit [Ping timeout: 260 seconds]
<gthm_> How can I edit the user@UID.service (for example user@1000.service) in nixos? I want to add 'Delegate = "yes"' to its [Service] configuration. I guess I could do it by setting systemd.services."user@1000".serviceConfig, but how do I get around the hardcoded UID?
orivej has quit [Quit: No Ping reply in 180 seconds.]
whald has joined #nixos
orivej has joined #nixos
<gthm_> nope, systemd.services."user@1000" gets a syntax error
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/949d39135bb (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
fmzakari__ has joined #nixos
<srk> gthm_: systemd.user.services?
<srk> mm, not quite
<dutchie> that's a systemd argument, perhaps you could try setting `systemd.services."user@"`?
<srk> looks like jsut systemd.services."user@"
<srk> yup
<gthm_> oh wait, I was missing the quotes from "user@". duh
waleee-cl has joined #nixos
fmzakari_ has quit [Ping timeout: 260 seconds]
dermetfan has quit [Ping timeout: 260 seconds]
<simonpe^^> I have a derivation with a shellHook. Now I create a shell.nix and I want to execute the shell hook of my package twice, once for arm and once for host. If i add to my inputsFrom (pkgsArm.callPackage ./bla.nix {}) and (pkgs.callPackage ./bla.nix {}) it's going to just calle the shell hooks from the "normal" non cross compiling environment
cjpbirkbeck has quit [Quit: Goodbye, take care]
MarcWeber has joined #nixos
<simonpe^^> because in mkShell the shellHook is just a concatenation of all the shellHook's from the different inputs
<simonpe^^> so how do I create a shell wher I execute two shellHooks from build inputs in their own respective environments?
<simonpe^^> sorry for possibly using the wrong terminology but meh
<{^_^}> [nixpkgs] @DavHau opened pull request #93584 → nextcloud: configurable user and group, enable nginx, improve setup service → https://git.io/JJCNf
Havvy has joined #nixos
Supersonic has joined #nixos
asymptotically has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
xd1le has joined #nixos
thc202 has joined #nixos
morph000 has joined #nixos
domogled has quit [Ping timeout: 256 seconds]
jbox has quit [Quit: good night everyone]
nixuser has quit [Read error: Connection reset by peer]
domogled has joined #nixos
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
hayman has quit [Read error: Connection reset by peer]
<jD91mZM2> Between Nix rev 334e26b and a79b6dd, I (1) get strange nix-daemon OOMs (2) get "non-zero padding" errors on certain flake operations (like `nix flake list-inputs`)
<jD91mZM2> I was like "oh no, whatever shall I do", until I remembered there are nix flake lock files and they are awesome
<{^_^}> [nixpkgs] @danieldk merged pull request #93480 → noisetorch: init at 0.5.1-beta → https://git.io/JJcsk
<{^_^}> [nixpkgs] @danieldk pushed 3 commits to master: https://git.io/JJCxa
dbmikus has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
o1lo01ol_ has quit [Remote host closed the connection]
dbmikus has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
dermetfan has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
xd1le has quit [Quit: Quit]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JJCpt
mallox has quit [Quit: WeeChat 2.8]
markus1189 has quit [Ping timeout: 260 seconds]
markus1189 has joined #nixos
<phnom> Hey, anyone have a working derivation (nix-shell?) that is able to build a kotlin/native multiplatform project? It downloads it's own dependencies (libs and gcc) so the libraries are linked wrong, several it can't find. I fixed it so ldd on the binary reports all libs correctly but when I run it gradle build says that it cant find the file (clang++).
<phnom> The file is there and I can run it in the shell outside of cradle
<phnom> s/cradle/gradle
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
civodul has joined #nixos
knupfer has joined #nixos
urkk has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
ElliotXX has joined #nixos
<ElliotXX> exit
ElliotXX has quit [Client Quit]
knupfer has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
random has joined #nixos
<random> hey guys
<random> could anyone help a bit
<random> we're using IOHK's Haskell Nix infrastructure
<random> they suggest this default.nix file
<random> we're very new when it comes to nix and cannot figure out how you could define multiple packages in this file
<random> they have haskell-nix-project in the example
<random> we're trying to have multiple of those in different folders
<{^_^}> [nixpkgs] @adrian-gierakowski opened pull request #93585 → dash: fix compilation on darwin → https://git.io/JJChK
Mic92 has quit [Quit: WeeChat 2.8]
Mic92 has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5717d9d2f7c (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ca4e665f8c3 (from 22 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
domogled has quit [Ping timeout: 240 seconds]
domogled has joined #nixos
<makefu> i want to update a package i maintain which just performed a complete rewrite from cpp to rust. the binary names and configuration format also changed. should i simply bump the package or are there some documents which i should add some extra documentation to? should i keep the old package definition?
leotaku has joined #nixos
kreyren has quit [Remote host closed the connection]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @makefu opened pull request #93586 → udpt: 2017-09-27 -> 3.1.1 → https://git.io/JJCju
<makefu> ^ it is about this PR
<lassulus> is it a dependency of something?
<makefu> nope, just the binary
<makefu> (bittorrent tracker)
<lassulus> I would say just bumping should be fine
<makefu> maybe add it to the changelog somewhere?
<makefu> release notes
kreyren has joined #nixos
<makefu> xml .... T_T
<makefu> i try to add it to https://nixos.org/nixos/manual/release-notes.html#sec-release-20.03-incompatibilities
o1lo01ol1o has joined #nixos
afreak has joined #nixos
<typetetris> Does `callCabal2nix` instruct cabal to run multiple jobs at once? (Passing cabal the `-j` flag?)
domogled has quit [Ping timeout: 240 seconds]
alp has joined #nixos
domogled has joined #nixos
amir has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @oxalica opened pull request #93587 → rust-analyzer: 2020-07-13 -> 2020-07-20 → https://git.io/JJWeL
amir has joined #nixos
dermetfan has quit [Ping timeout: 260 seconds]
alp has quit [Ping timeout: 272 seconds]
<srhb> typetetris: Yeah, calLCabal2nix ends up bein g a regular callPackage once the expression i generated
<srhb> typetetris: And I think the parallel builder has been the default for the haskell generic guilder since like... 8.0, on linux.
<srhb> typetetris: Apparently I'm wrong, see pkgs/development/haskell-module/generic-builder.nix
wnklmnn has joined #nixos
<srhb> typetetris: (Search for enableParallelBuilding)
liff has joined #nixos
<typetetris> srhb: Thanks. Looks like it should be parallel on linux x86_64 at least.
<srhb> Yeah
<{^_^}> [nixpkgs] @meutraa opened pull request #93588 → androidStudioPackages.canary: 4.1.0.10 -> 4.2.0.4 → https://git.io/JJWej
<makefu> lassulus: how can i build the release notes? i only found documentation on how to build the manual ...
pitch has quit [Changing host]
pitch has joined #nixos
pitch has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3840 → README: improve development docs → https://git.io/JJCeb
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/JJWv3
<kl3> installing the gnome3.gnome-boxes does not set virtualization.libvirtd.enable = true; by default, wouldn't it make sense to do so?
<kl3> i also found that gnome-boxes does not pull qemu-utils as dependency, so clicking a new vm would download the entire OS image only to fail immediately afterwards because qemu-img(1) is not installed
<kl3> enabling libvirtd pulls in the entire qemu package so that should also do the drick for missing qemu-img(1)
<kl3> are there use cases for gnome-cases without both libvirtd and qemu-img or is this an oversight in packaging gnome-boxes?
dbmikus has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
is_null has joined #nixos
domogled has quit [Ping timeout: 246 seconds]
sshow has quit [Ping timeout: 260 seconds]
domogled has joined #nixos
sneknek[m] has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
<kl3> hm, working on remote vms alone with boxes could perhaps legitimise the lack of libvirtd by default
<sneknek[m]> Is there a way to see reverse dependencies of any installed package? I am using plasma-desktop only, but something in my config is pulling gnome-desktop.
<lassulus> makefu: nix-build nixos/release.nix -A manual.x86_64-linux
<srhb> sneknek[m]: nix-store -q -referrers for reverse runtime deps
gthm has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
<srhb> sneknek[m]: But if it's your system it's probably not terribly helpful
<srhb> sneknek[m]: Might be better to check the build side of things.
<srhb> (Try anyway)
orivej has joined #nixos
<simonpe^^> I'm using dockerTools.buildImage to create an OCI image with my application. Now I need to provide a debug image with gdbserver in it, but adding gdb brings in 1.2GB of dependencies (vs 15MB with only the application). The largest dependencies by far are gcc, which I don't need. How would I remove that?
sshow has joined #nixos
meh` has joined #nixos
<makefu> lassulus: https://nixos.org/nixpkgs/manual/ contains a contribution section but it seems https://nixos.org/nixos/manual/ does not.
<sneknek[m]> <srhb "sneknek: Might be better to chec"> Are you suggesting I check derivations?
<{^_^}> [nixpkgs] @duairc opened pull request #93589 → networkd: Add a separate routeConfig section for each gateway → https://git.io/JJWfl
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<srhb> sneknek[m]: Yeah, that would probably make it clearer. Though if it really is a runtime dep of something else and not just your top level system, referrers might show you easier. :)
<srhb> sneknek[m]: There's also nix why-depends, but same caveats more or less
<srhb> sneknek[m]: As in `nix why-depends /run/current-system /nix/store/the-thing-you're-wondering-about`
o1lo01ol1o has quit [Ping timeout: 264 seconds]
knupfer has joined #nixos
<sneknek[m]> <srhb "sneknek: As in `nix why-depends "> Thanks for this! It is saying that nothing depends on gnome-desktop
alp has joined #nixos
<srhb> sneknek[m]: gnome-desktop given as full path?
<srhb> sneknek[m]: That makes it sound like your system doesn't have a runtime dependency on it at all.
<sneknek[m]> But I exported all the derivation names in nix-store to text file, and gnome-desktop is there. Is it possible that this is a leftover dependency of some package I removed?
<srhb> sneknek[m]: Your store will (almost always) contain lots of old stuff until you garbage collect.
<sneknek[m]> <srhb "sneknek: gnome-desktop given as "> Yes, I tried both full path and nixos.gnome3.gnome-desktop
<srhb> sneknek[m]: To find out if the build of your current system requires gnome-desktop you need to inspect just that tree of derivations
<srhb> You can find its deriver with nix-store -qd /run/current-system
tmaekawa has joined #nixos
<sneknek[m]> That makes sense. Thanks a a lot! On a side note, we need better documentation/manual for the nix command. If the flags are set, I might consider to start
<srhb> sneknek[m]: Pretty sure they're not, the nix interface is getting a complete overhaul with flakes.
<srhb> sneknek[m]: So it's continuously very experimental (and will even be hidden behind an experimental flag soon)
<sneknek[m]> That's good news then! If you have used flakes, how goes the progress on that? I read the first two installments of flakes on twig blog, and so far looks very exciting
<sneknek[m]> <sneknek[m] "That's good news then! If you ha"> *tweag
<srhb> sneknek[m]: I'm cautiously positive. :) Fixing the bootstrap problem is really nice. The rest of the UX feels very WIP so far, but that's fine too.
tmaekawa has quit [Quit: tmaekawa]
<sneknek[m]> <srhb "sneknek: I'm cautiously positive"> :) By fixing the bootstrap, do you mean NixOS will move closer to Guix model where they try to fix 'trusting trust' issues?
<xwvvvvwx> I'm building a docker image using dockerTools, and I'm running into this error: "SSL certificate problem: unable to get local issuer certificate"
<srhb> sneknek[m]: I mostly mean that it's now much easier to lock down eval without a bunch of pure imports happening in secret --
<xwvvvvwx> I have pkgs.cacert in the contents, which is normally enough to fix this error in a pure nix-shell
<srhb> sneknek[m]: (right now overlays and config just leak in from a ton of places, you have to jump through hoops to make eval pure)
<xwvvvvwx> does anyone know what I need to do with dockerTools
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<xwvvvvwx> The error occurs when running a git clone inside the container
<sneknek[m]> Oh, that makes more sense. Thanks a ton for taking time to answer. :)
<{^_^}> [nixpkgs] @lblasc opened pull request #93590 → R: Update CRAN and bioconductor packages → https://git.io/JJWJ5
<simonpe^^> xwvvvvwx: you're missing SSL certificates, why I don't know
<simonpe^^> either you have to tell git what certificates to use or you have to disable SSL certificate verification
Rusty1 has joined #nixos
jbgi has quit [Ping timeout: 260 seconds]
<xwvvvvwx> figured it out, adding "SSL_CERT_FILE=${self.pkgs.cacert.out}/etc/ssl/certs/ca-bundle.crt" to `config.Env` in dockerTools.buildImage fixed the issue :)
domogled has quit [Ping timeout: 240 seconds]
domogled1 has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 1000 commits to haskell-updates: https://git.io/JJWUg
domogled1 is now known as domogled
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskellPackages: bump default compiler to ghc-8.8.4 »: https://git.io/JJWUP
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
gmarmstrong has joined #nixos
orivej has joined #nixos
gmarmstrong has quit [Quit: Quit]
o1lo01ol1o has joined #nixos
gv has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed 13 commits to haskell-updates: https://git.io/JJWUb
gv has joined #nixos
<{^_^}> [nixpkgs] @Flakebi opened pull request #93591 → nixos/manual: add a section about Vulkan drivers → https://git.io/JJWUA
chrmb has quit [Remote host closed the connection]
alp has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c64722a7b19 (from 20 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @flokli merged pull request #89798 → virtualbox: 6.1.6 -> 6.1.10 → https://git.io/JfDEb
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJWTB
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JJWTA
drewr has quit [Ping timeout: 260 seconds]
freezeboy has joined #nixos
<freezeboy> tpw_rules Hi I have a problem with the python environment using your patch
<tpw_rules> freezeboy: hey! thanks for getting in touch. i'll be at work in a couple hours and can sit down at my machine and we can discuss the problem then? I saw your undefined symbol error and i'm not sure where that might have come from
<freezeboy> yes no problem, poke me when you are available
<freezeboy> I cannot use python.withPackage either in fact :(
alp has joined #nixos
<tpw_rules> even not including the examples?
orivej has quit [Ping timeout: 240 seconds]
<freezeboy> didn't try that, atm I try to remove the init.py file as I didn't have that before, but I'm not a python module expert
alp has quit [Remote host closed the connection]
alp has joined #nixos
<tpw_rules> if it's not there you'll get an object without any methods when you try to import pyrealsense2
<tpw_rules> or module rather
jbgi has joined #nixos
<tpw_rules> from memory it just contains the line "from .pyrealsense2 import *"
<freezeboy> yes
<tpw_rules> also to me the command line examples are useful for updating the camera firmware and doing sanity checks on the connections and operation. iirc the command line ones aren't large or slow to compile but i will get numbers to see.
ixxie has joined #nixos
j0hax[m]1 has joined #nixos
<freezeboy> then I don't really care, some examples in other projects are really huge and useless
afreak_ has joined #nixos
afreak has quit [Quit: WeeChat 2.8]
<tpw_rules> is there a reason you set enableParallelBuilding to false by the way? i'm not sure how nixpkgs typically likes that setting but i like the speed boost. in any case, i have to get back to getting ready for work so talk to you later
<freezeboy> oh it wasn't meant to be pushed... I need it locally because 8 jobs are too much on my machine
afreak_ has quit [Client Quit]
<freezeboy> need to build a better local buildfarm ;)
afreak has joined #nixos
afreak has quit [Client Quit]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
johnnyfive has quit [Ping timeout: 240 seconds]
afreak has joined #nixos
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
smatting has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3801 → Constant space `addToStoreFromDump` and deduplicate code → https://git.io/JJYQ2
<{^_^}> [nix] @edolstra pushed 15 commits to master: https://git.io/JJWLm
disasm has joined #nixos
domogled has quit [Ping timeout: 256 seconds]
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @Flakebi opened pull request #93592 → amdvlk: 2020.Q2.6 -> 2020.Q3.1 → https://git.io/JJWtJ
<sreybastien[m]> hi Nixos Expert, i need some help with Hetzner cloud, do you know if UEFI is supported ?
<sreybastien[m]> system don't boot
dbmikus has quit [Ping timeout: 240 seconds]
freezeboy has quit [Ping timeout: 245 seconds]
dermetfan has joined #nixos
freezeboy has joined #nixos
ddellacosta has joined #nixos
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @markus1189 opened pull request #93593 → remind: 03.01.16 -> 03.03.01 → https://git.io/JJWq8
<dminuoso> sreybastien[m]: do you have console access?
<sreybastien[m]> yes dminuoso
<sreybastien[m]> i'm trying to move my config to legacy boot to see if the problem comes from uefi vs legacy bios
<dminuoso> Why doesnt it boot? What error messages do you see? What's the last thing it did successful?
<sreybastien[m]> i try to make one retry using legacy boot and if it's fail i share my config to check
alp has quit [Ping timeout: 272 seconds]
<freezeboy> tpw_rules it is strange when I run a python3.withPackages I get a python 3.8 instance but the PYTHONPATH contains only 3.7 libraries ...
<clever> freezeboy: what value did you give to withPackages?
<freezeboy> clever python3.withPackages (ps: with ps; [ pyrealsense2 ])
<clever> error: undefined variable 'pyrealsense2' at (string):1:64
<freezeboy> I want to check that the new package is correclty loaded by python
<clever> was it added to things recently?
<clever> ah, in your fork?
<freezeboy> it is in a pending PR
<freezeboy> yes
<clever> which pr?
<freezeboy> #92997
<{^_^}> https://github.com/NixOS/nixpkgs/pull/92997 (by freezeboy, 1 week ago, open): librealsense: refactor to allow use of cuda, and prepare for python integration
<freezeboy> hum it looks like the PYTHONPATH comes from my system
smatting has quit [Ping timeout: 246 seconds]
<freezeboy> clever do you know how to start the equivalent of nix-shell -p "python.withPackages ..." using a git repo instead of the nixos channel ?
<sreybastien[m]> dminuoso: i try this config, that compile actually : https://gist.github.com/reyman/65ed5de52bef3f2230825f68b0b831c6
<clever> freezeboy: -I nixpkgs=/path/to/nixpkgs
<sreybastien[m]> "no error reported"
<clever> [clever@amd-nixos:~/apps/nixpkgs-hasura]$ nix-build -E 'with import ./. {}; python3.withPackages (ps: with ps; [ pyrealsense2 ])'
<clever> freezeboy: i'm also using this to build it without launching the shell
<freezeboy> ah thanks ... so easy I forgot the -I flag
<alexfmpe> my `nix-shell --pure` has `nix` and `git` on it, but not the other stuff from `nix-env -i` or `environment.systemPackages` - what determines what things are available?
<clever> alexfmpe: what does `type git` return?
<alexfmpe> inside the shell:
<alexfmpe> git is /nix/store/sz7wrs0cg3d541s54if0p3660mfj639a-git-2.23.0/bin/git
<alexfmpe> > type git
<{^_^}> undefined variable 'type' at (string):318:1
<clever> alexfmpe: then its directly in $PATH, what args did you run nix-shell with?
<sreybastien[m]> dminuoso: ok i have a boot , so the problem was UEFI, and i also switch to LUKS 1 for GRUB because of incompatibility
xd1le has joined #nixos
<alexfmpe> just `--pure`
<clever> alexfmpe: do you have a shell.nix?
<sreybastien[m]> now i need to search about LUKS on top of LVM / LVM on top of LUKS
<alexfmpe> hmm yeah it might be getting stuff from there
<alexfmpe> checking
<alexfmpe> ah yeah there we go - that's where things are coming from
freezeboy has quit [Remote host closed the connection]
drakonis has joined #nixos
Addison[m] has joined #nixos
<{^_^}> [nixpkgs] @nh2 merged pull request #83302 → meshlab: 20190129-beta -> 2020.03 → https://git.io/Jvyjx
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JJWmR
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « libreoffice*: fix build after nss update »: https://git.io/JJWm0
freezeboy has joined #nixos
wallacer3 has joined #nixos
<freezeboy> clever tpw_rules Great it finally works
<freezeboy> thank you @cle
<freezeboy> clever thank you
wallacer3 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<freezeboy> tpw_rules are you sure wheels and setuptools are required at runtime ?
domogled has joined #nixos
wallacer3 has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
freezeboy has quit [Remote host closed the connection]
cfricke has quit [Quit: WeeChat 2.8]
<evanjs> Taking a look at terminal-server.nix and how it could be modified to be configurable and easily importable. The two things I'm wondering right now are:
<evanjs> 1) how might I require _a_ displayManager to be set?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
zupo has quit [Client Quit]
<evanjs> 2) if I _do_ add a package option (for the vnc server), how would I handle the path? Like, x11vnc already has a set of packages it needs in the path, but I don't know if it's feasible to account for that, tigervnc, etc
ddellacosta has joined #nixos
<dminuoso> evanjs: 1) use an assertion
<dminuoso> evanjs: what do you mean by path?
mounty has quit [Ping timeout: 256 seconds]
<evanjs> dminuoso: sure, sorry, I meant like, is there a property I can check for that? Checking against a list of (||) conditions seems hacky
<evanjs> and path as in the path available to the systemd service
<evanjs> and the programs available to it
<dminuoso> evanjs: You can use a let binding.
<evanjs> right yeah I just wasn't sure if there was an option I could check that checks that for me or etc
<dminuoso> let displayManager = ...; in ... assert (displayManager /= null) ...
<{^_^}> [nix] @meditans opened pull request #3844 → Update chunkSize to the suggested value → https://git.io/JJWYb
mounty has joined #nixos
<evanjs> can I do that on e.g. `config.services.xserver.displayManager`, though?
<evanjs> Like, won't that still have a value? (I'm wondering about to system option)
monokrome has quit [Ping timeout: 260 seconds]
<dminuoso> what do you mean?
thonkpod has quit [Ping timeout: 246 seconds]
<dminuoso> "wont that still have a value"?
pikajude has quit [Ping timeout: 272 seconds]
m_hackerfoo has quit [Ping timeout: 256 seconds]
ajp has quit [Ping timeout: 256 seconds]
<evanjs> so if config.services.xserver.displayManager needs to either have gdm, slim, lightdm, etc enabled. I need to ensure "a display manager" is enabled
HackerFoo has quit [Ping timeout: 272 seconds]
<evanjs> so I can't just check the if the current displayManager attribute is null, correct? (re your let example)
<evanjs> e.g. (config.services.xserver.displayManager.gdm.enable || config.services.xserver.displayManager.lightdm.enable)
pamplemousse has joined #nixos
{^_^} has quit [Remote host closed the connection]
thonkpod has joined #nixos
mounty has quit [Ping timeout: 258 seconds]
xd1le has quit [Read error: Connection reset by peer]
pikajude has joined #nixos
monokrome has joined #nixos
mounty has joined #nixos
m0rph has joined #nixos
spazzpp2[m] has joined #nixos
{^_^} has joined #nixos
HackerFoo has joined #nixos
xd1le has joined #nixos
morph000 has quit [Read error: Connection reset by peer]
m_hackerfoo has joined #nixos
<evanjs> i.e. is there a system option I can query to determine whether the user has _any_ displayManager enabled in their current system configuration
noudle has joined #nixos
morph000 has joined #nixos
erasmas has joined #nixos
ajp has joined #nixos
<dminuoso> why cant you?
<dminuoso> oh
<{^_^}> [nix] @edolstra merged pull request #3844 → Update chunkSize to the suggested value → https://git.io/JJWYb
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJWOE
m0rph has quit [Ping timeout: 240 seconds]
maier has quit [Ping timeout: 256 seconds]
<dminuoso> Yeah I guess you have to do ||
<dminuoso> Or you can modify the xserver nixos module to provide a config option with the "current displaymanager"
<dminuoso> (it would move the || logic into the authoritative module at the very least)
<dminuoso> Though, it seems like they are unrelated
pamplemousse has quit [Ping timeout: 260 seconds]
<evanjs> wot. I can't just use assert? :O
<evanjs> or rather, is there anything in the docs that details the differences between those and plain assert statements?
<evanjs> dminuoso: and mmkay yeah I sorta figured. Just wasn't sure how I might support anything in terms of custom displayManagers. if that's really an issue, I mean
<evanjs> I guess we can deal with that issue when the time comes :P
<gchristensen> these assertions provide better error messages for nixos modules than `assert` does
<evanjs> ah I found it
<evanjs> right, in the _NixOS_ docs lol
<evanjs> "Although Nix has the abort and builtins.trace functions to perform such tasks, they are not ideally suited for NixOS modules. Instead of these functions, you can declare your warnings and assertions using the NixOS module system."
<evanjs> that's what I was looking for :D
<evanjs> s/trace/assert/ tho lol
<evanjs> and alright, cool. so a dumb (||) thing for the displayManagers, now, I can either exclude the vnc package option for now, or allow the user to override or extend the path. hrm.
random has quit [Ping timeout: 240 seconds]
st3r4g[m] has left #nixos ["User left"]
<evanjs> gchristensen++
<{^_^}> gchristensen's karma got increased to 334
drakonis has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
gthm has quit [Ping timeout: 246 seconds]
proofofkeags has joined #nixos
pamplemousse has joined #nixos
<xwvvvvwx> Does anyone know how to make /usr/bin/env available in a docker image produced by dockerTools without using runAsRoot?
noudle has quit []
growpotkin has joined #nixos
<xwvvvvwx> I want to build them in a github action and the kvm capability is not available there, so runAsRoot is not an option
<xwvvvvwx> Adding this in `extraCommands` gives me a permission error when trying to create /usr... mkdir -p /usr/bin; ln -s ${self.pkgs.coreutils}/bin/env /usr/bin/env
asheshambasta has quit [Ping timeout: 272 seconds]
<clever> xwvvvvwx: you need to edit $out, not the real /usr/bin of the host
mananamenos__ has quit [Ping timeout: 264 seconds]
<xwvvvvwx> hmmmmm, if I add `mkdir -p $out/usr/bin; ln -s ${self.pkgs.coreutils}/bin/env $out/usr/bin/env` to `extraCommands` then I get `mkdir: cannot create directory '/nix/store/w8sspxin6pp9msyh90kp6y14l8x644cz-docker-layer-seth': File exists`
<xwvvvvwx> Am I doing it wrong?
<{^_^}> [nixpkgs] @costrouc opened pull request #93595 → python3Packages.pq: init at 1.8.1 → https://git.io/JJWsv
orivej has joined #nixos
<adisbladis> xwvvvvwx: I'd just add it to the list of contents like this:
<adisbladis> > dockerTools.buildLayeredImage { name = "example"; contents = [ (runCommand "env" {} "mkdir -p $out/usr/bin && ln -s ${coreutils}/bin/env $out/usr/bin) ]; }
<{^_^}> error: syntax error, unexpected $end, expecting '"', at (string):318:129
<adisbladis> > dockerTools.buildLayeredImage { name = "example"; contents = [ (runCommand "env" {} "mkdir -p $out/usr/bin && ln -s ${coreutils}/bin/env $out/usr/bin/env" ) ]; }
<{^_^}> "<derivation /nix/store/vx5m0l1rg8vnk2dgl7a7xlr0d5anqn32-example.tar.gz.drv>"
<{^_^}> [nixpkgs] @ryantm merged pull request #93398 → appimage: switch to gst-plugins-base 1.0 → https://git.io/JJnsG
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJWsL
johnnyfive has joined #nixos
proofofkeags has quit [Remote host closed the connection]
<xwvvvvwx> adisbladis: thanks!!!
<xwvvvvwx> adisbladis++
<{^_^}> adisbladis's karma got increased to 109
proofofkeags has joined #nixos
proofofkeags has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<immae> Hey there, I’m trying to understand the difference between nativeBuildInputs and buildInputs (I have only one computer in that scenario, no cross compiling or else). In my case, I had a `buildInputs = [ pkg-config openssl ];` in a rustPlatform.buildRustPackage derivation that failed to build (he couldn’t find pkg-config) and I had to put pkg-config to nativeBuildInputs but the requested change
<immae> doesn’t make sense to me
<immae> (compared to what I understand from the related nixpkgs manual page)
<{^_^}> [nixpkgs] @matthewbauer pushed to ios-deploy-update « ios-deploy: move out of nodePackages »: https://git.io/JJWsr
dbmikus has joined #nixos
drewr has joined #nixos
dbmikus has quit [Ping timeout: 265 seconds]
Thra11 has quit [Ping timeout: 256 seconds]
foldingcookie has joined #nixos
foldingcookie has left #nixos [#nixos]
<clever> immae: the buildInputs are meant for libraries for the target, and in some configs are omited from $PATH
<clever> immae: nativeBuildInputs is for build-time tools like pkg-config
<immae> Ah ok that’s why
<immae> Understood, thanks!
<eacameron> clever: "libraries for the target" does that mean dynamically linked libs during runtime?
<{^_^}> [nixpkgs] @Lassulus merged pull request #85398 → g933-utils: init at unstable-2019-08-04 → https://git.io/Jff6X
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JJWGm
<clever> eacameron: yeah
<{^_^}> [nixpkgs] @matthewbauer opened pull request #93596 → Support iOS 13 in cross → https://git.io/JJWGO
<eacameron> clever: Why is it called "build" inputs??
<clever> eacameron: its been called buildInputs since before the cross stuff got added
<eacameron> clever: I've always been confused by this and I know many other are as well. It might be time we added an alias with a better name :D
endformationage has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #93575 → filezilla: 3.48.1 -> 3.49.1 → https://git.io/JJCy7
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJWGX
fendor has quit [Ping timeout: 240 seconds]
domogled has quit [Quit: domogled]
dbmikus has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
m0rph has joined #nixos
gthm has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #93559 → clamav: 0.102.3 -> 0.102.4 → https://git.io/JJCEM
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJWZt
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
morph000 has quit [Ping timeout: 256 seconds]
__monty__ has joined #nixos
jbgi has quit [Quit: WeeChat 2.7.1]
pamplemousse has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.8-rc5 -> 5.8-rc6 »: https://git.io/JJWnZ
CMCDragonkai1 has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3714 → Add response body to network errors → https://git.io/JfdiN
<{^_^}> [nix] @edolstra pushed 14 commits to master: https://git.io/JJWn4
asheshambasta has joined #nixos
civodul has joined #nixos
m0rph has quit [Ping timeout: 256 seconds]
cole-h has joined #nixos
<{^_^}> [nixpkgs] @Infinisil opened pull request #93597 → dijo: init at 0.1.5 → https://git.io/JJWcv
pamplemousse has joined #nixos
cosimone has quit [Quit: Quit.]
philr_ has quit [Ping timeout: 260 seconds]
<DerSaidin> flokli: thanks!
DerSaidin has quit [Quit: leaving]
meh` has quit [Ping timeout: 264 seconds]
lsix has quit [Ping timeout: 260 seconds]
maier has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #93588 → androidStudioPackages.canary: 4.1.0.10 -> 4.2.0.4 → https://git.io/JJWej
<{^_^}> [nixpkgs] @primeos pushed commit from @meutraa to master « androidStudioPackages.canary: 4.1.0.10 -> 4.2.0.4 (#93588) »: https://git.io/JJWcP
capt_zap_ has quit [Ping timeout: 240 seconds]
asheshambasta has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @duairc opened pull request #93598 → nixos/networkd: Add support for networking.defaultGateway.interface with networking.useNetworkd → https://git.io/JJWcQ
lsix has joined #nixos
proofofkeags has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
proofofkeags has quit [Read error: Connection reset by peer]
orivej has quit [Quit: No Ping reply in 180 seconds.]
proofofkeags has joined #nixos
maier has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
meh` has joined #nixos
acarrico has joined #nixos
CMCDragonkai1 has quit [Ping timeout: 260 seconds]
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
growpotkin has joined #nixos
gthm has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @veprbl pushed commit from @tadfisher to release-20.03 « zoom-us: Link libfaac to fix audio recording (#93374) »: https://git.io/JJWCK
pamplemousse has quit [Ping timeout: 240 seconds]
meh` has quit [Ping timeout: 265 seconds]
q3k has left #nixos ["WeeChat 2.7"]
meh` has joined #nixos
fendor has joined #nixos
NickHu has quit [Quit: Idle for 30+ days]
keithy[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
<{^_^}> [nixpkgs] @stigtsp opened pull request #93599 → perlPackages.CryptOpenPGP: init at 1.12 → https://git.io/JJWWi
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
cjpbirkbeck has joined #nixos
virus_dave has joined #nixos
<virus_dave> folks, i have an executable file that i can see on my nixos box but cannot execute, and i frankly have no idea how to further debug it. `file` shows it as `ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked`, but `execve` returns ENOENT
<virus_dave> The googles indicate this could be a missing library or interpreter, but all that seems to resolve correctly, per `ldd`
<virus_dave> It also dopesn'what would one do to debug this?
<virus_dave> doesn’t seem to be a 32bit vs 64bit thing*
<cransom> https://nixos.wiki/wiki/FAQ#I.27ve_downloaded_a_binary.2C_but_I_can.27t_run_it.2C_what_can_I_do.3F would probably help.
<cransom> it's likely the binary's interpreter is set to /lib/ld-linux-x86-64.so.2 and that doesn't exist in nixos.
growpotk- has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #93318 → gnomeExtensions.workspace-matrix: 4.0.0 -> 4.0.1 → https://git.io/JJZYG
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « gnomeExtensions.workspace-matrix: 4.0.0 -> 4.0.1 »: https://git.io/JJWWx
nuncanada has joined #nixos
<virus_dave> It’s set to /lib64/ld-linux-x86-64.so.2, which indeed doesn’t exist. However, ldd shows this, which made me think it should still work (since what it eventually settles on DOES exist):
<virus_dave> ldd ./my_bin -> /lib64/ld-linux-x86-64.so.2 => /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib64/ld-linux-x86-64.so.2 (0x00007fc46237f000)
<clever> virus_dave: ldd forces it to use the right ld-linux, you need to use patchelf to fix it
<{^_^}> [nixpkgs] @teto merged pull request #75116 → netboot: docs: building netboot should specify an arch → https://git.io/JeygS
<{^_^}> [nixpkgs] @teto pushed commit from @lordcirth to master « netboot: docs: building netboot should specify an arch (#75116) »: https://git.io/JJWlm
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @ajs124 closed pull request #92043 → firefox: update → https://git.io/JJU7p
<{^_^}> [nixos-weekly] @astro opened pull request #128 → 2020/07: add WFVM → https://git.io/JJWl6
<{^_^}> [nixpkgs] @cole-h opened pull request #93600 → rustfmt: fix build with rustc 1.45.0 → https://git.io/JJWlS
hiciu has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<{^_^}> [nixpkgs] @danieldk merged pull request #93592 → amdvlk: 2020.Q2.6 -> 2020.Q3.1 → https://git.io/JJWtJ
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJWlx
growpotkin has joined #nixos
o1lo01ol1o has quit []
<{^_^}> [nix] @edolstra merged pull request #3736 → Allow relative paths in --store option → https://git.io/Jfxd9
<{^_^}> [nix] @edolstra pushed 6 commits to master: https://git.io/JJW8I
gthm has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
growpotk- has quit [Ping timeout: 264 seconds]
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @adrian-gierakowski opened pull request #93601 → build-support/docker: fix customisation-layer for streamLayeredImage (MacOS) → https://git.io/JJW8o
afreak has quit [Remote host closed the connection]
alexherbo29 has joined #nixos
alexherbo2 has quit [Ping timeout: 264 seconds]
Thra11 has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
iyzsong has joined #nixos
alexherbo29 has quit [Ping timeout: 260 seconds]
magnetophon has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #nixos
proofofkeags has quit [Remote host closed the connection]
gthm has quit [Quit: leaving]
meh` has quit [Ping timeout: 240 seconds]
meh` has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #93558 → androidStudioPackages.beta: 4.0.0.16 -> 4.1.0.14 → https://git.io/JJC07
<{^_^}> [nixpkgs] @primeos pushed 4 commits to master: https://git.io/JJW44
acarrico has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93556 → etesync-dav: 0.17.0 -> 0.20.0 → https://git.io/JJC0s
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJW4i
<{^_^}> [nixpkgs] @ajs124 opened pull request #93602 → qemu-vm: fix master eval → https://git.io/JJW41
xelxebar has quit [Ping timeout: 240 seconds]
xelxebar has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/190e79d0f38 (from 22 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to master « ghc: don't build with profiling on aarch64 #66277 »: https://git.io/JJWBI
<{^_^}> [nixpkgs] @Ma27 pushed to master « grim: 1.3.0 -> 1.3.1 »: https://git.io/JJWBt
<fmzakari__> I'm having weird issues with my `git mergetool`
<fmzakari__> if I run the underlying binary /nix/store/bwki7fk43xqwwbbmbwna4wb3i5xq1cq3-git-2.27.0/libexec/git-core/git-mergetool
alexherbo2 has quit [Ping timeout: 240 seconds]
<fmzakari__> It prints out
<fmzakari__> ```/nix/store/bwki7fk43xqwwbbmbwna4wb3i5xq1cq3-git-2.27.0/libexec/git-core/git-mergetool: line 17: git-sh-setup: No such file or directory
<fmzakari__> ```
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « grim: 1.3.0 -> 1.3.1 »: https://git.io/JJWBO
proofofkeags has joined #nixos
alexherbo2 has joined #nixos
orivej_ has joined #nixos
Habbie has quit [Ping timeout: 272 seconds]
magnetophon has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 240 seconds]
h0m1 has quit [Quit: WeeChat 2.8]
random has joined #nixos
magnetophon has joined #nixos
h0m1 has joined #nixos
Habbie has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
maier has joined #nixos
<{^_^}> [nixpkgs] @jansol opened pull request #93604 → shaderc: 2019.1 -> 2020.1 → https://git.io/JJWBw
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
mrpi has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
ajs124 has joined #nixos
das_j has joined #nixos
Scriptkiddi has joined #nixos
mrpi has joined #nixos
edef has quit [Ping timeout: 244 seconds]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
maier has quit [Ping timeout: 260 seconds]
<asymmetric> does anyone have any tips on how to debug press-and-hold not working on my laptop's mouse anymore?
<asymmetric> pretty sure it's a software issue
<asymmetric> means drag-n-drop doesn't work anymore
<asymmetric> by laptop's mouse i mean the trackpad on a thinkpad
Kakky has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
<fmzakari__> I root caused my issue can someone explain it a bit better to me.
nixbitcoin has quit [Quit: nixbitcoin out]
<fmzakari__> looks like direnv imports nix-shell environment which overwrites `ldd` to a /nix/store one
alp has joined #nixos
<fmzakari__> i was trying to run a non-nix application within the same shell session and it was complaining about not finding libraries
edef_ has joined #nixos
edef_ is now known as edef
nixbitcoin has joined #nixos
ruuda has joined #nixos
proofofkeags has quit [Remote host closed the connection]
Kakky has quit [Quit: Goodbye]
<ruuda> Hi, I have a PR that removes a few packages that could be selected as plugins for a service, in favor of a newer replacement package. (https://github.com/NixOS/nixpkgs/pull/93400) Do such things need to be mentioned in a changelog somewhere?
<{^_^}> #93400 (by ruuda, 3 days ago, open): mopidy-local: init at 3.1.1
freezeboy has joined #nixos
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #91162 → [20.03] backport: nixos/btrfs autoScrub: don't fail when scrub finishes successfully → https://git.io/Jfbii
<{^_^}> [nixpkgs] @timokau pushed 2 commits to release-20.03: https://git.io/JJWRm
<freezeboy> tpw_rules I think the python problem is because you try to run the python interpreter just taking the package ?
<freezeboy> i think the package should just contain the python lib et let python.withPackages wrap everything with a python interpreter
<tpw_rules> freezeboy: i think that makes sense. but i just tried the command you put and it prints "The packages do not exists: python38.withPackages (ps: with ps; [ pyrealsense2])"
<freezeboy> shouldn't have patched in the github comment ui ...
random has quit [Ping timeout: 258 seconds]
<freezeboy> at least it should work with nix-shell
<tpw_rules> well if you think it should work like that, that makes sense to me and i'm satisfied with the PR
zupo has joined #nixos
<freezeboy> now ... we need someone who can merge it
edef has quit [Ping timeout: 256 seconds]
<freezeboy> if you have a local checkout of this pr (using gh, hub, or git directly), you can run nix-shell -I nixpkgs=. python38.withPackages (ps: with ps; [ pyrealsense2]) from the root directory of the checkout
<Guest60204> I installed neovim using environment.systemPackages but for some reason it pulled v0.3.8 not the latest v0.4, how do I specify a version when using configuration.nix in nixos?
<freezeboy> I can't use nixpkgs-review on that PR currently with my parallelBuilding pb
<tpw_rules> ok let me double check it hten
<freezeboy> Guest60204 is your nixos channel up to date ?
<Guest60204> How do I check that
<freezeboy> cat ~/.nix-defexpr/channels_root/manifest.nix
<tpw_rules> freezeboy: i don't think that command is right
<freezeboy> tpw_rules which one ?
<tpw_rules> the one you just gave with nix-shell
<freezeboy> oh yes I forgot -p and the quotes ...
<freezeboy> nix-shell -I nixpkgs=. -p "python38.withPackages (ps: with ps; [ pyrealsense2])"
h0m1 has quit [Quit: WeeChat 2.8]
<tpw_rules> alright, looks like it works. i just put a comment on the PR saying that i think it's good
<freezeboy> Guest60204 you should read something like name = "nixos-20.03.2611.bb8f0cc2279", then you can compare the last part with the commit id in status.nixos.org
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @tpwrules closed pull request #93552 → librealsense: add pyrealsense2 Python bindings + command line tools → https://git.io/JJC4s
orivej_ has quit [Ping timeout: 240 seconds]
<tpw_rules> freezeboy: which realsense cameras do you have?
<Guest60204> oh i'm on 19.09
<freezeboy> in fact none, we used one in my previous job, and I packaged the lib at that time
<Guest60204> how do i get on 20.03
orivej has joined #nixos
<freezeboy> Guest60204 sudo nix-channel --add https://nixos.org/channels/nixos-20.03 nixos
<freezeboy> then sudo nix-channel --update && sudo nixos-rebuild boot
phnom has quit [Quit: Konversation terminated!]
<tpw_rules> freezeboy: ah ok. i have several that we're using at my job now. i've got T265 support working but the licensing is weird and I need to discuss it with the nixpkgs people probably
<freezeboy> or switch for the last part depending on if you want to reboot or activate everything immediately
<freezeboy> tpw_rules how weird ?
<Guest60204> ah
<Guest60204> thanks, i'll try that
<tpw_rules> freezeboy: T265 support can't be activated without compiling in the proprietary firmware blob. does that make the library then not apache 2? how do we give the user the option to make the package proprietary if so?
<freezeboy> oh I don't know any package where the library changes its licences based on some param ...
<tpw_rules> exactly
<DigitalKiwi> i think i've seen that
<freezeboy> technically, the meta.licenses attribute is also in the expression, but I am not sure it is taken into account by the cache
alexherbo2 has joined #nixos
<DigitalKiwi> license = with licenses; if edition == "" then unfree else agpl3;
<DigitalKiwi> pkgs/servers/rainloop/default.nix
<DigitalKiwi> from that (probably more examples too but that's the first i found)
<freezeboy> cool
<tpw_rules> if that's acceptable then i'll file a PR to do all that once this one is accepted
<tpw_rules> thank you for the input
<Guest60204> freezeboy: so wait ,does each nixos channel only have 1 version of a particular software? why doesn't neovim update beyond 0.3 for channel 19.09?
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJWRy
<cole-h> Guest60204: Because releases don't typically backport package updates.
<clever> Guest60204: because 19.09 is a snapshot of what nixpkgs was like on sept of 2019
<freezeboy> Guest60204 yes at least for applications, nixpkgs usually only contains 1 version (for libs it may vary)
noudle has joined #nixos
<Guest60204> ohhh i see.
<Guest60204> thanks everyone:)
<{^_^}> [nixpkgs] @cmacrae opened pull request #93606 → spacebar: 1.1.0 -> 1.1.1 → https://git.io/JJWR7
<{^_^}> [nixpkgs] @mweinelt opened pull request #93607 → ansible: v2.9.10 -> v2.9.11; ansible_2_8: v2.8.12 -> v2.8.13 → https://git.io/JJWRb
<tpw_rules> freezeboy: so i'm not sure the value of having a name for both the c++ library and python bindings for yes cuda, no cuda, and auto cuda? i assume if the user didn't want auto, they could create an override. i ask because T265 support would double the number of choices. like i personally would want pyrealsense2WithoutCudaAndWithT265 but that's silly
<freezeboy> tpw_rules in fact I did that because it was this way for tensorflow
<freezeboy> but obviously, it doesn't scale well
orivej has quit [Quit: No Ping reply in 180 seconds.]
<tpw_rules> i would say it makes more sense for tensorflow because it's a popular package where choosing the CUDA support correctly is critical for performant operation. but i didn't even know librealsense supported CUDA to be honest.
orivej has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #93608 → [20.03] ansible: v2.9.10 -> v2.9.11; ansible_2_8: v2.8.12 -> v2.8.13 → https://git.io/JJW0v
<freezeboy> I don't even know the impact, but me colleagues wanted cuda for everything
<tpw_rules> well i most likely will not add separate names for with/without T265. we can see if there's other opinions once the PR is actually filed
alp has quit [Ping timeout: 260 seconds]
<freezeboy> do you have a documentation showing how to use it ?
<tpw_rules> how to use what?
<freezeboy> the t265 firmware
<tpw_rules> yeah i have a working derivation
<tpw_rules> oh i forgot another quirk: T265 support also needs udev rules installed. i don't think it's possible with nix, but how would one warn the user to do it?
justan0theruser has quit [Ping timeout: 256 seconds]
<tpw_rules> i need to double check that though, and how it applies for regular librealsense
ruuda has quit [Quit: ruuda]
<freezeboy> you can do it, simply put them in $out/lib/udev/rules.d directory
<tpw_rules> how does that work on non-nixos?
<freezeboy> ah ... no I think it is only for nixos
<tpw_rules> well maybe if it defaults to T265 off, then people will read the derivation and see comments that a) the license becomes unfree and b) the included udev rules must be installed
ManiacOfMadness has joined #nixos
<freezeboy> or in the meta.longDescription attribute
<tpw_rules> i can do that too. i gotta go do other stuff now but thank you for the help
<freezeboy> thank you for the patch for the new version ;)
fmzakari has joined #nixos
<fmzakari> ugh
<fmzakari> interesting question about ldd & direnv with nix-shell =>: https://github.com/nix-community/nix-direnv/issues/30
<{^_^}> nix-community/nix-direnv#30 (by fzakaria, 7 minutes ago, open): should ldd be /usr/bin/ldd
<gchristensen> fmzakari: nix-shell puts you in to an environment designed to build packages as if you were a Nix build.
<gchristensen> fmzakari: that is why ldd and stuff are in there
<fmzakari> hmm -- somewhat conflicts with using it as a development environment
fmzakari__ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @adisbladis merged pull request #79235 → vispy: init at 0.6.4 → https://git.io/JvGiN
<{^_^}> [nixpkgs] @adisbladis pushed 5 commits to master: https://git.io/JJW0r
malik has joined #nixos
meh` has quit [Remote host closed the connection]
freezeboy has quit [Remote host closed the connection]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
pamplemousse has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 is now known as knupfer
knupfer has quit [Client Quit]
edef has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer1 has joined #nixos
knupfer1 has quit [Client Quit]
knupfer has joined #nixos
justanotheruser has joined #nixos
bukkitgerman8608 has quit [Quit: Ping timeout (120 seconds)]
bukkitgerman8608 has joined #nixos
ixxie_ has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
bukkitgerman8608 has quit [Ping timeout: 246 seconds]
pamplemousse has quit [Ping timeout: 240 seconds]
<numkem> I'm trying to write an expression that builds an ova. what is the hydraJob function for and is there any documentation related to it?
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
konobi has quit [Remote host closed the connection]
<clever> numkem: hydraJob just strips un-needed attributes off a thing, to reduce memory usage of hydra
lsix has quit [Ping timeout: 256 seconds]
konobi has joined #nixos
<numkem> clever: ok, would you happen to know what is config.system and where it comes from? I can build the OVA through `nix-build` but I'd rather do it through hydra and the only example I find is with nixos-demo
<clever> config.system is the cpu to build for
knupfer has quit [Quit: knupfer]
<numkem> it has more to it, to build the ova you need to call config.system.build.virtualBoxOVA
knupfer has joined #nixos
<clever> hydra is basically just a way to automate nix-build against release.nix files
<clever> ah, that config.system is a nixos option, that any attr can be shoved into
<numkem> so that function is shoved into config
<numkem> and config.system != system
<clever> nix-build '<nixpkgs/nixos/release.nix>' -A ova.x86_64-linux --arg configuration ./configuration.nix
<numkem> I did nix-build '<nixpkgs/nixos>' -A config.system.build.virtualBoxOVA -I nixos-config=configuration.nix -I nixpkgs=/home/numkem/src/nixpkgs/nixos which works
<clever> the release.nix does some of that for you
<numkem> how would you write this as an expression so that hydra could build it?
<clever> (import <nixpkgs/nixos/release.nix> { configuration = ./configuration.nix; }).ova
<clever> (import <nixpkgs/nixos/release.nix> { configuration = ./configuration.nix; }).ova.x86_64-linux
<numkem> that is... surprisingly simple
<MarcWeber> https://github.com/evanw/esbuild Is thehre a simple way to package this ? I tried vog2nix got a deps.nix file but failed with dependencies of the dependencies or so.
<clever> numkem: nix-build will basically import the given path, then run it with an attrset containing every --arg, then use -A to select an attr
<MarcWeber> I failed understanding the goPackagePAth
<clever> numkem: but it can do a few more complex things too...
<clever> numkem: each thing in -A can apply the --arg again, https://gist.github.com/cleverca22/240c21dab528666c85a95c4edfdeae58
fendor has quit [Remote host closed the connection]
orivej has quit [Quit: No Ping reply in 180 seconds.]
hayman has joined #nixos
orivej has joined #nixos
<numkem> clever: interesting, you can construct pretty complex things from it
<clever> numkem: yep, also any unused --arg's are silently discarded
<clever> so you can easily miss mistakes when they are named wrong
<numkem> clever: that would be related to Nix laziness?
<clever> na, this one is more to do with how --arg is implemented
capt_zap has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #93610 → blockbook: fix build on aarch64-linux → https://git.io/JJWE5
<numkem> thanks for the explanation :) clever++
<{^_^}> clever's karma got increased to like 483, I think
bukkitgerman8608 has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
bukkitgerman8608 has quit [Quit: Ping timeout (120 seconds)]
orivej has joined #nixos
camsbury has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #93611 → bazel-gazelle: 0.20.0 -> 0.21.1 → https://git.io/JJWuL
bukkitgerman8608 has joined #nixos
maier has joined #nixos
malik has quit [Quit: malik]
m0rph has joined #nixos
<numkem> clever: I've tried what you wrote and it seems like the configuration isn't being override. What I end up is the nixos-demo
<clever> numkem: what expr are you using? what is the error? what is it not doing?
<numkem> clever: the expression is what you pasted earlier and it gives no error, it just doesn't apply my configuration.nix
maier has quit [Ping timeout: 256 seconds]
<clever> numkem: ah, release.nix doesnt respect that for ova
<clever> 101 makeNetboot = { module, system, ... }:
<clever> 105 modules = makeModules module {};
<clever> 39 makeModules = module: rest: [ configuration versionModule module rest ];
<clever> netboot stuff, will include configuration into the list
<clever> 189 ova = forMatchingSystems [ "x86_64-linux" ] (system:
<clever> 195 modules = [ versionModule ./modules/installer/virtualbox-demo.nix ];
<clever> numkem: but ova ignores it!
<clever> id say thats a bug in the release.nix, and it should be fixed
<numkem> I might as well be the only one who uses the ova stuff for something other than nixos-demo
<clever> numkem: until it is fixed, you must do: (import <nixpkgs/nixos> { configuration = { imports = [ <nixpkgs/nixos/modules/installer/virtualbox-demo.nix> ./configuration.nix ]; }; }).config.system.build.virtualBoxOVA
pamplemousse has joined #nixos
kapil_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
<numkem> it is somewhat odd that it's importing virtuabox-demo.nix
kapil_ has joined #nixos
afreak has joined #nixos
<numkem> clever: seems like I'd need to provide nixpkgs as it's saying it can't find nixpkgs/modules/virtualisation/virtualbox-image.nix
<clever> numkem: nixpkgs/nixos/modules
<clever> the nixos is missing
<numkem> because it's not using `nixos-rebuild`?
<clever> numkem: no, that shouldnt make any diff
<clever> numkem: can you paste your expr?
<numkem> clever: it's a copy-paste of what you put it higher, only taking it and assigning it to a variable named ova
<clever> numkem: and is -I nixpkgs= pointing to the root of nixpkgs?
<numkem> clever: do I have to provide it a full clone of nixpkgs? Or is there a way to not have to do that?
<numkem> clever: I guess in hydra it wouldn't matter as you can provide it easily
<clever> numkem: you need to somehow give it the path to a full nixpkgs, either with a derivation or a searchpath
<clever> numkem: if you make an input named nixpkgs in hydra, then <nixpkgs> maps to it
<clever> but you can also do `nixpkgs + "/nixos/modules/installer/virtualbox-demo.nix"` and then set nixpkgs to an expr
<clever> that returns a path
<numkem> clever: intersting, didn't know the last bit about the expr
orivej has quit [Ping timeout: 246 seconds]
<clever> > pkgs.path
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo
<clever> you can also use this, if you already have nixpkgs imported somehow
knupfer has quit [Ping timeout: 260 seconds]
<numkem> yeah mine is somewhere in the nix store
orivej has joined #nixos
alp has joined #nixos
<clever> numkem: this configures hydra to map <nixpkgs> to the latest nixos-20.03
<numkem> clever: yup I do that already with my own hydra
<aleph-> Ugh great, going to need to completely revamp the jellyfin pkg
magnetophon has quit [Read error: Connection reset by peer]
dhess has joined #nixos
<aleph-> Or not.
<{^_^}> [nixpkgs] @Infinisil merged pull request #93597 → dijo: init at 0.1.5 → https://git.io/JJWcv
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JJWzq
magnetophon has joined #nixos
morph000 has joined #nixos
<ehmry> aleph-: whats going on with jellyfin?
<numkem> clever: it still won't work giving it the root of nixpkgs
<numkem> clever: but something that does works is nix-build '<nixpkgs/nixos>' -A config.system.build.virtualBoxOVA -I nixos-config=configuration.nix -I nixpkgs=/home/numkem/src/nixpkgs/nixos
<aleph-> ehmry: Trying to get 10.6.0 built and upstreamed
<aleph-> Tons of changes
<aleph-> Just dumb crud on my end and a small change :p
<clever> numkem: why is there a nixos at the end of that -I?
<clever> numkem: that doesnt look like the root of nixpkgs
<{^_^}> [nixos-weekly] @domenkozar merged pull request #128 → 2020/07: add WFVM → https://git.io/JJWl6
<{^_^}> [nixos-weekly] @domenkozar pushed 2 commits to master: https://git.io/JJWzn
<numkem> clever: it isn't but oddly works just fine and if I don't give it this way it complains it can't find the module
camsbury has quit [Remote host closed the connection]
m0rph has quit [Ping timeout: 240 seconds]
orivej has quit [Read error: Connection reset by peer]
<clever> numkem: ls -l /home/numkem/src/nixpkgs/nixos/nixos/modules ?
orivej has joined #nixos
pamplemousse has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @risicle merged pull request #76960 → hal-hardware-analyzer: init at 2.0.0 → https://git.io/Jep1s
<{^_^}> [nixpkgs] @risicle pushed 2 commits to master: https://git.io/JJWzl
<clever> numkem: its possible that virtualbox-demo.nix has a different name in your version, check what the nixos/release.nix is doing
<numkem> clever: I've done a git pull this morning
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93602 → qemu-vm: fix master eval → https://git.io/JJW41
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJWzu
<numkem> clever: I don't use virtualbox-demo tho, I use virtualbox-image.nix
<clever> numkem: and what path did you use for it?
lsix has joined #nixos
<numkem> clever: I think I found the problem...
<numkem> clever: I had <nixpkgs/modules...> instead of <nixpkgs/nixos/modules>
m0rph has joined #nixos
<clever> 2020-07-21 17:51:02 < clever> numkem: nixpkgs/nixos/modules
<clever> 2020-07-21 17:51:11 < clever> the nixos is missing
m0rph has quit [Client Quit]
<numkem> clever: the error was in configuration.nix
orivej has quit [Ping timeout: 240 seconds]
<numkem> clever: I'm importing it to be able to set the config.virtualbox options which aren't imported by default if I understand it correctly
<cole-h> I have `dontUseSetuptoolsCheck = true;` in a `buildPythonPackage`, and yet I still see "Executing setuptoolsCheckPhase" in the build log... Why?
morph000 has quit [Ping timeout: 240 seconds]
<numkem> clever: in my configuration.nix I do: imports = [ <nixpkgs/nixos/modules/virtualisation/virtualbox-image.nix> ];
<clever> yeah, that should work
<numkem> clever: it's very possible it's not right, I'm was trying to figure out how to do it and that worked. I understand that was my error on the import
<numkem> clever: how is the -I done in creating the expression? I'm trying to translate my command into an expression after what you explained
<clever> numkem: open up `nix repl -I nixpkgs=/home/numkem/src/nixpkgs/nixos` and then try to just eval `<nixpkgs/nixos/modules/virtualisation/virtualbox-image.nix>`
lsix has quit [Quit: WeeChat 2.9]
<numkem> clever: after fixing the path in configuration.nix to the module I don't have to provide it the -I nixpkgs
<numkem> clever: what I'm wondering is the -I nixos-config
<clever> numkem: <nixpkgs/nixos/default.nix> will expect your configuration.nix to be at <nixos-config> by default
<clever> you can override that with { configuration = something; }
<numkem> clever: that explains it, so I could just do { configuration = import ./configuration.nix } ?
<clever> it can take a raw path
<clever> check the nixos-configs example i linked above
<numkem> clever: sorry if I'm a little slow, this is much deeper nix code that I've worked with so far, especially with the multiple imports
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93595 → python3Packages.pq: init at 1.8.1 → https://git.io/JJWsv
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJWgT
<clever> (import <nixpkgs/nixos> { configuration = ./configuration.nix; }).config.system.build.virtualBoxOVA
<numkem> clever: if I understand correctly, that means that you hydra builds your systems and caches it without them having to do anything
<clever> correct
<clever> then i can check hydra, to see if updating will even work, or if the build will fail
<numkem> that is pretty sexy
<clever> and its pre-built, so the switch goes faster
<numkem> just takes time to download the closure really
<clever> and rebuild a few configs with secrets
<numkem> clever: that is my next problem, secret management when it comes to building a server without touching it. well in my case it's more for an appliance right now
<clever> look at load-secrets.nix in my nixos-configs
<numkem> clever: so you supply a secrets.nix on the hydra server manually
<clever> nope, the reverse
<clever> hydra never gets a secrets.nix
<clever> so load-secrets.nix supplies dummy defaults, enough to make it build
<clever> then when i build the same expr locally, outside of hydra, i have a secrets.nix in my local dir
<clever> so anything using secrets gets rebuilt
<numkem> right so it's not a "prefect" build but most of it is done
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a90a5c51a7a (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<aleph-> Well that's a bummer, jellyfin syncplay is broken. Hmm
<numkem> each of your machine has a clone of that repo? That's what I currently do personally but I wasn't sure if that's good or not
<clever> numkem: i also use nixops for some machines, look at deployments/house.nix
<numkem> I remember looking at that and taking some from it
cole-h has quit [Quit: Goodbye]
<{^_^}> [nixpkgs] @ryantm merged pull request #92313 → latex2html: 2020 -> 2020.2 → https://git.io/JJIvn
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJWgl
reanimus has quit [Ping timeout: 260 seconds]
reanimus has joined #nixos
cole-h has joined #nixos
<numkem> clever: thank you for all your help, very much appreciated! clever++
<{^_^}> clever's karma got increased to 0o744
<clever> {^_^}: lol
__monty__ has quit [Quit: leaving]
quinn has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alp has quit [Remote host closed the connection]
alp has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9ea61f7bc44 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
asymptotically has quit [Quit: Leaving]
<sshow> the work you guys are doing here is truly extraordinary. *++
user_0x58 has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
alp has quit [Ping timeout: 272 seconds]
xd1le has quit [Read error: Connection reset by peer]
nikita` has quit [Quit: leaving]
wnklmnn has quit [Quit: Leaving]
jumper149 has joined #nixos
xd1le has joined #nixos
lassulus_ has joined #nixos
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #93612 → ocamlPackages.ocsigen_server: fix compilation → https://git.io/JJW2M
<{^_^}> [nixpkgs] @baracoder opened pull request #93613 → openhantek6022: init at 3.1.1 → https://git.io/JJW29
lassulus has quit [Ping timeout: 272 seconds]
lassulus_ is now known as lassulus
<{^_^}> [nixpkgs] @jonafato opened pull request #93614 → zulip: 5.2.0 -> 5.4.0 → https://git.io/JJW2d
drakonis1 has joined #nixos
erasmas has quit [Quit: leaving]
drakonis has quit [Ping timeout: 256 seconds]
drakonis1 is now known as drakonis
<colemickens> Is there a function I can copy frm somewhere that filters an attrset against meta.platforms (if it is there) ?
Neo-- has quit [Ping timeout: 256 seconds]
lord| has quit [Ping timeout: 246 seconds]
lassulus has quit [Ping timeout: 256 seconds]
lord| has joined #nixos
Thra11 has quit [Quit: WeeChat 2.8]
lassulus has joined #nixos
<infinisil> colemickens: More specifically?
<colemickens> filterPkgs = pkgs: system: { } output is pkgs filtered against meta.platforms. There's checkPlatform and packagePlatforms in nixpkgs that look close, I think I can get this one :)
maier has joined #nixos
immae has quit [Read error: Connection reset by peer]
immae has joined #nixos
dbmikus has quit [Read error: Connection reset by peer]
maier has quit [Ping timeout: 240 seconds]
dbmikus has joined #nixos
orivej has joined #nixos
dermetfan has quit [Ping timeout: 246 seconds]
afreak has quit [Remote host closed the connection]
mvnetbiz_8 has quit [Quit: Bye!]
<infinisil> I see
simba2 has joined #nixos
mvnetbiz_8 has joined #nixos
<{^_^}> [nix] @Ma27 opened pull request #3847 → libutil/logging: Add `minimal` log-format which aims to be easily machine-readable → https://git.io/JJWVo
<{^_^}> [nixpkgs] @Mic92 merged pull request #93600 → rustfmt: fix build with rustc 1.45.0 → https://git.io/JJWlS
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging-next: https://git.io/JJWV6
<colemickens> It turns out though I like and enjoy nix more, I'm still not that great at it
orivej has quit [Ping timeout: 264 seconds]
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
CcxWrk has quit [Killed (card.freenode.net (Nickname regained by services))]
CcxWrk has joined #nixos
orivej has joined #nixos
shibboleth has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a90a5c51a7a (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
camsbury has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
Rusty1 has joined #nixos
philr_ has joined #nixos
simba2 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #93218 → motion: 4.3.0 -> 4.3.1 → https://git.io/JJGuo
<{^_^}> [nixpkgs] @veprbl pushed 4 commits to master: https://git.io/JJWwA
codygman has quit [Ping timeout: 240 seconds]
codygman has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nixpkgs] @sikmir opened pull request #93615 → meteor: enable on darwin → https://git.io/JJWrn
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 258 seconds]
lassulus_ is now known as lassulus
dansho has joined #nixos
<dansho> if i make a haskell lib with a default.nix, how do i get cabal to find it?
<dansho> so i can use it in a haskell exe for example
<{^_^}> [nixpkgs] @ggreif opened pull request #93616 → wasmtime: 0.18.0 -> 0.19.0 → https://git.io/JJWrX
thc202 has quit [Ping timeout: 260 seconds]