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
<{^_^}> [nixpkgs] @mweinelt merged pull request #96542 → matrix-synapse: 1.19.0 -> 1.19.1 → https://git.io/JUIxB
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JULZ7
<samueldr> sarcasticadmin: now you need to tell me where to get SDWire hardware :3
* samueldr looks through the PR
<samueldr> ideally it would be nice to have the foundation be able to run hardware tests on the supported platform(s) using this
<sarcasticadmin> samueldr: I know right? Theres a nice dev who has some available for sale here: https://lists.denx.de/pipermail/u-boot/2020-July/419727.html
<sarcasticadmin> I completely agree and something that is very doable
<samueldr> sarcasticadmin: if you're interested in SBCs + NixOS, I also invite you to join #nixos-aarch64
<sarcasticadmin> ya definitely interested to join the conversation over there!
metreo has quit [Quit: Leaving.]
<sarcasticadmin> Im eager to make use of nix for some of the things for the volunteer tech team at socal linux expo. We use a lot of pi's for various parts of the infrastructure
zeta_0 has joined #nixos
<samueldr> nice!
<samueldr> what kind of tasks are relegated to raspberry pis?
<zeta_0> i added the unstable channel to nixos, but when i replaced pkgs.emacs with unstable.emacs, it does not build? https://rycee.gitlab.io/home-manager/options.html#opt-programs.emacs.package
<zeta_0> fix, i added the unstable channel to home.nix
<sarcasticadmin> the sign clients (conference schedule), build automation for openwrt, and extra workstations for team members are the main functions
<zeta_0> uh, this is too much of a hassle, i'll just wait until the next upgrade gets released.
sputny has quit [Remote host closed the connection]
<sarcasticadmin> my main interest at the moment is build automation for openwrt. Weve basically got everything we need to remotely build then flash our hardware from CI: https://gitlab.com/socallinuxexpo/scale-network/pipelines/140025531
<zeta_0> so when is nixos 20.09 nix stable channel going to be released?
<sarcasticadmin> i just need to pi that controls all of the flashing to have a nice reproducible image with the gitlab runner and ill be all set :)
<samueldr> sarcasticadmin: then the next step will be ditching openwrt and making those nix-based builds too ;)
<sarcasticadmin> absolutely
<sarcasticadmin> Its probably worth me hanging out in #nixos-on-your-router too lol
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
o1lo01ol1o has joined #nixos
knerten has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JULn6
o1lo01ol1o has quit [Ping timeout: 258 seconds]
lord| has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
dansho has quit [Quit: Leaving]
ml| has joined #nixos
ml| has quit [Client Quit]
ml| has joined #nixos
ml| has quit [Remote host closed the connection]
ml| has joined #nixos
<bqv> srk: https://dev.fron.io success!
ml| has quit [Client Quit]
ml| has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
alexherbo2 has quit [Ping timeout: 258 seconds]
noudle has quit []
<c4rc4s> So I've just created my first very simple overlay today but am struggling to understand buildInputs and how to add packages to them. Right now I'm trying to add qtmultimedia to sddm and get "error: attribute 'qtmultimedia' missing". overlay: https://sharing.packetize.me/irc/7d078db89acaea11/overlay.nix
sarcasticadmin has quit [Quit: WeeChat 2.8]
sarcasticadmin has joined #nixos
<c4rc4s> Am I doing something obviously wrong here? I've also had no luck adding this as a buildInput to a custom package, but with that I get a very different error ("anonymous function at ... called without required argument 'qtmultimedia'")
<samueldr> > pkgs.qt5.qtmultimedia
<{^_^}> "<derivation /nix/store/nlhdrh1mikzhajzq9xs7dilf81a35yvd-qtmultimedia-5.14.2.drv>"
<samueldr> the pkgs attrset has some package sets defined as attrsets
<{^_^}> [nixpkgs] @samueldr merged pull request #94416 → sd-mux-ctrl: init at 2020-02-17 → https://git.io/JJa5n
<{^_^}> [nixpkgs] @samueldr pushed 3 commits to master: https://git.io/JULco
<sarcasticadmin> samueldr: thank you so much, really do appreciate it! Now to go get some food Im starving
ris has quit [Ping timeout: 258 seconds]
<c4rc4s> Ah, so I was just trying to add the wrong thing! Replacing 'qtmultimedia' with 'qt5.qtmultimedia' seems to have solved my problem, thank you. Is there a good way to tell when that will be necessary by looking at nixpkgs? I saw other packages just referencing qtmultimedia.
<clever> c4rc4s: they might be using qt5.callPackage
Emantor_ has quit [Quit: ZNC - http://znc.in]
<fatjedi[m]> anyone have a plex configuration that adds extraPlugins I could take a look at?
Emantor has joined #nixos
h0m1 has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos
h0m1 has joined #nixos
rajivr has joined #nixos
kaivai has quit [Quit: ZNC - https://znc.in]
kaivai has joined #nixos
kaivai has quit [Quit: ZNC - https://znc.in]
kaivai has joined #nixos
sigmundv_ has joined #nixos
sigmundv__ has quit [Ping timeout: 264 seconds]
ngharo[m] has left #nixos ["User left"]
<samueldr> c4rc4s: to expand on clever's note, what ends up happening is that qt5.callPackage does dependency injection of *the right* qt5 attrset into the "callPackage'd" file
<samueldr> ,callPackage
<{^_^}> If you're updating a file in nixpkgs that starts with something like `{ stdenv, cmake }:`, use `nix-build -A` in the nixpkgs root with the corresponding package attribute to build it. If it's not in nixpkgs, try `nix-build -E 'with import <nixpkgs> {}; callPackage ./file.nix { }'. The mapping from package attributes to package files is in pkgs/top-level/all-packages.nix.
<c4rc4s> Thank you samueldr, that explains why I saw packages just listing { qtmultimedia } -- they have libsForQt5.callPackage set in all-packages.nix.
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #96574 → rs-git-fsmonitor: init at 0.1.3 → https://git.io/JULWb
o1lo01ol1o has quit [Ping timeout: 240 seconds]
MtotheM has quit [Quit: Leaving]
altnate has joined #nixos
MtotheM has joined #nixos
MtotheM has quit [Client Quit]
MtotheM has joined #nixos
MtotheM has quit [Client Quit]
sigmundv_ has quit [Ping timeout: 256 seconds]
MtotheM has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
altnate has quit [Quit: WeeChat 2.6]
endformationage has quit [Quit: WeeChat 2.7.1]
aaronjanse has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #96507 → postgresqlPackages.timescaledb: 1.7.2 -> 1.7.3 → https://git.io/JUIRR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JULlA
evils has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jpdoyle opened pull request #96575 → Revert "systemd: build with cryptsetup and cryptsetup-generators" → https://git.io/JUL8J
evils has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #96576 → rustscan: init at 1.8.0 → https://git.io/JUL8I
codezero has quit [Quit: Ping timeout (120 seconds)]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96577 → python27Packages.splinter: 0.13.0 -> 0.14.0 → https://git.io/JUL83
aaronjanse has joined #nixos
codezero has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96578 → python27Packages.trimesh: 3.7.14 -> 3.8.4 → https://git.io/JUL84
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/31827921288 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<jackdk> suppose I boot the nixos EC2 image. I have a server I want to run on this image, but whose config needs to have the external IP written into its config file. I'm looking for a way to fetch the IP address from the metadata service.
<jackdk> Even if I fix nixpkgs' ec2-metadata-fetcher.nix to pull down the external IP as well as the other things it's using, I still won't have the IP fetched into /etc/ec2-metadata when the image tries to run my configuration.nix from userdata
<{^_^}> [nixpkgs] @marsam merged pull request #96471 → recursive: 1.059 -> 1.060 → https://git.io/JUIkG
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUL8y
<{^_^}> [nixpkgs] @marsam merged pull request #96389 → msmtp: 1.8.11 -> 1.8.12 → https://git.io/JUklm
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUL4O
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 258 seconds]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @marsam merged pull request #96393 → mpg123: 1.26.2 -> 1.26.3 → https://git.io/JUkRf
<{^_^}> [nixpkgs] @marsam pushed 2 commits to staging: https://git.io/JUL4a
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #96335 → klibc: 2.0.7 -> 2.0.8 → https://git.io/JUTJr
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUL4X
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96579 → qmidinet: 0.6.2 -> 0.6.3 → https://git.io/JUL41
<{^_^}> [nixpkgs] @leungbk opened pull request #96580 → emacsPackages.orgit-forge: override build inputs to include Git → https://git.io/JUL4y
mariatsji has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #96443 → podiff: 1.1 -> 1.2 → https://git.io/JUk9c
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JULBc
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JULBl
<{^_^}> [nixpkgs] @marsam merged pull request #96427 → parallel: 20200722 -> 20200822 → https://git.io/JUki5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JULB8
pjt_tmp has joined #nixos
test123 has joined #nixos
test123 has left #nixos [#nixos]
peelz has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #96521 → docker: fix build on darwin → https://git.io/JUI6n
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JULBu
<peelz> The shebang of a shell script is failing to locate the interpreter (bash). I get "/usr/bin/env: bad interpreter: No such file or directory". Am I doing a dumb?
Jackneill has joined #nixos
<peelz> the derivation: https://0x0.st/iESA.txt
<peelz> the shebang in install.sh is simply this: https://github.com/espressif/esp-idf/blob/v4.1/install.sh#L1
<peelz> Isn't stdenv supposed to provide /usr/bin/env ?
MtotheM has quit [Read error: Connection reset by peer]
irminsul has joined #nixos
<V> peelz: not in the build sandbox
<V> ${coreutils}/bin/env
rardiol has quit [Ping timeout: 240 seconds]
<V> but since you're subsituteInPlace'ing something, you may as well just substitute the line directly to bash
<V> orrrr just replace the buildPhase with `bash install.sh`
<peelz> right
<peelz> but there's other /usr/bin/env invocations down the line, what should I do about those?
<{^_^}> [nixpkgs] @vbgl merged pull request #96346 → alt-ergo: 2.3.2 → 2.3.3 → https://git.io/JUTqR
<{^_^}> [nixpkgs] @vbgl pushed to master « alt-ergo: 2.3.2 → 2.3.3 »: https://git.io/JULRv
<peelz> actually nvm, the script fails on tools/idf_tools.py
<peelz> seems like a good idea for big projects with complex toolchains
<{^_^}> [nixpkgs] @vbgl merged pull request #95985 → ocamlPackages.eliom: 6.12.0 → 6.12.1 → https://git.io/JUvOK
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.eliom: 6.12.0 → 6.12.1 »: https://git.io/JULRI
<peelz> thanks for the help
<V> np
<peelz> oh yeah isn't there a patchShebangs shell fn?
<{^_^}> [nixpkgs] @vbgl merged pull request #88886 → ocamlPackages.cohttp-async: init at 2.5.1 → https://git.io/JfVQU
<{^_^}> [nixpkgs] @vbgl pushed 6 commits to master: https://git.io/JULRR
<clever> peelz: yeah, patchShebangs will replace #!/usr/bin/env with the output of $(which env)
<peelz> it's a lot nicer to use than the substitute functions
<peelz> I couldn't find much info about it online though
<{^_^}> [nixpkgs] @vbgl opened pull request #96581 → ocamlPackages.piqi-ocaml: 0.7.5 → 0.7.7 → https://git.io/JULRD
<clever> peelz: i just read the source for them in nixpkgs, and look for examples of how they are used
<{^_^}> [nixpkgs] @worldofpeace merged pull request #96418 → modem-manager-gui: 0.0.19.1 -> 0.0.20 → https://git.io/JUkVh
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/JULRp
domogled has quit [Ping timeout: 240 seconds]
<peelz> yeah I figured that's what most people do, but it's hard to discover what you don't know by browsing a massive monorepo
<clever> grep
waleee-cl has quit [Quit: Connection closed for inactivity]
Rusty1 has quit [Quit: WeeChat 2.3]
zarel has joined #nixos
terrorjack has quit [Ping timeout: 240 seconds]
iMatejC has quit [Ping timeout: 240 seconds]
jared-w has quit [Ping timeout: 240 seconds]
ghuntley has quit [Ping timeout: 240 seconds]
d1rewolf has quit [Ping timeout: 240 seconds]
nikivi has quit [Read error: Connection reset by peer]
s1341 has quit [Ping timeout: 240 seconds]
{`-`}_ has joined #nixos
terrorjack has joined #nixos
cyris212- has joined #nixos
spacefrogg_ has joined #nixos
andymandias_ has joined #nixos
IRCsumm has joined #nixos
d1rewolf_ has joined #nixos
thonkpod_ has joined #nixos
Izorkin_ has joined #nixos
jared-w has quit [Ping timeout: 240 seconds]
s1341 has quit [Ping timeout: 240 seconds]
ghuntley has quit [Ping timeout: 240 seconds]
nikivi has quit [Read error: Connection reset by peer]
d1rewolf has quit [Ping timeout: 240 seconds]
{`-`} has quit [Ping timeout: 240 seconds]
steveeJ has quit [Ping timeout: 240 seconds]
s1341_ is now known as s1341
Guest70705 is now known as nikivi
ghuntley_ is now known as ghuntley
_cyris212 has quit [Ping timeout: 240 seconds]
ManiacOfMadness has quit [Ping timeout: 240 seconds]
sethetter_ has quit [Ping timeout: 240 seconds]
ocharles has quit [Ping timeout: 240 seconds]
nwspk has quit [Ping timeout: 240 seconds]
spacefrogg has quit [Ping timeout: 240 seconds]
andymandias has quit [Ping timeout: 240 seconds]
gluegadget has quit [Ping timeout: 240 seconds]
IRCsome has quit [Ping timeout: 240 seconds]
cyris212 has quit [Ping timeout: 240 seconds]
nbathum has quit [Ping timeout: 240 seconds]
thonkpod has quit [Ping timeout: 240 seconds]
mlen has quit [Ping timeout: 240 seconds]
dmj` has quit [Ping timeout: 240 seconds]
nwspk has joined #nixos
jophish has quit [Ping timeout: 240 seconds]
aristid has quit [Ping timeout: 240 seconds]
diamondburned has quit [Ping timeout: 240 seconds]
nick_h has quit [Ping timeout: 240 seconds]
nwspk has joined #nixos
nwspk has quit [Changing host]
jared-w_ has joined #nixos
d1rewolf_ is now known as d1rewolf
jophish has joined #nixos
benschza has quit [Ping timeout: 240 seconds]
jmeredith has quit [Ping timeout: 240 seconds]
sam_w has quit [Ping timeout: 240 seconds]
chrisaw has quit [Ping timeout: 240 seconds]
teozkr_ has quit [Ping timeout: 240 seconds]
heatm1s3r has quit [Ping timeout: 240 seconds]
visl has quit [Ping timeout: 240 seconds]
ocharles has joined #nixos
nbathum has joined #nixos
philr_ has quit [Ping timeout: 240 seconds]
steveeJ has joined #nixos
diamondburned has joined #nixos
Izorkin has quit [Ping timeout: 240 seconds]
Izorkin_ is now known as Izorkin
hax404 has quit [Ping timeout: 240 seconds]
jmeredith has joined #nixos
benschza has joined #nixos
hax404 has joined #nixos
heatm1s3r has joined #nixos
Maxdamantus has quit [Ping timeout: 240 seconds]
afics has quit [Ping timeout: 240 seconds]
eri451 has quit [Ping timeout: 240 seconds]
teozkr_ has joined #nixos
ogkloo has quit [Ping timeout: 240 seconds]
Asmadeus has quit [Ping timeout: 240 seconds]
nick_h has joined #nixos
cyris212 has joined #nixos
visl has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
ManiacOfMadness has joined #nixos
Asmadeus has joined #nixos
dmj` has joined #nixos
afics has joined #nixos
gluegadget has joined #nixos
aristid has joined #nixos
Maxdamantus has joined #nixos
lally has quit [Ping timeout: 240 seconds]
sam_w has joined #nixos
ogkloo has joined #nixos
alanz_ has quit [Ping timeout: 240 seconds]
nwspk has joined #nixos
eri451 has joined #nixos
jkkm has quit [Ping timeout: 240 seconds]
anders^ has quit [Ping timeout: 240 seconds]
lally has joined #nixos
ngerstle[m] has quit [Ping timeout: 240 seconds]
leah2 has quit [Ping timeout: 240 seconds]
ngerstle[m]1 has joined #nixos
Mic92 has quit [Ping timeout: 240 seconds]
sneakweb has quit [Ping timeout: 240 seconds]
alanz_ has joined #nixos
amir has quit [Ping timeout: 240 seconds]
amir has joined #nixos
jkkm has joined #nixos
palo1 has joined #nixos
iyzsong has joined #nixos
Mic92 has joined #nixos
anders^ has joined #nixos
sneakweb has joined #nixos
aw_ has joined #nixos
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
leah2 has joined #nixos
chrisaw has joined #nixos
hexa- has quit [Ping timeout: 240 seconds]
aw has quit [Ping timeout: 240 seconds]
hexa- has joined #nixos
mlen has joined #nixos
alp has joined #nixos
<hpfr> any systemd gurus know the declarative version of `loginctl enable-linger user`?
<hpfr> it looks like this might be it? https://serverfault.com/a/849280
<hpfr> is it possible to declaratively write to /var?
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96582 → readosm: 1.1.0 -> 1.1.0a → https://git.io/JULEz
ddellacosta has quit [Ping timeout: 264 seconds]
<V> hpfr: with an activation script?
<V> system.activationScripts, etc
<hpfr> V: thanks!
domogled has joined #nixos
domogled has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to staging « Revert "unbound: fix build with nettle-3.5" »: https://git.io/JULEp
zarel has quit [Ping timeout: 240 seconds]
spudly- has joined #nixos
CMCDragonkai1 has joined #nixos
spudly has quit [Ping timeout: 240 seconds]
spudly- is now known as spudly
alp has joined #nixos
cole-h has joined #nixos
CMCDragonkai1 has quit [Ping timeout: 258 seconds]
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
<jtojnar> hpfr: systemd.tmpfiles might work too
<hpfr> as I understand the two options, that one seems to be scoped more around what I'm trying to do, while the activationScripts route would allow for more general scripts?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96583 → renoise: 3.2.1 -> 3.2.2 → https://git.io/JULuo
iyzsong has joined #nixos
FRidh has joined #nixos
sarcasticadmin has quit [Quit: WeeChat 2.8]
sarcasticadmin has joined #nixos
<hpfr> nice, `systemd.tmpfiles.rules = [ "f /var/lib/systemd/linger/lh 0644 root root" ];` is very declarative
<hpfr> thanks!
<hpfr> now my syncthing user service runs on boot and doesn't die if I'm not ssh'd into my headless server
sarcasticadmin has quit [Quit: WeeChat 2.8]
sarcasticadmin has joined #nixos
kreyren has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #96550 → flutter: export mkFlutter → https://git.io/JULJy
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JULzJ
sarcasticadmin has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96584 → rofi-calc: 1.7 -> 1.8 → https://git.io/JULzB
<cole-h> If anybody with commit bit wants something to merge... 👉 https://github.com/NixOS/nixpkgs/pull/96447
<{^_^}> #96447 (by cole-h, 1 day ago, open): firefox-beta-bin: 80.0b8 -> 81.0b3
page has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<jackdk> How do I find the `configuration` argument with which nixos amazon EC2 images are built? Calling `nix-build ./nixos/release.nix -A amazonImage --arg supportedSystems '["x86_64-linux"]'` built an image that successfully imported into EC2, but wouldn't let me SSH in with my keypair
jnbrains has joined #nixos
jnbrains has left #nixos [#nixos]
<jackdk> nevermind, I think my changes to the metadata-fetcher script broke it
sarcasticadmin has joined #nixos
knerten has joined #nixos
sarcasticadmin has quit [Client Quit]
sarcasticadmin has joined #nixos
mariatsji has joined #nixos
orivej has joined #nixos
IRCsumm has quit [Remote host closed the connection]
kreyren has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96585 → ser2net: 4.2.0 -> 4.2.1 → https://git.io/JULgs
justanotheruser has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos
CMCDragonkai1 has joined #nixos
CMCDragonkai1 has quit [Client Quit]
mallox has joined #nixos
Extends has joined #nixos
h0m1 has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @FRidh opened pull request #96586 → pythonPackages: normalize attribute names, fixes #49691 → https://git.io/JULgr
h0m1 has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
knerten1 has joined #nixos
knerten has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #96529 → qgis: 3.10.7 -> 3.10.9 → https://git.io/JUIyp
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JUL2E
<{^_^}> [nixpkgs] @FRidh opened pull request #96587 → python3.pkgs.flit: use current pytest → https://git.io/JUL2b
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96588 → seafile-client: 7.0.7 -> 7.0.9 → https://git.io/JUL2j
<{^_^}> [nixpkgs] @deviant opened pull request #96589 → `nixos-rebuild edit` improvements → https://git.io/JULaG
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « matrix-synapse: 1.19.0 -> 1.19.1 »: https://git.io/JULa2
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96590 → scaleft: 1.45.3 -> 1.45.4 → https://git.io/JULaA
davidv7__ has quit [Quit: Konversation terminated!]
davidv7 has joined #nixos
<{^_^}> [nixpkgs] @roberth merged pull request #94804 → nixos/hercules-ci-agent: init → https://git.io/JJiQk
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/JULVq
kreyren has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96591 → sdcv: 0.5.2 -> 0.5.3 → https://git.io/JULVC
<{^_^}> [nixpkgs] @adisbladis merged pull request #96580 → emacsPackages.orgit-forge: override build inputs to include Git → https://git.io/JUL4y
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JULV0
pjt_tmp has quit [Quit: WeeChat 2.8]
sputny has joined #nixos
eoli3n_ has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @TethysSvensson opened pull request #96592 → tor-browser-bundle-bin: 9.5.3 -> 9.5.4 → https://git.io/JULVp
sputny has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
tmaekawa has joined #nixos
<jackdk> okay, getting closer but more stumped. The following line does not set a correct metadata token: `TOKEN=$($wgetCmd -O - --method=PUT --header 'X-aws-ec2-metadata-token-ttl-seconds: 60' http://169.254.169.254/latest/api/token)`
<jackdk> I confirmed this by putting `echo $TOKEN>token` and noticing that it put whitespace in there
<jackdk> is there something I'm missing with how nixlang handles interpolation, perhaps?
<clever> that looks like its entirely in the bash area, not nix
juhe has joined #nixos
<jackdk> if I insert `echo $TOKEN>token` between lines 10 and 11, and comment line 11 so it doesn't try to authenticate its requests to IMDS, I see that it did not get a token (by SSH-ing in and looking at the token file on the FS
<clever> jackdk: but there is no ${ in that line, so nix doesnt make any real changes to it
mariatsji has quit [Remote host closed the connection]
<jackdk> that's what I thought, but I'm becoming increasingly confused
<clever> jackdk: the only change nix does to those lines, is the '' will strip 2 spaces from the start of each
mariatsji has joined #nixos
<clever> only lines 4/5 get some changes
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
alexherbo2 has joined #nixos
obadz has quit [Quit: WeeChat 2.9]
<jackdk> ok, so there's no nix-side mangling, which means when I copy/paste that command I'm not tricking myself. The IMDS is up, because if I use v1 requests (without the header), they work and have worked for donkey's ages. So what is going on that I can't get my token?
<clever> jackdk: what did wget print when it fetched that file? any http status codes?
<clever> if you used -q, then you wont see any http errors
alexherbo20 has joined #nixos
wak-work has quit [Remote host closed the connection]
<jackdk> good point. I'll turn off -q and dump stderr into another file. Cycle time on these changes is ~5min because I have to build/upload/import the VM image into AWS
felixfoertsch has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo20 is now known as alexherbo2
mariatsji has quit [Ping timeout: 272 seconds]
fszdg[m] has quit [Quit: Idle for 30+ days]
oopisthedevil[m] has quit [Quit: Idle for 30+ days]
Louis[m]2 has quit [Quit: Idle for 30+ days]
ggpeti[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
knerten1 has quit [Ping timeout: 240 seconds]
eoli3n_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #96587 → python3.pkgs.flit: use current pytest → https://git.io/JUL2b
<{^_^}> [nixpkgs] @FRidh pushed to master « python3.pkgs.flit: use current pytest »: https://git.io/JULrq
cyphase has quit [Ping timeout: 240 seconds]
<jackdk> clever: AAAAAAAAAAAA wget is not wget it's busybox wget which doesn't support --method because we're in tiny-initrd-land
<jackdk> thank you!
cyphase has joined #nixos
ris has joined #nixos
juhe has quit [Quit: Leaving.]
cole-h has quit [Quit: Goodbye]
knerten has joined #nixos
mariatsji has joined #nixos
waleee-cl has joined #nixos
mariatsji has quit [Ping timeout: 240 seconds]
ask6155 has joined #nixos
<ask6155> Hello!
<{^_^}> [nixos-hardware] @symphorien opened pull request #187 → add dell precision 5530 → https://git.io/JULrF
eoli3n_ has joined #nixos
SanchayanMaity has joined #nixos
cosimone has joined #nixos
<{^_^}> [nixpkgs] @endgame opened pull request #96593 → ec2-metadata-fetcher: use IMDSv2, fetch public-ipv4 as well → https://git.io/JULoI
<jackdk> ask6155: hi
<jackdk> RIGHT. VICTORY. handcrafted the PUT request using `echo` and busybox `nc`, but it works.
<jackdk> #96593 is not a particularly cloud-y PR. Really just shell-script-level changes
<{^_^}> https://github.com/NixOS/nixpkgs/pull/96593 (by endgame, 4 minutes ago, open): ec2-metadata-fetcher: use IMDSv2, fetch public-ipv4 as well
werner291 has joined #nixos
flox has joined #nixos
<flox> Hi all. I am trying to get a package to cross-build for aarch64 but the nativeBuildInputs are missing `objdump` (or rather binutils) and just adding it will cause a exec format error. Does anyone know how to the right binutils needed for cross-building? :)
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @turboMaCk opened pull request #96594 → elmPackages.elm-optimize-level-2: Init at 0.1.3 → https://git.io/JULoR
<{^_^}> [nixpkgs] @expipiplus1 reopened pull request #96057 → nvidia_x11_beta: 450.66 -> 440.66.14 → https://git.io/JUv54
<clever> flox: you want to use $OBJDUMP when cross-compiling
<clever> [clever@amd-nixos:~]$ nix-shell '<nixpkgs>' -A pkgsCross.aarch64-multiplatform.hello
mariatsji has quit [Ping timeout: 240 seconds]
<clever> [nix-shell:~]$ echo $OBJDUMP
<clever> aarch64-unknown-linux-gnu-objdump
<clever> flox: nix will automatically point that towards the right version for the current target
<flox> clever: that is precisely the issue, because building is done on my x86 system, so having $OBJDUMP point to an aarch64 version means configure will fail to detect it
<flox> clever: to my understanding, adding buildPackages.binutils.bintools to nativeBuildInputs should solve this, but for a reason I don't understand, it does not
<clever> flox: is configure trying to do both x86 and aarch64 builds, for utils used at build-time?
<flox> afaik no, it should just configure for aarch64
<clever> can you pastebin your expression?
tobiasBora has quit [Ping timeout: 240 seconds]
tobiasBora has joined #nixos
cjpbirkbeck has quit [Quit: Goodbye, take care]
civodul has joined #nixos
kreyren_ has joined #nixos
<flox> it's the mbuffer package on master :)
<wpcarro> I'm attempting to `nix-build` the same Nix expression on two different machines. One succeeds and the other fails. `NIX_PATH` is the same for both machines. Can anyone offer advice on how to further debug this?
kreyren has quit [Ping timeout: 240 seconds]
<immae> wpcarro: overlays?
<clever> wpcarro: does `nix-instantiate` give the identical .drv for both machines?
<wpcarro> also the `nixpkgs-channels` that I'm using as `<nixpkgs>` in `NIX_PATH` is also pinned to the same git commit
<clever> flox: yep, i can reproduce the mbuffer fault locally
<wpcarro> clever: I haven't tried that. Standby...
<wpcarro> clever: okay they're different. I guess that's the smoking gun... can someone help me better understand what this means?
<wpcarro> That the inputs into the derivation b/w the two differ?
<immae> wpcarro: Did you check if you have overlays in one of the machines maybe?
<clever> wpcarro: use nix-copy-closure to get both drv's onto the same machine, then use nix-diff to compare the 2 drv files
<clever> wpcarro: what does nix-diff say the difference is?
<wpcarro> immae: I shouldn't have overlays. I'm building from the same `git` repository. Would the overlays show up elsewhere?
<{^_^}> [nixpkgs] @mweinelt opened pull request #96595 → pinnwand: 1.2.1 -> 1.2.2 → https://git.io/JULKn
<immae> wpcarro: the overlay may be in ~/.config/nixpkgs/overlay*
<clever> wpcarro: if you dont force `overlays = [];` then nixpkgs will load the user overlays from the path immae gave
<clever> wpcarro: nix-diff will reveal exactly what differs, and then it should be a lot more obvious what the cause is
<wpcarro> clever: okay - running `nix-copy-closure` now
<flox> clever: any ideas on how to resolve it? :)
<clever> flox: trying to build master locally to confirm what is happening
<wpcarro> clever: `nix-diff` is incredible... thank you
<clever> wpcarro: what difference did it find?
<wpcarro> Looks like "The environments don't match", and it's because the output hashes of `builtins.path { path = ./.emacs.d/wpc; name = "emacs-libs"; }` differ b/w machines... need to dig into *why*, but it pinpointed the issue
<sphalerite> flox: $OBJDUMP is an objdump that will run on your build system, but can target aarch64. That's probably what you want.
<clever> wpcarro: ah, now run `diff -r` on those 2 paths, nix-copy-closure already copied them over too
<wpcarro> even clearer... looks like ~10 LOCs of Elisp setting keybindings for `magit` makes all the difference... hmm
<wpcarro> I don't think I would expect that to break my `nix-build` though
<clever> wpcarro: depends on what the build is then doing with that elisp
<clever> if you make them match up, and get the same .drv from both machines, does have the same outcome on both?
<wpcarro> clever: I'll try that now
tex has joined #nixos
mariatsji has joined #nixos
ask6155 has left #nixos ["Later!"]
<tex> hello everyone, any chance you have nixpkgs package for Xerox WorkCentre 3025 (SANE, scanner)?
alter2000 has quit [Ping timeout: 240 seconds]
xd1le has quit [Remote host closed the connection]
malook has joined #nixos
xd1le has joined #nixos
cosimone has quit [Quit: Quit.]
mariatsji has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to master « eva: fix build »: https://git.io/JULKy
aveltras has joined #nixos
<tex> correction: hello everyone, any chance you have nixpkgs package for Xerox WorkCentre 3025 (CUPS, SANE)?
alter2000 has joined #nixos
<wpcarro> clever: after getting the same paths for `nix-instantiate`, I ran `nix-build` thinking that the results should be the same, but they weren't. Machine A succeeded; machine B failed
<clever> wpcarro: is the sandbox on? what is the actual error?
<wpcarro> clever: I'm unsure about the sandbox. Is that just a flag? The error is that a requested URL 404s
<clever> wpcarro: network should never work during a build, if it is working, then the sandbox was off and not doing its job
<hazel[m]> so uh, I'm trying to define a systemd user service for mpdscribble with `systemd.user.services`, but `systemctl --user start mpdscribble` says "Unit mpdscribble.service not found"
<hazel[m]> the file /etc/systemd/user/mpdscribble.service exists
<wpcarro> that makes sense... how can I enable it?
<clever> wpcarro: by declaring the hash of $out upfront in the nix expression
<clever> wpcarro: or modifying the package to not do network, and use pkgs.fetchurl to pre-fetch things
<symphorien[m]> hazel systemctl --user daemon-reload ?
<hazel[m]> nope
<hazel[m]> tried that
<wpcarro> clever: okay. I'm using `emacsWithPackages`, which I guess is what's doing the fetching, but I assumed internally that would use declare the output hashes
<clever> wpcarro: its possible that the website the file came from has simply deleted it
<clever> wpcarro: but one machine has it cached
<wpcarro> clever: yeah that's what I'm suspecting. I tested the URL and it indeed 404s... Can I build on machine A without using the cached files?
<clever> wpcarro: what derivation is failing?
fendor has joined #nixos
<wpcarro> `/nix/store/f70hw0g9rd2hkcfyivxivg3nrlczip3n-source.drv`
<clever> wpcarro: nix-store --query --binding out /nix/store/f70hw0g9rd2hkcfyivxivg3nrlczip3n-source.drv
<wpcarro> `/nix/store/xijc6xk4rjd8pzd005b7qbiw1ksaha6a-source`
<clever> wpcarro: you can either use nix-copy-closure to copy that path between machines, or `nix-store --delete` to remove it from the cache
<wpcarro> 👍 okay - thank you
<adisbladis> Hmm, this is very strange
kreyren_ has quit [Remote host closed the connection]
kreyren_ has joined #nixos
<wpcarro> I guess I should upgrade to 27 instead of 26 anyhow
<adisbladis> wpcarro: The metadata from melpa is the culprit
<adisbladis> See how it's pointing to a non existing commit
<hazel[m]> is 20.03 Emacs 27 yet?
<adisbladis> hazel[m]: No, and it won't be
<hazel[m]> (will it be, ever?)
<hazel[m]> yeah
<hazel[m]> alright, should I be pulling `emacsUnstable` from overlay or nixos-unstable emacs then
<adisbladis> Yep
<wpcarro> yeah... strange
<adisbladis> Obviously it did exist at some point
sangoma has joined #nixos
<adisbladis> I have the very same derivation that was successfully realised before
<wpcarro> maybe they `git rebase`'d?
<adisbladis> Probably that's the case
<adisbladis> Let's see if the next Melpa run fixes it automagically
<wpcarro> adisbladis: I ran `nix-store --delete` hoping to break my `nix-build` on machine A, but `nix-build` still actually works
<adisbladis> "Current build started: 36 minutes ago, last took an hour"
<Ke> environment.etc."config.json".text = builtins.toJSON config;
<{^_^}> [nixpkgs] @prusnak opened pull request #96596 → dnspython: reintroduce version 1.16.0, fix electrum build → https://git.io/JUL6z
<Ke> is there a reason I can't get that pony?
<adisbladis> wpcarro: Are you using the nix-community binary cache maybe?
<wpcarro> My understand of Nix binary caches is pretty weak. How can I check? I imagine I just have w/e the defaults are
<symphorien[m]> nix show-config will tell you
<adisbladis> Disregard that, those sources are not in the cache anyway
<wpcarro> symphorien[m]: under `substituters`?
<{^_^}> [nixpkgs] @prusnak opened pull request #96597 → electron-cash: ease protobuf dependency → https://git.io/JUL62
<symphorien[m]> yes I think so
<Ke> symphorien: if that's meant to be for me, it does not seem to be anything like my built config
<Ke> perhaps it just reads what would be built now based on configuration.nix
kaznak has quit [Quit: Connection closed for inactivity]
<symphorien[m]> no that was for wpcarro
<wpcarro> adisbladis: disregarding, but just to close the loop, both are `https://cache.nixos.org`
<symphorien[m]> Emil Karlson: config is more than what you write, because the module system encodes mkIf and merges within it
<symphorien[m]> so there are things that can't map to JSON, I expect
<clever> symphorien[m]: config also contains the entire pkgs tree, including lib
alter2000 has quit [Ping timeout: 246 seconds]
<symphorien[m]> ah, right :)
<{^_^}> [nixpkgs] @prusnak closed pull request #96597 → electron-cash: ease protobuf dependency → https://git.io/JUL62
alter2000 has joined #nixos
<clever> symphorien[m]: many config options may also be unset, and will throw if you try to read them
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @LnL7 opened pull request #96598 → python2.pkgs.ujson: use compatible version → https://git.io/JUL66
<Ke> hmm, would there be something similar available
zupo has joined #nixos
<Ke> ie. document what was built in a machine readable way
<wpcarro> adisbladis: any ideas on how I should proceed?
<wpcarro> `nix-copy-closure` from machine A to B to populate B's `/nix/store` with the resources that are 404ing?
<adisbladis> I think that's the best for now
<adisbladis> Let's see if Melpa fixes itself soon
tobiasBora has quit [Remote host closed the connection]
<adisbladis> If it does I'll trigger an overlay update and I'll bump nixpkgs right after that
malook has quit [Quit: malook]
<wpcarro> okay - I'm pinned to `20.03`. I guess I should switch to `unstable` in the case that Melpa fixes itself and you bump `nixpkgs`. Right?
mariatsji has quit [Ping timeout: 244 seconds]
<adisbladis> Yeah
<wpcarro> 👍
<adisbladis> We don't usually bump stable emacs packages, but there is no policy against it or anything like that
<{^_^}> [nixpkgs] @FRidh pushed commit from @LnL7 to master « python2.pkgs.ujson: use compatible version »: https://git.io/JUL61
<{^_^}> [nixpkgs] @FRidh closed pull request #96598 → python2.pkgs.ujson: use compatible version → https://git.io/JUL66
<prusnak> Is there a way how to easily list the packages which depend on e.g. python3Packages.dnspython?
<prusnak> s:packages:expressions/derivations:
<LnL> nix-store -qR <path> will list all it's runtime dependencies
<{^_^}> [nixpkgs] @FRidh pushed 235 commits to staging-next: https://git.io/JUL65
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 236 commits to staging: https://git.io/JUL6A
<{^_^}> [nixpkgs] @FRidh merged pull request #96437 → Staging next → https://git.io/JUky7
<{^_^}> [nixpkgs] @FRidh pushed 105 commits to master: https://git.io/JUL6x
eoli3n_ has quit [Ping timeout: 264 seconds]
<prusnak> LnL: nope 1) i want the opposite direction, 2) i want this for the nixpkgs tree, not installed packages
alexherbo2 has quit [Remote host closed the connection]
<FRidh> prusnak: make a change, and use nix-review
<prusnak> FRidh: +1
<prusnak> thx
<FRidh> quickly built some of applications that directly depend on dnspython, and the builds did not fail
<{^_^}> [nixpkgs] @raboof closed pull request #94429 → bazel: add 3.1.0 → https://git.io/JJaAw
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<{^_^}> [nixpkgs] @FRidh merged pull request #96541 → python3Packages.cryptography: 3.0 -> 3.1 → https://git.io/JUIxW
<{^_^}> [nixpkgs] @FRidh pushed commit from @primeos to staging « python3Packages.cryptography: 3.0 -> 3.1 »: https://git.io/JULiU
<prusnak> FRidh: that's weird because electron-cash depends on dnspython and currently fails on master for unrelated reason; so you should have seen at least this failure
<{^_^}> [nixpkgs] @FRidh merged pull request #96478 → gnupg: 2.2.21 -> 2.2.22 → https://git.io/JUIqO
<{^_^}> [nixpkgs] @FRidh pushed commit from @doronbehar to staging « gnupg: 2.2.21 -> 2.2.22 »: https://git.io/JULiT
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
<FRidh> prusnak: did not test all of them
joesventek has quit [Quit: Quit]
<prusnak> ok, will try to use the nix-review to build/test all of them
<{^_^}> [nixpkgs] @FRidh merged pull request #96517 → cmake: fix CMAKE_FIND_FRAMEWORK → https://git.io/JUIVJ
<{^_^}> [nixpkgs] @FRidh pushed commit from @sikmir to staging « cmake: fix CMAKE_FIND_FRAMEWORK »: https://git.io/JULit
werner291 has quit [Ping timeout: 240 seconds]
nikivi has joined #nixos
joesventek has joined #nixos
alter2000 has quit [Ping timeout: 256 seconds]
<jackdk> What would the equivalent of `nix-instantiate --eval -E '(import <nixpkgs/nixos/modules/virtualisation/ec2-amis.nix>)."20.03".us-east-1.hvm-ebs` be in `nix eval`?
arjen-jonathan has joined #nixos
<clever> To evaluate a Nix expression given on the command line:
<clever> $ nix eval --expr '1 + 2'
<clever> jackdk: its in `nix eval --help`
sangoma has quit [Ping timeout: 258 seconds]
<jackdk> clever: ah, that works. It's getting late here sorry. I was trying to do something with `-f 'channel:foo'` but couldn't get it to accept my input
<{^_^}> [nixpkgs] @Lassulus merged pull request #96164 → Init cargo-embed and cargo-flash at 0.8.0 → https://git.io/JUf74
<{^_^}> [nixpkgs] @Lassulus pushed 4 commits to master: https://git.io/JULi6
<{^_^}> [nixpkgs] @Lassulus closed pull request #86221 → cargo-flash: init at 0.8.0 → https://git.io/JfmRY
philr_ has joined #nixos
tobiasBora has joined #nixos
cr4y1 has joined #nixos
arjen-jonathan has quit [Ping timeout: 260 seconds]
la-jesystani has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 1000 commits to python-unstable: https://git.io/JULPq
<{^_^}> [nixpkgs] @sikmir opened pull request #96599 → trojita: enable localization → https://git.io/JULPZ
<{^_^}> [nixpkgs] @symphorien opened pull request #96601 → gnirehtet: 2.4 -> 2.5 → https://git.io/JULP8
cr4y1 has quit [Remote host closed the connection]
cr4y1 has joined #nixos
SanchayanMaity has quit [Quit: leaving]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f9c44932884 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
arjen-jonathan has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @FRidh pushed 9 commits to master: https://git.io/JULXk
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
ManiacOfMadness has quit [Ping timeout: 244 seconds]
alter2000 has joined #nixos
joesventek has quit [Quit: Quit]
<{^_^}> [nixpkgs] @xfix opened pull request #96602 → htop: 2.2.0 -> 3.0.0 → https://git.io/JULXq
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « awscli: 1.18.120: 1.18.128 »: https://git.io/JULXO
tex has quit [Remote host closed the connection]
joesventek has joined #nixos
nikivi has joined #nixos
<adisbladis> wpcarro: Not fixed in Melpa :/
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JULXR
<{^_^}> [nixpkgs] @FRidh opened pull request #96603 → pythonPackages: patch updates → https://git.io/JULX0
sentinal8473 has joined #nixos
mallox has quit [Quit: WeeChat 2.9]
tmaekawa has quit [Quit: tmaekawa]
alter2000 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @FRidh opened pull request #96604 → pythonPackages.django: 2.2 -> 3.1 → https://git.io/JULXM
o1lo01ol1o has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
werner291 has joined #nixos
metreo has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f9c44932884 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @aanderse opened pull request #96605 → zabbix: 4.0.20 -> 4.0.24, 5.0.2 -> 5.0.3 → https://git.io/JUL1I
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #95880 → nixos/postgresql: replace extraConfig option with settings option → https://git.io/JJjeA
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JUL1Z
<{^_^}> [nixpkgs] @aanderse merged pull request #96316 → nixos/redmine: replace extraConfig option with settings option → https://git.io/JUUFP
<{^_^}> [nixpkgs] @aanderse pushed 4 commits to master: https://git.io/JUL1c
<infinisil> aanderse: Nice stuff!
<infinisil> aanderse++
<{^_^}> aanderse's karma got increased to 23
<aanderse> as always i'm a huge fan of your work so infinisil++ right back at you :)
<{^_^}> infinisil's karma got increased to 0b101010110
<infinisil> :D
<aanderse> really looking forward to getting into those free form module options
kreyren_ has quit [Ping timeout: 240 seconds]
kreyren has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #96442 → tegola: 0.11.2 -> 0.12.0 → https://git.io/JUk9L
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUL1Q
elux has joined #nixos
<elux> hi there
<elux> anyone know what the status of getting Golang 1.15 available in nixpkgs?
<elux> or any tips on how i can upgrade myself sooner
orivej has joined #nixos
<{^_^}> #95885 (by zowoq, 1 week ago, merged): go, buildGoModule, buildGoPackage: default to go 1.15
<elux> nice. how come home-manager isn't picking it up yet..?
<FRidh> you probably need to update your channel or use the nixpkgs-unstable channel
<elux> for my root user im on nixos-unstable, for my normal user, my nix-channel is showing home-manager https://github.com/rycee/home-manager/archive/master.tar.gz can i also add the nixos-unstable to my user which i use home-manager (which is how i install 'go') ?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96606 → sparsehash: 2.0.3 -> 2.0.4 → https://git.io/JULMt
<elux> apparently the home-manager archive/master.tar.gz chan should work for tracking nixos unstable..
sentinal8473 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sentinal8473 has joined #nixos
<yurb> If I have both nixos-20.03 and nixos-unstable enabled in my user environment, will `nix-env -u` upgrade the stable packages to their versions from unstable?
<yurb> Ideally I would like packages installed as `nixos.package` to keep tracking the stable channel
<Extends> packages installed through nixos.package (assuming nixos refers to stable channel) will be updated in stable channel
<elux> i love nix.. but its confusing
<yurb> Extends: hm, it seems on my system it would upgrade `nixos.extremetuxracer` to 0.8, although nixos still has 0.7.5
<yurb> (0.8 is unstable)
ddellacosta has joined #nixos
sangoma has joined #nixos
<yurb> `nix-env -iA nixos.extremetuxracer; nix-env --dry-run -u |& grep extremetuxracer`: https://dpaste.org/yhof
<{^_^}> [nixpkgs] @gebner closed pull request #75849 → emscripten: 1.38.28 -> 1.39.1 → https://git.io/Je7b7
<{^_^}> [nixpkgs] @gebner closed pull request #95951 → binaryen: 95 -> 96 → https://git.io/JUekq
<{^_^}> [nixpkgs] @gebner merged pull request #96555 → emscripten: 1.39.1 -> 2.0.1 → https://git.io/JULto
<{^_^}> [nixpkgs] @gebner pushed 12 commits to master: https://git.io/JULMr
<elux> how can i have home-manager use the nixos-unstable channel..?
<symphorien[m]> > Extends: hm, it seems on my system it would upgrade `nixos.extremetuxracer` to 0.8, although nixos still has 0.7.5
<symphorien[m]> If you start doing fancy things, you are better off using home-manager instead of nix-env
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):321:12
<Extends> yurb: that's stange and also a bad decision if this is done on purpose
<symphorien[m]> for example, even with a single channel, nix-env -u will upgrade jdk8 to jd10 or later
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #96607 → pythonPackages.tldextract: add missing setuptools_scm dependency → https://git.io/JULMM
<Extends> elux: depends on how you manage home-manager, through flakes / niv / channels ?
<{^_^}> [nixpkgs] @gebner opened pull request #96608 → mathlibtools: init at 0.0.10 → https://git.io/JULMH
<symphorien[m]> elux: home-manager uses the same channel as nixos-rebuild switch if you haven't setup channels specially
<elux> my root and normal user have different nix-channel lists it appears. i believe this is fine..?
<elux> i use my root user + nixos-rebuild switch for my system-level configuration, and home-manager for user environment.
Rusty1 has joined #nixos
<chreekat[m]> I don't think it's good practice to use nix-env if you're already on NixOS. Just use NixOS...
<elux> in my normal user ive just added nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs, did a nix-channel --update and now home-manager switch, and it appears to be installing a whole bunch of new things. so hopefully its indexing from the nixpkgs unstable
<elux> i see go 1.15 in the list of intsalling pkgs. i believe this is working :)
<yurb> symphorien: my use case is: I want to install certain packages into my user profile only; of those, only some - from unstable. And keep upgrading each packages from the channel it comes from.
<chreekat[m]> Mm I guess the benefit of nix-env is you don't have to write quite as much of your own Nix code to pull from different versions of Nixpkgs.
<symphorien[m]> home-manager and /etc/nixos/configuration.nix let you do that sanely
<symphorien[m]> I'm not sure you can do this with nix-env without dirty tricks
<chreekat[m]> But it's not much, and the downside is you lose your reproducibility. So yeah, what symphorien said
<{^_^}> [nixpkgs] @sikmir opened pull request #96609 → lsd2dsl: 0.5.1 -> 0.5.2 → https://git.io/JULDO
<yurb> I see, thanks, I'll keep that in mind. I install most things form configuration.nix, but use nix-env to test different versions of packages occassionally
<{^_^}> [nixpkgs] @FRidh merged pull request #96607 → pythonPackages.tldextract: add missing setuptools_scm dependency → https://git.io/JULMM
<{^_^}> [nixpkgs] @FRidh pushed commit from @emmanuelrosa to master « pythonPackages.tldextract: add missing setuptools_scm dependency »: https://git.io/JULDW
werner291 has quit [Ping timeout: 265 seconds]
FRidh has quit [Quit: Konversation terminated!]
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @gebner merged pull request #94380 → closurecompiler: 20200614 -> 20200719 → https://git.io/JJazh
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JULDo
waleee-cl has joined #nixos
turlando has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #96610 → deepin: remove from nixpkgs → https://git.io/JULDF
<{^_^}> [nixpkgs] @gebner opened pull request #96611 → python3Packages.rq: 1.5.0 -> 1.5.1 → https://git.io/JULDx
<chreekat[m]> ∿ und̷e̷l̷ě̷t̷e̷d̷: makes sense. I generally use nix-shell for that, to drive home the impermanence. :)
<{^_^}> [nixpkgs] @aanderse merged pull request #96425 → perlPackages.Mojolicious: 8.55 -> 8.58 → https://git.io/JUk62
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JULyk
<{^_^}> [nixpkgs] @Lassulus merged pull request #85328 → nixos/networkmanager: restart dispatcher when nameservers change → https://git.io/Jfv7Y
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JULyL
<{^_^}> [nixpkgs] @gebner opened pull request #96612 → Revert "python: kombu: 4.6.11 -> 5.0.0" → https://git.io/JULyt
<yurb> chreekat: yeah, I should make a habit with nix-shell
<{^_^}> [nixpkgs] @gebner merged pull request #96612 → Revert "python: kombu: 4.6.11 -> 5.0.0" → https://git.io/JULyt
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JULyZ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96613 → scs: 2.1.1 -> 2.1.2 → https://git.io/JULyl
lordcirth has quit [Remote host closed the connection]
cosimone has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b8acd0bc733 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @gebner merged pull request #96611 → python3Packages.rq: 1.5.0 -> 1.5.1 → https://git.io/JULDx
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JULyD
<{^_^}> [nixpkgs] @gebner opened pull request #96614 → python3Packages.sentry-sdk: fix build → https://git.io/JULyH
rardiol has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #96578 → python27Packages.trimesh: 3.7.14 -> 3.8.4 → https://git.io/JUL84
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JULyF
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96615 → sagittarius-scheme: 0.9.6 -> 0.9.7 → https://git.io/JULyb
rardiol has quit [Read error: Connection reset by peer]
eoli3n_ has joined #nixos
evils has quit [Ping timeout: 265 seconds]
justanotheruser has joined #nixos
redji12 has joined #nixos
evils has joined #nixos
<redji12> Does anyone uses multiseat with nixos? I tried and it gave me a read only filesystem error. I assume I have to configure it on configuration.nix somehow instead of using loginctl.
eoli3n_ has quit [Ping timeout: 240 seconds]
ddellacosta has quit [Ping timeout: 265 seconds]
sangoma has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #96519 → noaa-apt: init at 1.2.0 → https://git.io/JUIwg
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JULS6
orivej has joined #nixos
zupo has joined #nixos
werner291 has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #96571 → nixos/test-driver: Use guest time when using sleep → https://git.io/JULGl
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JULSj
<yurb> symphorien: could you provide a hint on how to manage installation from multiple channels in `configuration.nix` or in `~/.config/nixpkgs/config.nix`?
<symphorien[m]> ,unstable
<{^_^}> How to install from unstable while remaining on stable: https://nixos.wiki/wiki/FAQ#How_can_I_install_a_package_from_unstable_while_remaining_on_the_stable_channel.3F . Also note that there's nixpkgs-unstable and nixos-unstable
<symphorien[m]> see this faq item
<yurb> ah, thanks
<yurb> very useful
trulsa has joined #nixos
arjen-jonathan has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
trulsa has quit [Quit: ZNC - http://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96616 → seabios: 1.13.0 -> 1.14.0 → https://git.io/JUL9z
a525dfg has joined #nixos
<a525dfg> hello
trulsa has joined #nixos
<a525dfg> as I wanted to look a little into nix expressions and packaging I thought it would be a good idea to check out the nixpkgs repo and a little of the manual
<a525dfg> but I can't stop wondering how its possible for those nixpkg expressions to build
<a525dfg> such as
Blackraider has joined #nixos
sseveran has joined #nixos
<a525dfg> how does nix know how to build this package
<symphorien[m]> a lot of logic is added by the `buildDotNetPackage` function, if this is your question
<symphorien[m]> which is defined elsewhere in nixpkgs
<a525dfg> and that takes the entire hassle of building it?
<a525dfg> moving files to the correct locations
<a525dfg> setting permissions
<symphorien[m]> except for strange packages, yes
<a525dfg> compiling maybe too
<a525dfg> oh, hmm yeah that makes sense
<a525dfg> but this expression does not seem to have such thing
elux has quit [Quit: leaving]
<symphorien[m]> there are a number of such helpers, for many languages: https://nixos.org/manual/nixpkgs/stable/#chap-language-support
<a525dfg> I once read something about that if no builder is set nix just defaults to "make && make install"
<{^_^}> [nixpkgs] @Ma27 merged pull request #96602 → htop: 2.2.0 -> 3.0.0 → https://git.io/JULXq
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JUL9d
<symphorien[m]> a525dfg by default stdenv.mkDerivation does ./configure make make install
trulsa has quit [Quit: ZNC - http://znc.in]
<a525dfg> but how do the correct paths match up
trulsa has joined #nixos
<symphorien[m]> a way to see it is that stenv.mkDerivation is more buildAutotoolsPackage
<symphorien[m]> what do you mean by "paths match up" ?
<a525dfg> if I were to run this on my machine rn "configure" id assume it to put things under the default linux/unix paths
<a525dfg> /sbin /usr/ /etc/ ....
<symphorien[m]> actually, ./configure is called with a few options, notably `--prefix /nix/store/thispackage`
<a525dfg> yeah that makes sense
<a525dfg> was just a little confused as its being somewhat hid from the expression file
<symphorien[m]> but all this complexity is hidden from you by stdenv.mkDerivation and other helpers
Blackraider has quit [Quit: Mutter: www.mutterirc.com]
<a525dfg> symphorien[m] do you happen to know if there is any resource to look at for integration of nix packages under nixos with the init system
<a525dfg> like installing systemd unit files
<symphorien[m]> there is no such integration
<symphorien[m]> nix derivation can only ever write to /nix/store/thepackagehash
<a525dfg> how is it possible for packages such as tor to register their daemon under systemd then
<symphorien[m]> if you want such an integration, you must have the user do something to /etc/nixos/configuration.nix
<symphorien[m]> usually, you write a NixOS module, and then tell people to set `services.yourmodule.enable = true`
Blackraider has joined #nixos
eoli3n_ has joined #nixos
<a525dfg> oh
<symphorien[m]> but in very simple cases where there is a systemd unit file shipped upstream, you can get away with `systemd.packages = [ pkgs.thepackage ]`, which tells nixos to use the systemd unit file from the package
<a525dfg> this makes sense as now I recall having set the tor option via services.tor.enable in /etc/nixos/conf....conf
<a525dfg> didn't think of that it was a nixos module :|
<symphorien[m]> but keep in mind that the main guarantee of nix is that installing a package will not interfere with the system (as in: not break it). So if you want integration, you have to ask for it explicitely
<symphorien[m]> writing nixos modules is documented here: https://nixos.org/manual/nixos/stable/index.html#sec-writing-modules
<a525dfg> thing is I want to host my own channel and nicely supply configuration files and such
<symphorien[m]> you can import a module from a channel
<a525dfg> like a personal channel with my own packages(expression)
<symphorien[m]> see for example how nixos-hardware works
<symphorien[m]> so your channel can contain both packages and modules
<a525dfg> yeah this sounds promising
<{^_^}> [nixpkgs] @danieldk merged pull request #96350 → python3Packages.pytorch: remove oneDNN dependency → https://git.io/JUTY1
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JULHO
eoli3n_ has quit [Ping timeout: 264 seconds]
<a525dfg> ok this should keep me going for a while. Thanks a bunch symphorien[m] :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #96617 → siege: 4.0.6 -> 4.0.7 → https://git.io/JULHG
trulsa has quit [Quit: ZNC - http://znc.in]
<a525dfg> yeah sure thing
<a525dfg> (wrong channel)
Blackraider has quit [Quit: Mutter: www.mutterirc.com]
<yurb> um, reading the readme of home-manager again and I'm still not sure I want to use it (use at your own risk warning, no rollbacks); I have managed to setup a declarative package configuration for my user profile with conditional unstable per https://nixos.org/manual/nixpkgs/stable/#sec-declarative-package-management - will see how it goes
mariatsji has quit [Remote host closed the connection]
<symphorien[m]> actually many people use home-manager and it works really well
<symphorien[m]> I would say the readme is overly cautious
xd1le has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
thblt has joined #nixos
xd1le has joined #nixos
Blackraider has joined #nixos
<yurb> maybe I'm overly cautious too; anyway, also the fact that it's outside nixpkgs opens new attack surface
julm has quit [Remote host closed the connection]
julm has joined #nixos
<yurb> nixpkgs being the central part of a whole distribution is in theory harder to attack than a smaller independent repo
Blackraider has quit [Remote host closed the connection]
<symphorien[m]> I'm not very convinced, but well, ¯\_(ツ)_/¯
<{^_^}> [nixpkgs] @gebner merged pull request #96614 → python3Packages.sentry-sdk: fix build → https://git.io/JULyH
<{^_^}> [nixpkgs] @gebner pushed 3 commits to master: https://git.io/JULQI
<{^_^}> [nixpkgs] @gebner merged pull request #96608 → mathlibtools: init at 0.0.10 → https://git.io/JULMH
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JULQL
<rycee> I think Nixpkgs is the larger risk in this regard :-)
noudle has joined #nixos
<edef> there are like, over a hundred people who can commit to nixpkgs unilaterally, me included
noudle has quit [Client Quit]
<rycee> Isn't it closer to a thousand?
<{^_^}> [nixpkgs] @gebner merged pull request #96530 → python27Packages.pyside2: 5.14.2 -> 5.15.0 → https://git.io/JUIQh
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JULQn
WilliButz has quit [Remote host closed the connection]
eoli3n_ has joined #nixos
WilliButz has joined #nixos
<edef> rycee: no, there are 1K total members of the org
<edef> rycee: which includes the maintainers group
<edef> rycee: nixpkgs committers has 135 members
<rycee> edef: Ah right. I got them mixed up. Thanks for the clarification.
<edef> the maintainers group has 998 members, heavily overlapping with committers
<symphorien[m]> rycee what do you think about moderating the warning in the readme of home-manager ?
trulsa has joined #nixos
trulsa has quit [Remote host closed the connection]
mariatsji has joined #nixos
<symphorien[m]> home-manager seems to have become rather mature
<thblt> Hey, my command-not-found db seems broken, command-not-found doesn't suggest packages anymore. Anything I can do to fix that? I'm using a relatively fresh unstable.
<rycee> symphorien: Its main purpose is to reduce the maintenance burden so dampening popularity is intentional.
h0m1 has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @gebner opened pull request #96619 → qt5: 5.14.2 -> 5.15.0 → https://git.io/JULQo
<symphorien[m]> heh
h0m1 has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @bcc32 opened pull request #96620 → ocamlPackages.webbrowser: init at 0.6.1 → https://git.io/JULQi
<thblt> The DB file exists at /nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite
<unclechu> hey, if i do something like `pkgs.mkShell{shellHook="run-some-tests;exit";}` and then do `nix-shell test.nix` is this an anti-pattern and i shouldn’t do it this way?
<{^_^}> [nixpkgs] @FRidh opened pull request #96621 → bzip2_1_1: init at 2020-08-11 → https://git.io/JULQD
<unclechu> if so how would you do something like this?
<evanjs> Ugh. Called it. The description string I used for cargo-cache ends up breaking things when installed via nix-env
<evanjs> I wonder if this is a nix-env bug or just not enough escaping on my end?
<evanjs> The description I used was: "manage cargo cache (${CARGO_HOME}, ~/.cargo/), print sizes of dirs and remove dirs selectively"
Blackraider has joined #nixos
<evanjs> description = "Manage cargo cache (\${CARGO_HOME}, ~/.cargo/), print sizes of dirs and remove dirs selectively";
<evanjs> Looks like that's not enough to keep nix-env from dying
<symphorien[m]> unclechu I don't know if this is an antipattern, but maybe consider `nix-shell --run "run-some-tests"`
<symphorien[m]> possibly, define `run-some-tests` as a bash function inside shell.nix
kreyren has quit [Ping timeout: 240 seconds]
<unclechu> symphorien: sure but this requires knowing the command name
leomar[m] has left #nixos ["User left"]
sangoma has joined #nixos
<unclechu> and shit would be in my case `nix-shell test.nix --run 'run-some-tests'`
<unclechu> this*
<unclechu> i have no idea how “this” became “shit” 😆
<symphorien[m]> anyway, you have to have some doc somewhere of how to run tests, because it will not be self-evident that running `nix-shell` will run tests instead of opening a shell
Blackraider has quit [Remote host closed the connection]
arjen-jonathan has joined #nixos
gustavderdrache has joined #nixos
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #96584 → rofi-calc: 1.7 -> 1.8 → https://git.io/JULzB
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JUL74
ManiacOfMadness has joined #nixos
Blackraider has joined #nixos
<evanjs> Bah. There isn't currently any convenient way to build with nightly rust without using makeRustPlatform and nixpkgs-mozilla, etc, is there?
justanotheruser has quit [Quit: WeeChat 2.7.1]
justanotheruser has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sentinal8473 has quit [Quit: Textual IRC Client: www.textualapp.com]
domogled has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #96546 → nix-prefetch-github: v2.4 -> v3.0 → https://git.io/JUIjq
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JUL7H
Church- has quit [Quit: WeeChat info:version]
Blackraider has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @gebner opened pull request #96622 → sonata: fix gsettings schemas → https://git.io/JUL5J
philr_ has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #96576 → rustscan: init at 1.8.0 → https://git.io/JUL8I
<{^_^}> [nixpkgs] @danieldk pushed 3 commits to master: https://git.io/JUL5O
aleph- has joined #nixos
fzakaria[m] has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #96592 → tor-browser-bundle-bin: 9.5.3 -> 9.5.4 → https://git.io/JULVp
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JUL5Z
domogled has joined #nixos
bennofs__ has joined #nixos
<fzakaria[m]> hi
bennofs_ has quit [Ping timeout: 240 seconds]
lordcirth has joined #nixos
Blackraider has joined #nixos
Blackraider has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer opened pull request #96623 → nixpkgs-review: 2.3.1 -> 2.4.0 → https://git.io/JUL5r
noudle has joined #nixos
<symphorien[m]> <evanjs "Bah. There isn't currently any "> Use stable rust and `export RUSTC_BOOTSTRAP=1` if you must.
<{^_^}> [nixpkgs] @jtojnar pushed 71 commits to staging-next: https://git.io/JUL51
<{^_^}> [nixpkgs] @jtojnar pushed 72 commits to staging: https://git.io/JUL5S
Blackraider has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy merged pull request #96454 → firefox: 79.0 -> 80.0, firefox-esr-78: 78.1.0esr -> 78.2.0esr, firefox-esr-68: 68.11.0esr -> 68.12.0esr → https://git.io/JUkx3
<{^_^}> [nixpkgs] @petabyteboy pushed 3 commits to master: https://git.io/JUL59
lordcirth_ has joined #nixos
lordcirth has quit [Ping timeout: 240 seconds]
Blackraider has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #96483 → python3.pkgs.pyexcel: init at 0.6.4 → https://git.io/JUI3U
<{^_^}> [nixpkgs] @jonringer pushed 5 commits to master: https://git.io/JUL5b
endformationage has joined #nixos
domogled1 has joined #nixos
domogled has quit [Quit: domogled]
domogled1 is now known as domogled
<{^_^}> [nixpkgs] @jonringer merged pull request #96577 → python27Packages.splinter: 0.13.0 -> 0.14.0 → https://git.io/JUL83
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.splinter: 0.13.0 -> 0.14.0 »: https://git.io/JUL5N
lordcirth__ has joined #nixos
Blackraider has joined #nixos
domogled has quit [Read error: Connection reset by peer]
Yaniel has quit [Ping timeout: 264 seconds]
lordcirth_ has quit [Ping timeout: 240 seconds]
Blackraider has quit [Client Quit]
<{^_^}> [nixpkgs] @jonringer pushed 74 commits to python-unstable: https://git.io/JULdv
fzakaria[m] is now known as fzakaria
Blackraider has joined #nixos
<{^_^}> [nixpkgs] @edef1c merged pull request #96589 → `nixos-rebuild edit` improvements → https://git.io/JULaG
<{^_^}> [nixpkgs] @edef1c pushed 3 commits to master: https://git.io/JULdk
Yaniel has joined #nixos
fzakaria has quit [Quit: authenticating]
fzakaria has joined #nixos
aleph- has quit [Ping timeout: 256 seconds]
nixos_newb has joined #nixos
<fzakaria> ok
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @danieldk merged pull request #96537 → dot-http: init at 0.2.0 → https://git.io/JUIbB
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JULdg
<nixos_newb> Hello all. Do not know if this is the correct place to ask for help, please tell me if there is another place more adequate.
<symphorien[m]> Don't ask to ask ;)
<nixos_newb> I am suffering with the issue described here: https://github.com/NixOS/nixpkgs/issues/45039 . I am trying to use qtile with additional python packages. I am having trouble in adding them.
<{^_^}> #45039 (by Melkor333, 2 years ago, open): Qtile missing optional python modules
MtotheM has joined #nixos
<nixos_newb> The issue is still open, I am willing to make a "hack" solution while it this issue is not solved.
Blackraider has quit [Remote host closed the connection]
KarlJoad has joined #nixos
KarlJoad has left #nixos [#nixos]
<nixos_newb> On the issue, there some code on the last comment. I am not sure if that was suppose to solve the issue. Even so, I have no idea to where should I plug in that code.
<{^_^}> [nixpkgs] @SCOTT-HAMILTON opened pull request #96624 → python-keystoneclient: Init at 4.1.0 (+ all openstack dependencies) → https://git.io/JULdA
<symphorien[m]> you can put overlays at various places depending on where you need it
<fzakaria> is there a way to hide seeing messages from {^_^}:
aveltras has joined #nixos
<symphorien[m]> if you "install" qtile with /etc/nixos/configuration.nix you must put your overlay in this option: https://search.nixos.org/options?show=nixpkgs.overlays&query=nixpkgs.overlays&from=0&size=15&sort=relevance&channel=unstable
<symphorien[m]> fzakaria: /ignore {^_^} on irc
<fzakaria> the github PR messages are too spammy
<fzakaria> oh thanks
<fzakaria> hmm; can i do those commands from the matrix bridge O.o
<nixos_newb> oh thanks a lot symphorien, I will take a look on that
<symphorien[m]> matrix probably has a built-in way to do this, but I don't know
<{^_^}> [nixpkgs] @jonringer pushed to python-unstable « python3Packages.paramiko: fix build with cryptography>=3.1 »: https://git.io/JULFL
<aveltras> is there a way to get something like the following working ? i'd like to specify the binary cache on the fly
<fzakaria> yea i couldn't do the command but there was a matrix way; thanks @sym
<fzakaria> * yea i couldn't do the command but there was a matrix way; thanks symphorien
<aveltras> something like "config-switch-local mybinarycacheaddresshere"
<aveltras> right now this returns "/run/current-system/sw/bin/nixos-rebuild: unknown option `clevo-n141zu'"
<aveltras> the part not working is the $@ obviouslyt
<symphorien[m]> > * yea i couldn't do the command but there was a matrix way; thanks symphorien
<symphorien[m]> I'm curious what it was
<{^_^}> error: syntax error, unexpected '*', at (string):321:1
<{^_^}> [nixpkgs] @prusnak opened pull request #96625 → electrum: use dnspython 1.x → https://git.io/JULFZ
<{^_^}> [nixpkgs] @prusnak closed pull request #96596 → dnspython: reintroduce version 1.16.0, fix electrum build → https://git.io/JUL6z
kreyren has joined #nixos
cosimone has quit [Quit: Quit.]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e021b8eea9a (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
is_null has joined #nixos
<{^_^}> [nixpkgs] @Chili-Man closed pull request #92753 → eksctl: 0.22.0 --> 0.23.0 → https://git.io/JJq7J
<fzakaria> I clicked on the user and there was an "ignore" button.
<infinisil> fzakaria: I guess matrix can't distinguish between normal messages and notices
<infinisil> Because things like this qre quite nice:
<infinisil> ,locate bin gcc
<{^_^}> Found in packages: gcc, gcj, gcc6, gcc7, gcc8, gcc9, gcc48, gcc49, gccgo, gfortran, gcc_debug, gcc_multi, gfortran6, gfortran7, gfortran8, gfortran48, gfortran49, ccacheWrapper, distccWrapper, gcc-unwrapped, distccMasquerade
<infinisil> All non-notice messages are initiated by users, like above command
cosimone has joined #nixos
is_null has quit [Ping timeout: 240 seconds]
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
spudly has quit [Ping timeout: 246 seconds]
spudly- is now known as spudly
tsrt^ has quit []
aleph- has joined #nixos
dsg_ has joined #nixos
dsg has quit [Read error: Connection reset by peer]
cole-h has joined #nixos
Guest21769 has quit [Remote host closed the connection]
growpotkin has joined #nixos
Amanda has joined #nixos
Amanda is now known as Guest19238
<{^_^}> [nixpkgs] @saschagrunert opened pull request #96626 → audit: add patch to allow 0555 permissions → https://git.io/JULNO
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixos-search] @garbas pushed to fix-156 « reverse the importance of query words and fields »: https://git.io/JULNW
<evanjs> ldd result/bin/extract-update-rs -> statically linked :D
<evanjs> nbathum: ^ lol
typedeph has joined #nixos
<typedeph> where should I ask for help/tips on a NixOS install?
<Extends> here lol
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @tnias opened pull request #96627 → fractal: add gtk support to gstreamer → https://git.io/JULN9
<evanjs> "access("/etc/ld-nix.so.preload", R_OK) = -1 ENOENT (No such file or directory)"
<evanjs> Guess there are other problems now, though XD
zupo has joined #nixos
<typedeph> alright, I'm on the 2020 spectre 13t trying to boot but I keep hitting a -- "usci_acpi USBC000:00: PPM init failed (-110)" timeout failure. I've tried adding nixos-hardware's common/laptop and common/cpu/intel expressions to my configuration.nix but have made no progress. I'm pretty green to debugging kernel issues, any tips on how to investigate
<typedeph> what kernel params/modules I should try activating?
<bbigras> Wasn't there a script to tell me all the packages that I maintain that are outdated?
typedeph has quit [Remote host closed the connection]
typedeph has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed 14 commits to python-unstable: https://git.io/JULAG
<{^_^}> [nixpkgs] @risicle opened pull request #96628 → pythonPackages.pint: add missing dependencies → https://git.io/JULAZ
<Extends> typedeph: seems to be an issue with your touchpad ? try to disable it, booting and see if it works
nixos_newb has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @prusnak opened pull request #96629 → i2pd: 2.32.1 -> 2.33.0 → https://git.io/JULAE
<{^_^}> [nixpkgs] @Ma27 merged pull request #96623 → nixpkgs-review: 2.3.1 -> 2.4.0 → https://git.io/JUL5r
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JULAw
<typedeph> Extends assuming you mean commenting out "services.xserver.libinput.enable" in configuration.nix
<Extends> yes
quinn has joined #nixos
<yurb> anybody using Tor Browser on NixOS?
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to python-unstable: https://git.io/JULAF
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e4dfce385a2 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<typedeph> tried disabling the option in configuration.nix but it did not generate a new generation on "nixos-install"
<typedeph> thus I'm not too surprised nothing changed
<typedeph> Extends
<{^_^}> [nixpkgs] @jonringer merged pull request #96551 → python3Packages.deepdiff: fix by adding mmh3 dependency → https://git.io/JULUL
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JULAp
<Extends> typedeph: you generate a new generation using nixos-rebuild
Kritnich has quit [Quit: Bye bye.]
<Extends> nixos-rebuild switch if you want to switch to the generation, nixos-rebuild boot the boot into the next generation the next time, build if you want to build your system in a result folder without activating it nor seeing it in grub, and test to build / activating it but not adding it to grub
<typedeph> I'm trying explicitly setting it to false to see if nixos-install creates a generation
<typedeph> originally I just commented it out
<typedeph> seems to have done the trick
<typedeph> I'll try rebuild because perhaps install doesn't rebuild though?
<Extends> nixos-install installs nixos in the FS mounted on /mnt
<typedeph> still get the same issue after the generating a new generation by the way
<Extends> maybe related to your drivers / your kernel version
<typedeph> kernel is 5.4.61
<typedeph> I thought it was drivers also
<typedeph> either that or a USBC kernel module that I don't have activated
<typedeph> this is why I tried using the intel expressions but I might some other secret sauce since I'm using ice lake intel architecture
typedeph has quit [Remote host closed the connection]
typedeph has joined #nixos
<typedeph> to be wholly fair I get this same issue popping up when I boot the nixos live stick but it doesn't attempt to time out
Kritnich has joined #nixos
<typedeph> perhaps I should mention that I get two errors before this that seem to be ignored
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to python-unstable: https://git.io/JULx2
<Extends> seems to be a consensus around it being a hardware compatibility issue
<typedeph> "tpm tpm0: tpm_try_transmit: send(); error -5"
<typedeph> "tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead"
<typedeph> then I also get an intel-spi thing "intel-spi 0000:00:if.5: error -22 reading CR" error reading configuration register and fails to clear block protection bits
<Extends> concerning intel-spi you can blacklist it
<{^_^}> [nixpkgs] @TethysSvensson opened pull request #96630 → zathura: symlinkJoin all of plugins → https://git.io/JULx9
<Extends> and for tpm you might need to load the driver
<{^_^}> [nixpkgs] @petabyteboy merged pull request #96279 → firefox-bin: 79.0 -> 80.0 → https://git.io/JUUa4
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @Atemu to master « firefox-bin: 79.0 -> 80.0 (#96279) »: https://git.io/JULxN
TethysSvensson has joined #nixos
TethysSvensson has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @wahjava opened pull request #96631 → nixos/unbound: add couple of options → https://git.io/JULpO
nixos_newbie has joined #nixos
<{^_^}> [nixpkgs] @Zopieux opened pull request #96632 → Improut → https://git.io/JULps
<typedeph> unfortunately not as easy as just adding tpm to kernel modules
<typedeph> both of those issues the more I look into them seem to be minor
alter2000 has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/f9c44932884 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
sascha has joined #nixos
sascha is now known as Guest20332
Guest20332 has quit [Client Quit]
<fzakaria> infinisil: how do i see what the bot supports ?
<fzakaria> That a bummer; nix-locate through the bot sounds cool :)
<fzakaria> Maybe i'll give legit IRC a chance instead; but i like the persistence of Matrix.
<Extends> typedeph: they are indeed
<nixos_newbie> Hey, is it possible from inside nixos to browse the derivations of a package? Is it stored locally or it is all on a remote git repository?
<Extends> browsing the derivations ? something like nix edit nixpkgs.package ?
<nixos_newbie> exactly, great
dottedmag has left #nixos [#nixos]
<nixos_newbie> on my configuration.nix, I am trying to overlay a package. It is not working as I intended. Is there a easy way to debug this? For instance, I would like "see" what the attribute evaluates to.
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8ad3199368c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<pie_> nixos_newbie: its not exactly trivial but its not hard if you know what youre doing (the "know what youre doing" is doing a lot of work there...); you can use `nix repl`
<pie_> but im too distracted to actually walk you through it right now
<nixos_newbie> thanks, I'll take a look
<pie_> oh wait
<pie_> configuration
<pie_> i thought you were talking about packages
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8ad3199368c (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<pie_> you cando it with configuratin too, but id you dont do weird messing with your NIX_PATH like i do (and leave it broken like i do), you can use the nixos-configuration tool or something like that, to get the attributes
<pie_> it also has tab completion+
<pie_> !
<pie_> *its called nixos-option
<pie_> oh but you are doing package overlays (im distracted)
redji12 has quit [Remote host closed the connection]
<nixos_newbie> Well, I want to do a package overlay. I want to add a few python libraries to qtile.
<nixos_newbie> So I added this to my configuration.nix:
<nixos_newbie> nixpkgs.overlays = [ (self: super: { qtile = super.qtile.overrideAttrs(oldAttrs: { pythonPath = oldAttrs.pythonPath ++ (with self.python37Packages; [ psutil dbus-python pyxdg mpd2 dateutil keyring ]); }); }) ];
<pie_> you can manually apply an overlay by doing:
<pie_> > let ov = (self: super: { myvalue = 2; }); in (import <nixpkgs> { overlays = [ ov ]; }).myvalue
<{^_^}> 2
<pie_> if you are able to read that.
davidv7 has quit [Ping timeout: 240 seconds]
davidv7 has joined #nixos
<pie_> so you can test overlays in nix repl by just running a similar line to that (or doing it in a file and importing the file in the replÖ)
<pie_> i dont really know my way around the python infrastructure but I dont see any immediate issue with what you pasted.
<pie_> are you sure qtile.overrideAttrs takes the pythonPath argument?
<pie_> is it not overridePython or something?
<Extends> it does
<pie_> I dont know.
<pie_> ok
<{^_^}> [nixpkgs] @htr opened pull request #96634 → gospider: init at 1.1.2 → https://git.io/JULhc
<nixos_newbie> I just wanted to make sure I was overriding the thing I think I am overriding
<pie_> also nix repl is kinda weird and you might have to reload the repl after making changes, im not sure
<pie_> you usually need to reload it when it caches an error or something
<pie_> nixos_newbie: yeah being able to poke at the thing can be pretty helpful. the repl is probably less roundabout than doing a system rebuild
<pie_> nixos_newbie: also everything "compiles down to" derivations, so you should get used to debugging by loooking at those if necessary
<pie_> you can view the contents of a drv with `nix show-derivation some_path_goes_here`
<nixos_newbie> thanks for the directions pie_
<pie_> sorry if im dumping too mcuh on you :) theres a lot of stuff
* pie_ should really get around to writing those How To Debug XYZ guides...
<nixos_newbie> yeah, I noticed, using this only for a week now
eoli3n_ has quit [Ping timeout: 256 seconds]
<pie_> theres a lot of quirks and stuff but...its very good, just gotta wait for the stockholm syndrome to kick in ;P
<pie_> (or if you have certain preferences for system design...)
<pie_> nixos_newbie: a lot of stuff is really a "nixpkgs as a library" thing so theres going to be a lot of things you are learning that are like, misc library stuff
<nixos_newbie> when I run nix show-derivations nixpkgs.qtile, what I see has my overlay applied to it?
Darkmatter66_ has quit [Ping timeout: 240 seconds]
<pie_> does that work with attributes?
<pie_> didnt know that
<pie_> if you use it in that form its probably going to be using whatever you have set in NIX_PATH
<Extends> nixos_newbie: your overlay looks good to me.
<pie_> and imnot sure offhand actually if the system config overlays apply when you run stuff like that
<{^_^}> [nixpkgs] @htr opened pull request #96636 → ffuf: init at 1.1.0 → https://git.io/JULhP
<pie_> i would guess that it doesnt
<pie_> youll want to nix-build an expression that applies the overlay and gives you a derivation
<pie_> then give that derivation to nix show-derivation
<pie_> well
<nixos_newbie> It is not showing on "pythonPath" when I run show-derivation
<pie_> if it evaluates stuff like that you might just be able to do nix show-derivation "import ./whatever.nix" but ive never seen that
<nixos_newbie> only the "stock" values
<Guest19238> ls
<pie_> its also a question of whether youre looking at the right derivation, but asuming you are...youre probably looking at one without the overlay applied
<nixos_newbie> "nix show-derivation nixpkgs.qtile"
<pie_> yeah I said I dont think that has the overlay applied
<pie_> nixpkgs is just going to be referring to the nixpkgs you ahve set in NIX_PATH i think
<nixos_newbie> yeah, thanks for the help you all
metreo has quit [Quit: Leaving.]
<jlv> How do I add a man page to a Nix package? Also, what about shell completion files?
<pie_> nixos_newbie: nix show-derivation "(import <nixpkgs> {}).hello"
<pie_> modify as appropriat
<fzakaria> I'll stick with Matrix for now I guess.
<fzakaria> infinisil eh; too much work to setup a irssi or quassel server :)
<fzakaria> There's discussions of bringing https://github.com/Infinisil/nixbot to discord
Darkmatter66 has joined #nixos
typedeph has quit [Remote host closed the connection]
typedeph has joined #nixos
<bbigras> Why don't we join irc, matrix and discord together with bridge/bots?
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JULhd
<bbigras> maybe the problem is that discord has many rooms. probably
<{^_^}> [nixpkgs] @fooker opened pull request #96637 → concourse-bin: init at 6.5.1 → https://git.io/JULjT
alter2000 has quit [Ping timeout: 240 seconds]
<Extends> jlv: there is a project that is willing to implement auto completion on nix
<Extends> bbigras: it should be possible, nix-community is already bridged, but there might be reasons not to do it
<bbigras> <Extends "bbigras: it should be possible, "> thanks
<fzakaria> the bridge is not as nice on Discord as it is on Matrix i'll admit.
nixos_newbie has quit [Ping timeout: 245 seconds]
<bbigras> ah probably. all msgs are posted from a bot? so you can't really tag people?
<Extends> ye
aveltras has quit [Quit: Connection closed for inactivity]
<fzakaria> ok i'll shutup now.
<fzakaria> Please hold off the rotten vegetables.
<bbigras> I think the more people that would use open source tools, those tools will get better. they would get more funding, more bug report (and feature request), more PRs, more servers in matrix's case.
<bbigras> matrix has video stream with jitsi I'm pretty sure.
<bbigras> I know people really like those 1 click voice-chat rooms in Discord
<arianvp> is there a history somewhere why/when callPackage got introduced
<arianvp> ?
alter2000 has joined #nixos
<{^_^}> [nixpkgs] @kfollesdal opened pull request #96638 → databricks-connect: init at 7.1.0 → https://git.io/JULj5
cole-h has quit [Quit: Goodbye]
zupo_ has joined #nixos
zupo has quit [Ping timeout: 240 seconds]
<samueldr> the experience of bridged irc<->discord *as currently implemented* is so terrible it's not worth the headache... if it was implemented with per-user irc connection/presence it would be fine though
<samueldr> I don't know how it looks on the other side, but I figure similar issues
<samueldr> there's a channel I'm on where I don't participate much because it's "all protocols" bridged together using this hacky solution of a bot that relays, even matrix
Church- has joined #nixos
<samueldr> I'm not even really concerned about the closed-source issues of discord in that instance, though I am personally
aleph- has quit [Ping timeout: 246 seconds]
<jlv> Extends: I mean, show do I add man pages and completion files to a Nix package I am writing, so they will be properly installed when the package is installed.
<samueldr> jlv: if you grep for "man/" and "share/bash-completion" under pkgs/ it should show a bunch of different methods
<{^_^}> [nixpkgs] @xfix opened pull request #96639 → nixos/availableKernelModules: add microsoft hid → https://git.io/JUteO
<samueldr> there is not really an idiomatic manner all across nixpkgs, but there might be a more idiomatic one for the particular kind of package (e.g. haskell, python)
typedeph has quit [Remote host closed the connection]
<jlv> samueldr: it looks like you can add to $out/share/man/man1 , and I think there is something you can do with a `man` output. I wasn't sure if there was a recommended, or canonical, way of doing it.
<samueldr> usually the installPhase handles it if the package's own installation instructions (e.g. make install) does
<samueldr> since generally it installs to $PREFIX and it's handled for you, but sometimes upstream packaging isn't done right :)
<jlv> samueldr: in this case, I'm actually making the program directly as a Nix package, so there is no upstream packaging.
<samueldr> I see, though it doesn't mean you can't have it done through a Makefile :)
<samueldr> though yeah, nothing idiomatic or specialized, it's basically putting the files at the right location
<jlv> I with the nixpkgs manual was better about stuff like this. It would help the advice new users and keep the nixpkgs repository consistent.
<jlv> Most of my Nix and nixpkgs knowledge comes from looking at the nixpkgs repository, but I don't know if I'm looking at something out of date, or the "wrong" way of doing something.
<bbigras> "fzakaria" (https://matrix.to/#/@fzakaria:matrix.org): you can share your screen with jitsi so I'm pretty sure it works for matrix. But fair enough. Whatever work for you.
gv has quit [Remote host closed the connection]
gv has joined #nixos
gv has quit [Remote host closed the connection]
gv has joined #nixos
<{^_^}> [nixpkgs] @catern opened pull request #96640 → python37: 3.7.8 -> 3.7.9 → https://git.io/JUtvv
tsrt^ has joined #nixos
kreyren_ has joined #nixos
<{^_^}> [nixpkgs] @zimbatm opened pull request #96641 → nixos: Data module imports → https://git.io/JUtv3
gv has quit [Remote host closed the connection]
gv has joined #nixos
kreyren has quit [Ping timeout: 240 seconds]
gv has quit [Remote host closed the connection]
gv has joined #nixos
gv has quit [Remote host closed the connection]
gv has joined #nixos
<samueldr> fzakaria: just to show how bridges sometimes can be totally lossy, or wreak havoc, here's your last few lines from matrix, all bundled behind a link https://logs.nix.samueldr.com/nixos/2020-08-29#3921288;
eoli3n_ has joined #nixos
<samueldr> (so no notifying on the other side of the bridge :()
<fzakaria> ew
<fzakaria> okay i got to get off matrix.
<samueldr> at the very least *knowing* about it means you can preface the message with a useful line :)
alter2000 has quit [Ping timeout: 240 seconds]
<jlv> Is there an easy way to enter a shell with a default.nix as an installed package, as opposed to a development environment? Like when you run `nix-shell -p`.
fzakaria is now known as Guest70816
Guest70816 has quit [Killed (cherryh.freenode.net (Nickname regained by services))]
Guest70816 has joined #nixos
fzakaria has joined #nixos
<fzakaria> okay i'm on HexChat for now :( I'll figure out something more useful later. I've been thinking of finally getting NixOS on an AWS machine; wanting to run some bouncer or something might make the final push
<rednaZ[m]> I want to install a software which instructs me to run `nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command`. I would like to use declarative package management in configuration.nix.
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JUtfl
<rednaZ[m]> My first idea is to create a channel pointing to https://github.com/obsidiansystems/obelisk/archive/master.tar.gz .
<catern> jlv: not sure what you mean by "as an installed package" - what's the difference? install packages don't usually change environment variables or anything, they just show up on PATH
<rednaZ[m]> Then I realized that I do not know how NixOS decides which channel to bind to the pkgs parameter in configuration.nix.
<bbigras> rednaZ: I use niv for that
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « wireguard-tools: 1.0.20200820 -> 1.0.20200827 »: https://git.io/JUtfE
<jlv> catern: for example. If my Nix script produces `$out/bin/foo`, and I enter a `nix-shell`, I cannot run `foo` or `man foo`, etc. I'm trying to test that man pages and shell completion files are installed correctly. `nix-shell` doesn't add the result of a Nix script to path, only the dependencies.
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
thblt has left #nixos ["ERC (IRC client for Emacs 27.1)"]
pbb has joined #nixos
<rednaZ[m]> So how does NixOS decide which channel to bind to the pkgs parameter in configuration.nix?
<rednaZ[m]> Or does it merge all the root user's channels?
<catern> jlv: ah I see... you could do `nix run -f default.nix` maybe
<samueldr> by default, the nix channel named `nixos` in root's (the system's) channels, rednaZ[m]
<catern> jlv: oh, or I guess just `nix run` does that, great
<rednaZ[m]> Oh, so that is hard-coded.
<samueldr> not really
<samueldr> it's an assumption that's soft-coded, let's say
<jlv> catern: oh. Nice :) I was trying to do it with `nix-shell` to little success.
Blackraider has joined #nixos
Blackraider has quit [Remote host closed the connection]
<catern> samueldr: configuration.nix is just a default - there's a Nix command somewhere in Nixpkgs which does a `nix-build configuration.nix` with a few other details specified, but you can also run that Nix command manually yourself against your configuration.nix or against any other .nix file
<samueldr> catern: rednaZ[m] is the one that asked
<samueldr> I know how it acts, but thanks
<catern> sorry I meant to direct that at hime
<samueldr> no worries
<catern> jlv: that should suffice for man pages (manpages are automatically picked up based on PATH), shell completion files are a bit trickier, I don't really know how they work
<samueldr> https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/tools/nixos-rebuild.sh all <nixpkgs/nixos> end up referring to that nixos channel according to the default assumptions about how NIX_PATH is set
<rednaZ[m]> Would it not be nice to be able to have multiple parameters to refer to different channels in configuration.nix?
<bbigras> I thought you could. I think I was using stable with some packages from unstable at some point.
<samueldr> in some ways, with flakes, it'll be more like that, though you already can import other channels with the <...> syntax, as long as they end up being present on NIX_PATH when rebuilding
<samueldr> channels are an abstraction over managing the contents of NIX_PATH
<samueldr> over managing the contents _of directories found in NIX_PATH_, to be more precise
<rednaZ[m]> I heard a lot of criticism of relying on environment variables.
<samueldr> when you're using channels you end up doing just that :) but NIX_PATH is not strictly environment variables
<samueldr> most (all?) nix-provided commands also take -I to change NIX_PATH entries
<samueldr> though yeah, flakes end up changing the rules a bunch about all that
<catern> rednaZ[m]: well, it doesn't have to rely on environment variables, that's just how nixos-rebuild works by default, but you can use, e.g., files and relative paths to specify things, or use -I args as samueldr says
<rednaZ[m]> I was not aware that I use environment variables even when I avoid the <...> syntax.
<{^_^}> [nixpkgs] @FRidh merged pull request #96625 → electrum: use dnspython 1.x → https://git.io/JULFZ
<{^_^}> [nixpkgs] @FRidh pushed commit from @prusnak to master « electrum: use dnspython 1.x »: https://git.io/JUtJ3
<{^_^}> [nixpkgs] @Ma27 pushed to master « feh: 3.4.1 -> 3.5 »: https://git.io/JUtJc
fendor has quit [Ping timeout: 264 seconds]
fendor has joined #nixos
<rednaZ[m]> I think people criticize environment variables because it makes it harder to track the state of the system because environment variables are not part of configuration.nix. I have just realized that I already have this problem as soon as I choose to create a new channel because they are not part of configuration.nix either.
<samueldr> good thinking there, and you're AFAIUI totally right in that understanding
<catern> it's true but you can also just pin things directly in your configuration.nix - this is why channels are terrible anyway :)
<{^_^}> [nixpkgs] @teto closed pull request #49141 → zathura: symlinkJoin all plugins → https://git.io/fxS36
<infinisil> catern: Actually you can't fully
<infinisil> configuration.nix can't specify the nixpkgs it should be evaluated with
<V> it can if you use fetchTarball ;)
<Extends> using something like this would work without flakes / niv, and works pretty well https://github.com/DeltaEvo/nixos-configs/blob/master/channels.nix
<catern> infinisil: well, you can always do the underlying nix-build yourself - I admit I'm surprised, though, if there's not a more convenient way than that, is that really the case?
<infinisil> V: Even then it can't
<infinisil> catern: Yeah, you need something outside of configuration.nix to specify the nixpkgs
<samueldr> so you end up having your own tooling that does the equivalent, but with your specific way to pin
<catern> infinisil: yeah I agree and see what you mean - what's the easy way to do that though? (I don't use NixOS that heavily)
<V> or you just keep nixpkgs in a git repo
<V> much simpler
<infinisil> V: You still need to pass its path to nixos-rebuild somehow
<samueldr> V: it still relies on NIX_PATH through nixos-rebuild
<V> no, that part isn't pinned in configuration.nix
<catern> Extends: how do you compose that together with your configuration.nix?
<infinisil> I personally use my own deployment system, which supports a config like `{ nodes.foo = { nixpkgs = fetchTarball { ... }; configuration = { ... }; }; }`: https://github.com/Infinisil/nixus
<samueldr> ah, then you have a part that's not pinned in configuration.nix, circling back to the problem that's attempted at being solved
<samueldr> I just don't care as much and use a nixpkgs tarball download that's lightly tracked in my config, but not actually tracked hermetically
<V> configuration.nix/nixos-rebuild kind of suck, anyway
<Extends> catern: what do you mean ?
<V> they're only really good for simple stuff, or where you don't care about pinning
<catern> infinisil: that's tragic! I would have thought that there's a /etc/nixos/nixpkgs.nix or something that nixos-rebuild could pick up
<infinisil> That might be a good way to resolve it :)
<V> Currently there's the Nix path which exists as state passed in from the previous build
<V> And I really don't like that
<V> (which you can optionally override, add to, etc)
<samueldr> all of this AFAIUI is being solved through flakes, no?
<V> Aren't flakes still experimental?
<samueldr> yes
<samueldr> thus *being* and not *are* :)
<V> ah
<samueldr> such a radical departure is bound to take some time
<V> From what I've seen of them so far I don't really like them all that much
<V> But maybe I'll get used to them, who knows
<infinisil> V: Why not?
<V> Or maybe it's just because it's very new
<V> Don't remember, it's been months
<samueldr> there's been changes in the last few months, and possibly more changes to come
<V> Ah
<samueldr> and it's a couple of implementation details being bundled together
<V> Last I saw of them I think they were extremely verbose
<samueldr> though I'm no flake buff, so I couldn't say for sure how much it changed
<V> But I also really don't remember too well, and I'm rather tired rn on top of that
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b12ca077c01 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Extends> V: they aren't really verbose, you just need 10 lines or so to build your system using flakes
<catern> I dislike flakes for the same reason I dislike channels, but since flakes will replace channels with something better, it's not that big of a deal
<{^_^}> [nixos-search] @garbas pushed to fix-156 « this is a query rewrite with multi_match queries »: https://git.io/JUtUY
<infinisil> catern: The reason being?
<V> I explicitly do not use channels, except in as much as I use the git branch tracking nixos-unstable
<catern> infinisil: it's a versioning and dependency system that exists outside of Nix
<infinisil> catern: And why is that a bad thing?
<infinisil> (is it a bad thing?)
<{^_^}> [nixpkgs] @ryantm merged pull request #96615 → sagittarius-scheme: 0.9.6 -> 0.9.7 → https://git.io/JULyb
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JUtUs
<{^_^}> [nixpkgs] @ehmry merged pull request #96388 → somafm-cli: init at 0.3.1 → https://git.io/JUkCz
<{^_^}> [nixpkgs] @ehmry pushed commit from @SuperSandro2000 to master « somafm-cli: init at 0.3.1 »: https://git.io/JUtUZ
<catern> infinisil: like most non-Nix versioning and dependency systems, it breaks all the nice reproducibility guarantees of Nix alone
<infinisil> But it doesn't, because flakes are locked to specific versions
<V> I use plain git because I have actual history of which nixpkgs I'm using, and because I can modify nixpkgs internals that cannot be reasonably modified using overlays
<catern> infinisil: but it does, because flakes are (IIUC) local to your machine and external to your Nix expressions
<catern> V: yes, same
<MtotheM> Is there a guide for how to build a NixOS container? since there is no offical image for it (only nix the package manager)
<samueldr> AFAIUI the registry is external, but the dependencies are quite specificly tied to a commit
<infinisil> catern: Define "local to your machine"
<V> You get nix channel generations but that doesn't let you pin your nixpkgs to an exact commit
<V> or bisect it
<V> or ...
<V> So you lose a lot of the power that just git would give you
lunik1 has quit [Read error: Connection reset by peer]
sseveran has quit [Remote host closed the connection]
<V> The only thing I actually depend on channels for is the command-not-found sqlite db
<V> Which I just grab seperately
<V> Other than that, I do not have channels on my system
lunik1 has joined #nixos
<V> I have actually ripped out a decent chunk of channel-related stuff from my local nix
<catern> infinisil: well, I don't know exactly the flake mechanisms, but for channels I'm sure you know what I mean - <nixpkgs> is different on different machines. my impression is that flakes is supposed to provide a similar kind of mechanism - which is fine for some users, I suppose, but I'm saying why I don't like it and don't recommend using it
<infinisil> catern: Not the case
<infinisil> The flakes.nix + flakes.lock file pins all inputs for your expressions
<infinisil> Combined with flakes using pure evaluation, it makes evaluation completely reproducible
<Extends> V: which channel do you use for the command-not-found please ?
<infinisil> Which is not the case otherwise
<V> Extends:
<V> programs.command-not-found.dbPath =
<V> "${fetchTarball "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"}/programs.sqlite";
<V> it's a hack
<Extends> thanks!
<V> it's also impure
<Extends> ye i see that
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<catern> infinisil: so if flakes are pinned, what's the benefit over a conventional pinned.nix?
<V> But since we're just looking for where commands are located, and I ~roughly follow nixos-unstable, I'm pretty much guaranteed that command-not-found output will be correct
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> catern: What is a pinned.nix? Just a bunch of fetchTarballs?
<catern> infinisil: yes
stigo has quit [Ping timeout: 246 seconds]
<catern> more specifically, what's the benefit that requires a change in interface
<infinisil> For one, updating the versions of things
<infinisil> Flakes will be able to take over what https://github.com/nmattia/niv currently does
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<catern> sure, but there's already plenty of tooling like that, which does what is really a very simple job, and currently is able to exist outside the Nix core
stigo has joined #nixos
<infinisil> In addition, flakes are required to evaluate with pure eval mode, which in turn allows their evaluation to be cached
<catern> plus we won't fully remove the need for such tools - we'll still need to be able to update fetchTarball calls in Nixpkgs for example
<infinisil> Meaning, people using flakes for their configuration.nix have much faster eval
<{^_^}> [nixos-search] @garbas pushed to fix-156 « increase search result size »: https://git.io/JUtUH
hyper_ch_ has quit [Quit: ZNC 1.8.1 - https://znc.in]
<infinisil> catern: There are no fetchTarball's in nixpkgs
hyper_ch has joined #nixos
<catern> sure sure the equivalent fetch* calls
<infinisil> Oh these yeah, but that's something different.
<infinisil> Flakes is about fetching Nix code
<{^_^}> [nixpkgs] @Profpatsch merged pull request #96569 → gonic: init at 0.11.0 → https://git.io/JULsG
<{^_^}> [nixpkgs] @Profpatsch pushed to master « gonic: init at 0.11.0 »: https://git.io/JUtUd
<infinisil> Needed for evaluation
<infinisil> pkgs.fetchurl and such is for derivation sources, only required during build time
<catern> sure, I'm just saying that we still need to be able to programmatically edit Nix files and do updates, which is basically exactly the same tooling needed to update a pinned nixpkgs
<catern> and it seems to me that evaluation caching could be implemented without flakes, there was certainly talk about it before flakes
<infinisil> I personally am not an expert in flakes, so I can't tell you everything about it
<catern> but shrug, I trust niksnut knows what he is doing, it just seems like additional stuff, but even if it's bad it can just go the way of the, like, one click links to install packages that are on Hydra :)
<infinisil> I know that it's not only flakes that are being developed, but many other improvements as well
<infinisil> Which I think was one of the reasons that flakes is already in Nix master (so the branches don't go too astray)
<infinisil> So I think there's a whole bunch more to it than I know
metreo has joined #nixos
<{^_^}> [nixos-search] @garbas pushed to fix-156 « fuzzy fuzziness »: https://git.io/JUtTm
<{^_^}> [nixos-search] @garbas pushed to fix-156 « 4 -> 5 »: https://git.io/JUtTY
shibboleth has quit [Quit: shibboleth]
footlooseboss has joined #nixos
footlooseboss has left #nixos [#nixos]
footlooseboss has joined #nixos
footlooseboss has quit [Client Quit]
sangoma has quit [Ping timeout: 240 seconds]
arjen-jonathan has quit [Ping timeout: 246 seconds]
footlooseboss has joined #nixos
<energizer> how do i list requisites of a nix-shell?
Extends has quit [Remote host closed the connection]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1fb95d956cc (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
fendor has quit [Remote host closed the connection]
footlooseboss has quit [Quit: Textual IRC Client: www.textualapp.com]
footlooseboss has joined #nixos
jankloogi[m] has joined #nixos
cr4y1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-search] @garbas merged pull request #168 → rework ranking queries → https://git.io/JULYt
<{^_^}> [nixos-search] @garbas pushed to master « rework ranking queries (#168) »: https://git.io/JUtIa
<{^_^}> [nixos-search] @garbas pushed 0 commits to fix-156: https://git.io/JUtIw
cosimone has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #96643 → somafm-cli: set platforms to platforms.all → https://git.io/JUtID
euandreh has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1fb95d956cc (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> [nixos-search] @garbas pushed to fix-171 « using whitespace analyzer and not the default one »: https://git.io/JUtLU
<{^_^}> [nixos-search] @garbas opened pull request #172 → using whitespace analyzer and not the default one → https://git.io/JUtLL
<{^_^}> [nixpkgs] @jtojnar pushed to master « pyexcel-xls: 0.5.8 → 0.5.9 »: https://git.io/JUtLm
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #96644 → rustscan: set platform to platforms.all → https://git.io/JUtLS
ddellacosta has quit [Quit: WeeChat 2.8]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @zowoq closed pull request #96644 → rustscan: set platform to platforms.all → https://git.io/JUtLS
footlooseboss has quit [Quit: Textual IRC Client: www.textualapp.com]
eoli3n_ has quit [Ping timeout: 240 seconds]
bloodyfish[m] has joined #nixos
<bloodyfish[m]> hi
shibboleth has joined #nixos
<bloodyfish[m]> i am trying to get lutris working and it gives me an error to download vulkan lib
<bloodyfish[m]> *
<bloodyfish[m]> anyone know how to fix lutris missing vulkan libs?
t420babe has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg pushed to u/puddletag « puddletag: 1.2.0 -> 2.0.1 »: https://git.io/JUtti
<{^_^}> [nixpkgs] @peterhoeg opened pull request #96645 → puddletag: 1.2.0 -> 2.0.1 → https://git.io/JUttP
<daddy_james[m]> Looking for lutris fix too
kreyren_ has quit [Ping timeout: 240 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<bbigras> bloodyfish: did you try to play anyway?
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm has joined #nixos