gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<adamt> Has anybody had success with booting the plain netboot-media? (the ones generated using `nix-build -A netboot.x86_64-linux ./nixos/release.nix`)
<adamt> When I try it on a KVM guest i get a kernel panic: "not syncing: VFS: Unable to mount root fs on unknown-block(0,0)"
<adamt> Seems like it's either trying to mount something wrong, or failing at mounting the fs inside the initrd image
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/bc309f5c57e (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<Dezgeg> did you give it the initrd?
joehh1 has quit [Ping timeout: 260 seconds]
<adamt> Dezgeg: Yes, i used the generated netboot.ipxe, and ipxe appeared to load it
<Dezgeg> hmm
<adamt> (it would be easier to debug if nixos had prebuilt netboot media, so i didn't have to worry about the build-process :p)
<{^_^}> [nix] @dezgeg opened pull request #2171 → libstore: Verify and repair path metadata on `nix-store --verify --check-contents' → https://git.io/vpjsc
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40852 → libidn2: 2.0.4 -> 2.0.5 → https://git.io/vpjsC
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40853 → jackett: 0.8.953 -> 0.8.997 → https://git.io/vpjsl
jasongrossman has joined #nixos
daveo has quit [Remote host closed the connection]
<nixosnewbie> clever: I reviewed the source code postgresql.nix that you mentioned. I had read it before but the interaction with systemPackages escaped me. Thank you very much for helping me with detailed references!
leotaku has quit [Quit: WeeChat 2.1]
acarrico has joined #nixos
rain1 has quit [Quit: Leaving]
drakonis has quit [Ping timeout: 245 seconds]
sir_guy_carleton has joined #nixos
sir_guy_carleton has quit [Client Quit]
woodson has joined #nixos
<infinisil> woodson: What exactly are you trying to do?
<woodson> infinisil: Thanks for replying
<woodson> I am building a reflex project with nix
<woodson> however, after the build
<woodson> I have to move the all.js file that it produces and use closure compiler to compress
<woodson> I was just wondering if I could write the script directly from nix
<woodson> since I heard that nix is able to perform such task
<infinisil> You can put a bash script in postInstall to do that
obadz- has joined #nixos
<infinisil> While you can declare that in Nix, it's bash that runs it in the end
<woodson> so, postInstall = <pathofbash> ?
obadz has quit [Ping timeout: 240 seconds]
obadz- is now known as obadz
drakonis has joined #nixos
<infinisil> Nah, `postInstall = ''\n echo hi \n''`
<infinisil> (replace \n by newlines)
silver has quit [Read error: Connection reset by peer]
<woodson> oh thats what you meant by put a bash script
<adamt> night. ttl
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
adamt has quit [Ping timeout: 256 seconds]
daveo has joined #nixos
daveo is now known as ocho
ocho is now known as mconstant
worldofpeace has quit [Quit: Konversation terminated!]
<mconstant> Anyone know how to get the latest Discord?
hoshineko has joined #nixos
ericsagnes has joined #nixos
nickoralias has quit [Quit: Connection closed for inactivity]
marusich has quit [Ping timeout: 260 seconds]
hoshineko has quit [Ping timeout: 248 seconds]
oltoAltn has joined #nixos
olto has quit [Ping timeout: 248 seconds]
mahalel_ has quit [Remote host closed the connection]
mbrgm has quit [Ping timeout: 268 seconds]
mahalel_ has joined #nixos
mbrgm has joined #nixos
Cale has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40854 → krita: 4.0.2 -> 4.0.3 → https://git.io/vpjZY
mkoenig has joined #nixos
<{^_^}> [nixpkgs] @orivej pushed 3 commits to master: https://git.io/vpjZZ
<{^_^}> → 2287c5f6 by @orivej: dpdk: extract from linuxPackages.dpdk
<{^_^}> → 345f4639 by @orivej: odp-dpdk, ofp, pktgen: move from linuxPackages
<{^_^}> → ed465dc7 by @orivej: dpdk: install files in the standard layout
mahalel_ has quit [Remote host closed the connection]
mahalel_ has joined #nixos
mahalel_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40855 → irqbalance: 1.3.0 -> 1.4.0 → https://git.io/vpjZV
mahalel_ has joined #nixos
Cale has joined #nixos
sbdchd has joined #nixos
mahalel_ has left #nixos [#nixos]
mahalel_ has joined #nixos
Amazon is now known as dmc
<woodson> hey guys I have this postInstall that I defined https://lpaste.net/7379554675604848640
mconstant has quit [Remote host closed the connection]
<woodson> it supposed to just create a hello.txt file
<woodson> but nothing happens
<woodson> it builds my project fine I dont see the hello.txt file
<woodson> can anyone help?
markus1189 has joined #nixos
nschoe has quit [Ping timeout: 256 seconds]
markus1199 has quit [Ping timeout: 248 seconds]
<clever> woodson: you created pkgs.postInstall
<clever> the postInstall has to go inside the derivation, not after it
<clever> you probably want pkgs.haskell.lib.overrideCabal
phreedom has quit [Ping timeout: 250 seconds]
Arcaelyx has quit [Ping timeout: 276 seconds]
phI||Ip has quit [Quit: ZNC 1.6.1 - http://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40856 → iasl: 20180313 -> 20180508 → https://git.io/vpjnL
<andreabedini> gosh my nixpkgs git repo is 12Gb
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @andreabedini opened pull request #40857 → pythonPackages.docker: 3.2.1 -> 3.3.0 → https://git.io/vpjnO
<andreabedini> I had to replay the change on the github web interface because git was dying on my laptop
phreedom has joined #nixos
<{^_^}> [nixpkgs] @orivej pushed to master « spdk: init at 18.04 »: https://git.io/vpjns
<{^_^}> [nixpkgs] @orivej closed pull request #39138 → spdk: init at 18.04-pre → https://git.io/vpLnP
sir_guy_carleton has joined #nixos
<cbarrett> wow
<cbarrett> that's huge
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #40858 → purple-facebook: 0.9.3 -> 0.9.5 → https://git.io/vpjnl
PCChris has joined #nixos
lassulus_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40859 → gqrx: 2.11.4 -> 2.11.5 → https://git.io/vpjcf
lassulus has quit [Ping timeout: 240 seconds]
acarrico has quit [Ping timeout: 245 seconds]
lassulus_ is now known as lassulus
<gchristensen> andreabedini: sounds like you need to git gc? it should be closer to 1.4g
Arcaelyx has joined #nixos
<bhipple[m]> My `.git` dir is only 1.1gb
<{^_^}> [nixpkgs] @orivej pushed to master « dpdk: support static/shared build mode switch »: https://git.io/vpjc8
<orivej> my .git is 450 MB
<gchristensen> 450M and 1.1G are all closer to 1.4G than 12G is
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/vpjcu
<{^_^}> → a91a0ce1 by @NeQuissimus: linux: 4.14.41 -> 4.14.42
<{^_^}> → b61f83ed by @NeQuissimus: linux: 4.9.100 -> 4.9.101
<{^_^}> → 950e17fd by @NeQuissimus: linux: 4.16.9 -> 4.16.10
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.9.100 -> 4.9.101 »: https://git.io/vpjc2
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.14.41 -> 4.14.42 »: https://git.io/vpjcV
<steell> why would i be seeing a package appear in `nix-env -qA openzwave` but not in the `import <nixpkgs> {}` attrset?
<ryantm> steell: Can you say what you are doing in the latter case?
<steell> nix-env -qAP, rather
<steell> sure, i have a default.nix as follows: https://gist.github.com/Steell/4016f6df7036c903777cb155ac271062
nuncanada has quit [Quit: Leaving]
<steell> ryantm: see gist
<ryantm> steell: What'st he error you get?
<steell> when i try to nix-build: undefined variable 'openzwave'
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40860 → csound: 6.10.0 -> 6.11.0 → https://git.io/vpjcS
<steell> in a nix repl, i get a similar error with (import <nixpkgs> {}).openzwave
<ryantm> steell: Can you paste the output of nix-info?
<steell> but `nix-env -qaP openzwave` yields: nixpkgs.openzwave openzwave-2018-04-04
<steell> sure
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40861 → dash: 0.5.10.1 -> 0.5.10.2 → https://git.io/vpjcb
<steell> ryantm: system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.1, channels(root): "nixos-18.03, nixos-unstable-18.09pre140419.50bbc56b0bd", channels(stephen): "nixpkgs-18.09pre140592.b7ba5dec0d8", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40862 → feh: 2.26.1 -> 2.26.3 → https://git.io/vpjcx
<ryantm> steell: As a reference point when I do `let pkgs = import <nixpkgs> {}; in pkgs.openzwave` in my `nix repl` it gives me a derivation as a result.
andymandias has joined #nixos
<steell> ryantm: i get: attribute 'openzwave' missing
<ryantm> steell: here's what nix-info is for me: system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0, channels(root): "", channels(ryantm): "", nixpkgs: /home/ryantm/p/nixpkgs
<ryantm> steell: p/nixpkgs is at 2fe842a2000
<steell> fwiw im on nixos
ckauhaus has joined #nixos
<ryantm> Can you try `let pkgs = import <nixpkgs> {config = {};}; in pkgs.openzwave`
<steell> same result
<ryantm> steell: In your nix-info output your root user has two channels.
<ryantm> steell: Is it possible that openzwave is not in 18.03?
asuryawanshi has quit [Remote host closed the connection]
<ryantm> steell: Yeah, https://nixos.org/nixos/packages.html#openzwave is empty
<steell> interesting
<ryantm> steell: It was only added in april, so it's not that surprising.
<steell> i remember reading in the Nix Pills that nix-env does something different when looking up packages
ckauhaus has quit [Ping timeout: 260 seconds]
<ryantm> steell: Based on what you are seeing, it's probably looking at every channel, but when you do import <nixpkgs>, it's picking only one, probably the first one.
<steell> the channel that is output when doing `nix-env -qaP <pkgname>` corresponds to the name of the channel in nix-channel --list-channels?
<steell> `nix-channel --list`, rather
<ryantm> steell: I'm not sure, but you could try renaming a channel to test it
<woodson> Hey everyone, I got this default.nix https://lpaste.net/1512017041551261696 I want nix to execute a bash command after the build but it doesnt seem to work.
<woodson> clever, recommended me to use pkgs.haskell.lib.overrideCabal which I did but still nothing
<woodson> Still very knew with nix so I am reading the guide and trying things at the same time
<woodson> but I still dont have a clear understanding of nix
<woodson> I want my postInstall to create a file hello.txt file
<ryantm> woodson: You are not using the overrideCabal anywhere
mahalel_ has quit [Ping timeout: 260 seconds]
schoppenhauer has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40863 → debootstrap: 1.0.98 -> 1.0.99 → https://git.io/vpjCD
schoppenhauer has joined #nixos
<woodson> ryantm: these example overriding packages
<woodson> how do I tell it to override the overrideCabal of the project
johnw has quit [Read error: Connection reset by peer]
johnw has joined #nixos
<ryantm> woodson: Are you saying you want to redefine pkgs.haskell.lib.overrideCabal?
<woodson> ryantm: I want the postInstall to execute once the nix-build is done building my whole project
<woodson> so, I dont think that I am supposed to override the pkgs?
Have-Quick has quit [Quit: Have-Quick]
<ryantm> woodson: I don't really understand what is going on, there are a bunch of imports. But postInstall is some normal thing you can use inside of any makeDerivation-like thing.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40864 → ddcutil: 0.8.6 -> 0.9.0 → https://git.io/vpjWs
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<andreabedini> gchristensen: I just ran git gc --aggressive, still 12Gb :(
freeman42x]NixOS has quit [Ping timeout: 268 seconds]
<andreabedini> I think I once did `git remote add channels ...` and that screwed things up
sbdchd has quit [Remote host closed the connection]
<andreabedini> but I did remove the remote later
<samueldr> weird, my nixpkgs checkout uses the channels remote and is ~800MB (not gced)
<ryantm> my checkouts are around 1 GB
<samueldr> once gced, Total disk usage: 643.7 MiB Apparent size: 591.3 MiB (using ncdu)
<andreabedini> no idea, I'll just delete and restart, funny thing is that it's a shallow clone too!
<{^_^}> [nixpkgs] @orivej pushed to master « spdk: fix sandboxed build »: https://git.io/vpjWu
baconicsynergy has joined #nixos
<orivej> shallow clones can grow quickly once the merges bring older commits. "git repack -adf" should shrink the repo.
balsoft has joined #nixos
<andreabedini> git prune! that's what I should have done, it is done deleting stuff
<andreabedini> orivej: thanks for the tip! I'll keep that in mind too
<{^_^}> [nixpkgs] @orivej merged pull request #40858 → purple-facebook: 0.9.3 -> 0.9.5 → https://git.io/vpjnl
<{^_^}> [nixpkgs] @orivej pushed 2 commits to master: https://git.io/vpjWK
<{^_^}> → de18e296 by @emmanuelrosa: purple-facebook: 0.9.3 -> 0.9.5
<{^_^}> → c9ce4b2f by @orivej: Merge pull request #40858 from emmanuelrosa/purple-facebook-0.9.5
balsoft has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40866 → chirp: 20180512 -> 20180519 → https://git.io/vpjWN
Have-Quick has joined #nixos
<andreabedini> 19M.git/
<andreabedini> (remember it's a shallow repo)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40867 → bind: 9.12.1 -> 9.12.1-P2 → https://git.io/vpjWj
asuryawanshi has joined #nixos
sauyon has joined #nixos
nallar has joined #nixos
rauno has quit [Ping timeout: 240 seconds]
Ross has quit [Ping timeout: 268 seconds]
nallar is now known as Ross
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40868 → adapta-gtk-theme: 3.93.1.14 -> 3.93.1.16 → https://git.io/vpjlG
drakonis has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/650557675b0 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
pxc1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40869 → maven: 3.5.2 -> 3.5.3 → https://git.io/vpjl6
pxc1 has quit [Ping timeout: 248 seconds]
Have-Quick has quit [Quit: Have-Quick]
marusich has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40870 → calamares: 3.1.12 -> 3.2.0 → https://git.io/vpjlb
steell has quit [Ping timeout: 245 seconds]
blankhart has quit [Quit: WeeChat 1.9.1]
simukis has joined #nixos
reinzelmann has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
hiroshi has quit [Ping timeout: 264 seconds]
simukis has quit [Ping timeout: 252 seconds]
thblt has quit [Remote host closed the connection]
thblt has joined #nixos
rauno has joined #nixos
BigMassive has joined #nixos
jD91mZM2 has joined #nixos
andymandias has quit [Ping timeout: 252 seconds]
steell has joined #nixos
steell has quit [Ping timeout: 245 seconds]
marusich has quit [Quit: Leaving]
Sonarpulse has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/66002a0e07a (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
hamishmack has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
hiroshi has joined #nixos
<jD91mZM2> What's the best way to install xargo in nix? Should it optimally be packaged or is it fine to be lazy and just use `cargo install`?
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @vcunat pushed 39 commits to staging-18.03: https://git.io/vpjB0
<{^_^}> → 88879254 by @oxij: nixos: systemd.services.*.environment: fix type
<{^_^}> → 7e14bdca by @matthewbauer: xquartz: fix build
<{^_^}> → 81a48c85 by @ElvishJerricco: haskellPackages: Fix overriding all-cabal-hashes
<{^_^}> [nixpkgs] @vcunat merged pull request #40754 → firefox, firefox-bin: 60.0 -> 60.0.1, firefox-esr: 60.0esr -> 60.0.1esr [staging-18.03] → https://git.io/vppyv
<unlmtd> with content-addressed filesystems, nixpkgs can not only be lazily-evaluated, but it can also be lazily-fetched
<unlmtd> then it could be broken up in a lot of small repot
<unlmtd> repos*
griff_ has joined #nixos
ckauhaus has joined #nixos
ckauhaus has quit [Ping timeout: 240 seconds]
lord| has quit [Ping timeout: 240 seconds]
throwboy has joined #nixos
throwboy has quit [Remote host closed the connection]
katyucha has joined #nixos
sary has quit [Quit: Changing server]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
roconnor has quit [Remote host closed the connection]
roconnor has joined #nixos
lord| has joined #nixos
<sphalerite> so netsurf is its own little package set with some particularities — it's built with netsurf = recurseIntoAttrs (let callPackage = newScope pkgs.netsurf; in rec { … };
<sphalerite> there's no way to get into the fixpoint introduced by that rec, is there? I want to override the ui attr :/
Ariakenom has joined #nixos
kreetx has joined #nixos
saltsa has joined #nixos
robstr has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
<ij> I'm in a noDesktop xfce session and I'm trying to start up xfce4-notifyd, but it says dbus refused the connection. Why is that and what odes that mean?
andymandias has joined #nixos
MP2E has joined #nixos
xy2_ has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a48088769f1 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
Ariakenom has joined #nixos
leothrix has quit [Ping timeout: 264 seconds]
Maxdaman1us has joined #nixos
katyucha has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @nlewo merged pull request #40860 → csound: 6.10.0 -> 6.11.0 → https://git.io/vpjcS
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vpjEK
<{^_^}> → 691e8e64 by R. RyanTM: csound: 6.10.0 -> 6.11.0
<{^_^}> → 06a44b49 by @nlewo: Merge pull request #40860 from r-ryantm/auto-update/csound
Maxdamantus has quit [Ping timeout: 260 seconds]
ryantrinkle has quit [Ping timeout: 245 seconds]
woodson has quit [Ping timeout: 252 seconds]
lonokhov has joined #nixos
Cale has quit [Ping timeout: 260 seconds]
b has quit [Quit: WeeChat 1.6]
<{^_^}> [nixpkgs] @peterhoeg pushed to master « musescore: 2.1.0 -> 2.2.1 »: https://git.io/vpjEN
ThatDocsLady has joined #nixos
coot has joined #nixos
leothrix has joined #nixos
<Plato[m]> This PR https://github.com/NixOS/nixpkgs/pull/36506 has been open since the 8th of March. Is there a way to get this merged?
coot has quit [Client Quit]
<Plato[m]> The original reviewer disappeared, apparently.
coot has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
coot has quit [Client Quit]
<sphalerite> Plato[m]: asking here is always a good start. Maybe Mic92_ will merge it, he merges so many things :p
<Plato[m]> My previous experiences with PRs have been very good. People responded instantly and it was merged quickly.
coot has joined #nixos
<sphalerite> yeah it's quite variable
katyucha has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
mounty has quit [Quit: Konversation terminated!]
toby1851 has joined #nixos
roconnor has quit [Ping timeout: 245 seconds]
roconnor has joined #nixos
pxc1 has joined #nixos
cryp2nomicon has joined #nixos
orivej has joined #nixos
roconnor has quit [Ping timeout: 245 seconds]
cryp2nomicon has quit [Client Quit]
pxc1 has quit [Ping timeout: 260 seconds]
cryp2nomicon has joined #nixos
katyucha has quit [Ping timeout: 245 seconds]
roconnor has joined #nixos
cryp2nomicon has quit [Client Quit]
cryp2nomicon has joined #nixos
ryantrinkle has joined #nixos
thc202 has joined #nixos
deepfire` has quit [Ping timeout: 240 seconds]
smallville7123 has joined #nixos
hoshineko has joined #nixos
hoshineko has left #nixos [#nixos]
katyucha has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #40862 → feh: 2.26.1 -> 2.26.3 → https://git.io/vpjcx
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vpjgy
<{^_^}> → 4558ba5b by R. RyanTM: feh: 2.26.1 -> 2.26.3
<{^_^}> → ec84272d by @pSub: Merge pull request #40862 from r-ryantm/auto-update/feh
roconnor has quit [Ping timeout: 245 seconds]
roconnor has joined #nixos
juri2mol has joined #nixos
katyucha has quit [Ping timeout: 252 seconds]
ndrei has joined #nixos
Faraon_ has joined #nixos
<{^_^}> [nixpkgs] @orivej merged pull request #40839 → pari: 2.9.4 -> 2.9.5 → https://git.io/vpjtH
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « pari: 2.9.4 -> 2.9.5 »: https://git.io/vpj2T
deepfire` has joined #nixos
<ndrei> Hi, I'm getting, all of a sudden, this strange error when trying to build my config: "infinite recursion encountered, at undefined position [...] error: while evaluating the attribute 'config.system.build.toplevel' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/activation/top-level.nix:263:5" .
Faraon_ has quit [K-Lined]
<{^_^}> [nixpkgs] @orivej merged pull request #40667 → krusader: 2.6.0 -> 2.7.0 → https://git.io/vpNl3
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « krusader: 2.6.0 -> 2.7.0 »: https://git.io/vpj28
<sphalerite> why does nix build nixpkgs.hello --arg overlays '[ import ]' cause infinite recursion at an undefined position?
<ndrei> I'm keeping my configuration under Git, and even getting back a few versions I'm still getting the same error
juri2mol has left #nixos ["disconnect"]
<sphalerite> ndrei: do you have an overlay that might be going wrong?
<ndrei> sphalerite: thank you
<ndrei> sphalerite: indeed, untracked file there was causing the errors :/
<ndrei> I somehow missed it as I have a few untracked files there
<sphalerite> ah, the joys x)
<{^_^}> [nixpkgs] @orivej merged pull request #40832 → simpleitk: 1.0.0 -> 1.1.0 → https://git.io/vpjUB
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « simpleitk: 1.0.0 -> 1.1.0 »: https://git.io/vpj2V
ryantrinkle has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @orivej merged pull request #40837 → powerstat: 0.02.15 -> 0.02.16 → https://git.io/vpjIx
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « powerstat: 0.02.15 -> 0.02.16 »: https://git.io/vpj2K
<ndrei> hehe, really I can't complain, it's extremely rare I have any bad surprised with Nix, though they do cause some head-scratching :)..
<{^_^}> [nixpkgs] @orivej merged pull request #40847 → neofetch: 4.0.0 -> 4.0.2 → https://git.io/vpjOt
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « neofetch: 4.0.0 -> 4.0.2 »: https://git.io/vpj2P
<{^_^}> [nixpkgs] @teto closed pull request #34724 → [WIP] singular: run autoreconfHook → https://git.io/vAU4m
<{^_^}> [nixpkgs] @orivej merged pull request #40842 → osinfo-db: 20180502 -> 20180514 → https://git.io/vpjmn
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « osinfo-db: 20180502 -> 20180514 »: https://git.io/vpj2y
<{^_^}> [nixpkgs] @orivej merged pull request #40848 → metabase: 0.29.2 -> 0.29.3 → https://git.io/vpjOh
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « metabase: 0.29.2 -> 0.29.3 »: https://git.io/vpj27
<{^_^}> [nixpkgs] @orivej merged pull request #40854 → krita: 4.0.2 -> 4.0.3 → https://git.io/vpjZY
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « krita: 4.0.2 -> 4.0.3 »: https://git.io/vpj2A
<{^_^}> [nixpkgs] @orivej merged pull request #40863 → debootstrap: 1.0.98 -> 1.0.99 → https://git.io/vpjCD
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « debootstrap: 1.0.98 -> 1.0.99 »: https://git.io/vpjaf
TonyTheLion has joined #nixos
<{^_^}> [nixpkgs] @orivej merged pull request #40828 → urlwatch: 2.9 -> 2.11 → https://git.io/vphhu
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « urlwatch: 2.9 -> 2.11 »: https://git.io/vpjaL
leat has joined #nixos
<{^_^}> [nixpkgs] @orivej merged pull request #40864 → ddcutil: 0.8.6 -> 0.9.0 → https://git.io/vpjWs
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « ddcutil: 0.8.6 -> 0.9.0 »: https://git.io/vpja3
<{^_^}> [nixpkgs] @orivej merged pull request #40868 → adapta-gtk-theme: 3.93.1.14 -> 3.93.1.16 → https://git.io/vpjlG
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « adapta-gtk-theme: 3.93.1.14 -> 3.93.1.16 »: https://git.io/vpjan
<{^_^}> [nixpkgs] @orivej merged pull request #40859 → gqrx: 2.11.4 -> 2.11.5 → https://git.io/vpjcf
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « gqrx: 2.11.4 -> 2.11.5 »: https://git.io/vpjaW
<{^_^}> [nixpkgs] @orivej merged pull request #40853 → jackett: 0.8.953 -> 0.8.997 → https://git.io/vpjsl
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « jackett: 0.8.953 -> 0.8.997 »: https://git.io/vpjau
MichaelRaskin has joined #nixos
michas_ has joined #nixos
<{^_^}> [nixpkgs] @orivej merged pull request #40851 → librealsense: 2.11.0 -> 2.11.1 → https://git.io/vpj35
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « librealsense: 2.11.0 -> 2.11.1 »: https://git.io/vpjV4
<{^_^}> [nixpkgs] @peterhoeg opened pull request #40872 → fwupd: 1.0.5 -> 1.0.7 → https://git.io/vpjVR
<{^_^}> [nixpkgs] @peterhoeg opened pull request #40873 → vala: 0.38 and 0.40 update point releases → https://git.io/vpjVa
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « irqbalance: 1.3.0 -> 1.4.0 »: https://git.io/vpjVi
<{^_^}> [nixpkgs] @orivej merged pull request #40855 → irqbalance: 1.3.0 -> 1.4.0 → https://git.io/vpjZV
<{^_^}> [nixpkgs] @orivej merged pull request #40861 → dash: 0.5.10.1 -> 0.5.10.2 → https://git.io/vpjcb
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « dash: 0.5.10.1 -> 0.5.10.2 »: https://git.io/vpjVD
<{^_^}> [nixpkgs] @orivej merged pull request #40825 → uncrustify: 0.66.1 -> 0.67 → https://git.io/vphxm
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « uncrustify: 0.66.1 -> 0.67 »: https://git.io/vpjVb
<{^_^}> [nixpkgs] @orivej merged pull request #40866 → chirp: 20180512 -> 20180519 → https://git.io/vpjWN
<{^_^}> [nixpkgs] @orivej pushed commit from R. RyanTM to master « chirp: 20180512 -> 20180519 »: https://git.io/vpjVh
<nikivi> Is there any setting you can set so that nix-shell always chooses zsh without passing `--command zsh` all the time to nix-shell?
justbeingglad has joined #nixos
<srhb> nikivi: Nope.
justbeingglad has left #nixos [#nixos]
<srhb> best bet is to make an alias.
<srhb> But that's also cumbersome.
<srhb> I've considered just switching to bash to get over it, but ugggh. :)
* etu runs fish and has this issue from time to time
<etu> But I've made an abbreviation that expands "nsh" to "nix-shell --run fish -p" so I can type "nsh<space>" and then just continue typing packages and whatever
<srhb> etu: Funny, my alias is exactly nsh. :)
<nikivi> srhb I currently have `alias ns='nix-shell --command zsh` set. What can be cumbersome about that?
<srhb> nikivi: I remember being bothered by some of the other flags I'd want to pass, but I don't recall exactly what the problem was. Maybe my alias was bad.
<etu> nikivi: aliases might break auto-completions and such for flags in certain shells
<nikivi> Only thing I am trying to figure out how to know I am inside nix-shell
<nikivi> So I can change my prompt accordingly
<cryp2nomicon> anyone here using T440 for nixos?
<nikivi> I tried `if [ -z "${IN_NIX_SHELL}" ]; then` too but maybe that's more of a #bash question
<tilpner> nikivi - I have if test -n "$IN_NIX_SHELL"; then
<tilpner> Works fine
<nikivi> tilpner Thanks, that works
<jD91mZM2> I replace % in my prompt to N if it's in nix shell :P
leat has quit [Ping timeout: 245 seconds]
<ndrei> I'm using it, works great
Arcaelyx_ has joined #nixos
<ndrei> I also have my shell set up so that the left prompt displays a list of current packages
joelpet has quit [Remote host closed the connection]
<nikivi> I realised that you can have a nix-shell inside a nix-shell and so on
<srhb> cryp2nomicon: I used to have a t440p for work, if that helps
<TonyTheLion> does golang have a nix package?
<nikivi> Is there any good reason to do this?
<sphalerite> nikivi: put `exec zsh` in your bashrc :D
<srhb> TonyTheLion: Yes. go.
<TonyTheLion> thanks :)
<nikivi> sphalerite that's smart :) I wonder if can backfire in some way
<sphalerite> it'll only affect interactive shells, so I don't think so
<cryp2nomicon> srhb: nixos in T440?
<srhb> cryp2nomicon: Yes.
<sphalerite> you could make it conditional on some env var not being set or something if you want an escape hatch
roconnor has quit [Remote host closed the connection]
<tilpner> You could also only exec zsh if IN_NIX_SHELL
roconnor has joined #nixos
<cryp2nomicon> srhb: can you share your /etc/nixos/configuration.nix ? need to have a working reference for nixos 18.03
Arcaelyx has quit [Ping timeout: 260 seconds]
<srhb> cryp2nomicon: I don't have it anymore, but I don't think there was anything special about it at all.
sigmundv__ has joined #nixos
MP2E has quit [Remote host closed the connection]
Maxdaman1us is now known as Maxdamantus
<disasm> I know a) json is parseable by yaml and b) nix can read json with builtins.fromJSON. I use both of these facts to take a nix attribute set, dump to JSON and write a file that yaml can parse, but it doesn't work the other way, to read a yaml file and convert it to an attribute set. Anyone know a solution to do that?
<disasm> oops, I meant write JSON with toJSON :)
<sphalerite> disasm: yaml2json?
<sphalerite> combined with builtins.fromJSON
<disasm> yeah, yaml -> json -> nix. Essentially I want to read a yaml file in a git repository, convert it to nix, apply a `//` operator to it to alter a couple values and write that file instead of the original.
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #40875 → llvm_5: 5.0.1 -> 5.0.2 → https://git.io/vpjon
<disasm> sphalerite: ah, you're saying write a function that runs the npm tool yaml2json?
<sphalerite> disasm: there's a standalone yaml2json tool, written in go, in nixpkgs
<sphalerite> if IFD isn't off-limits you could just make derivations that convert yaml into json and use builtins.readFile on those
<sphalerite> Or you could make a plugin to add a builtin for it maybe
<disasm> what's IFD? :)
<MichaelRaskin> import from derivation
<sphalerite> import-from-derivation
<sphalerite> aaaah too slow
<MichaelRaskin> Spacebar is larger than the minus key
<{^_^}> [nixpkgs] @xeji pushed to master « vimNox: pin to lua 5.1 »: https://git.io/vpjKU
jasongrossman has quit [Remote host closed the connection]
<sphalerite> how do you know I haven't remapped it!
<MichaelRaskin> By the fact that you were slower?
<sphalerite> damn, you're onto me.
reinzelmann has quit [Remote host closed the connection]
chisui has joined #nixos
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<nikivi> Someone in this chat made a nix derivation for https://github.com/getantibody/antibody
<nikivi> Perhaps he's here :)
<nikivi> I am trying to get antibody to work under nix
simukis has joined #nixos
justbeingglad has joined #nixos
freeman42x]NixOS has joined #nixos
<sphalerite> nikivi: kane_ linked this the other day https://pastebin.com/etZ7t3Se
hamishmack has joined #nixos
sir_guy_carleton has joined #nixos
justbeingglad has left #nixos [#nixos]
smallville7123 has quit [Quit: rosa]
michas_ has quit [Ping timeout: 260 seconds]
freeman42x]NixOS has quit [Ping timeout: 260 seconds]
ericsagnes has quit [Ping timeout: 245 seconds]
smallville7123 has joined #nixos
jasongrossman has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji closed pull request #40875 → llvm_5: 5.0.1 -> 5.0.2 → https://git.io/vpjon
asuryawanshi has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
<Myrl-saki> Oh huh, that exists?
<Myrl-saki> sphalerite: Is IFD literally importing from a .drv file or?
<sphalerite> Myrl-saki: no, it's importing from the output paths of a derivation
asuryawanshi has quit [Remote host closed the connection]
<Myrl-saki> Oh okay.
asuryawanshi has joined #nixos
<sphalerite> Myrl-saki: so an example would be `import (pkgs.runCommand "foo.nix" {} "echo 25 > $out")`
<sphalerite> > import (pkgs.runCommand "foo.nix" {} "echo 25 > $out")
<{^_^}> cannot import '/nix/store/bigaskr5gznym0vr0iv0aw1vgrgiafi0-foo.nix', since path '/nix/store/9jhghw1anzz9vccgphr3wjsg3wjbla5y-foo.nix.drv' is not valid, at (string):39:1
<sphalerite> hehe doesn't work with {^_^} of course
<sphalerite> but yeah, that becomes interesting when you have more complex derivations like something involving yaml2json
joelpet has joined #nixos
joelpet has quit [Changing host]
joelpet has joined #nixos
<sphalerite> so `builtins.fromJSON (builtins.readFile (pkgs.runCommand "from-yaml.json" {nativeBuildInputs = [pkgs.yaml2json];} "yaml2json <${./foo.yaml} > $out"))`
<sphalerite> or something
fendor has joined #nixos
Ariakenom has quit [Ping timeout: 252 seconds]
smallville7123 has quit [Quit: rosa]
xy2_ has quit [Ping timeout: 248 seconds]
<manveru> hmm, that is nice
orivej has joined #nixos
leat has joined #nixos
kai_w has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<fendor> hello, guys. apparently, some ghc versions are not in the unstable channel or the stable 18.03 channel. If i have to build a haskell project with ghc version 8.0.2, it seems that i cant do that anymore, is that correct?
coot has quit [Quit: coot]
Ariakenom has joined #nixos
<crystalgamma[m]> where does separate-debug-info.sh get its $READELF, $STRIP and $OBJCOPY variables? because I'm getting errors when building with stagesNative
chaker has joined #nixos
adamt has joined #nixos
kim0 has joined #nixos
adamt is now known as Guest8912
Guest8912 has quit [Changing host]
Guest8912 has joined #nixos
Guest8912 is now known as adamt
<adamt> Has anybody had success with booting the plain 18.03 netboot-media? (generated using `nix-build -A netboot.x86_64-linux ./nixos/release.nix`)
<adamt> When I try it on a KVM guest i get a kernel panic: "not syncing: VFS: Unable to mount root fs on unknown-block(0,0)"
<Myrl-saki> Okay. I've tried networking as much as I could, but I'm really lost now. How do I connect multiple containers together?
emmanuelrosa has joined #nixos
<nyanloutre[m]> Hello, I continued some required work on a stalled pull request. It's the btchip library for electrum : https://github.com/NixOS/nixpkgs/pull/40816
<nyanloutre[m]> Is there someone that can review it ?
smallville7123 has joined #nixos
smallville7123 has quit [Client Quit]
<disasm> looks good, waiting on borg CI test. If it passes I'll merge in a few.
knupfer has joined #nixos
seppellll has joined #nixos
seppellll has quit [Client Quit]
<{^_^}> [nixpkgs] @fpletz pushed 7 commits to release-18.03: https://git.io/vpjDX
<{^_^}> → 4a24c6ce by @ryantm: signal-desktop: 1.5.2 -> 1.6.1
<{^_^}> → 094a7ec1 by R. RyanTM: signal-desktop: 1.6.1 -> 1.7.0
<{^_^}> → 73b46ed0 by @scode: signal-desktop: 0.7.0 -> 0.7.1
<etu> disasm: Hey, did you have a look at my gitea module changes? :)
seppellll has joined #nixos
xy2_ has joined #nixos
jD91mZM2 has quit [Quit: WeeChat 2.0]
<nyanloutre[m]> disasm: ok, thanks :)
gm152 has joined #nixos
jmiven has quit [Quit: co'o]
<disasm> etu: definitely hit me up in IRC :) github == too much noise nowadays!
jmiven has joined #nixos
gm152 has quit [Client Quit]
<chaker> Hey, I stopped a deployment couple of days ago. When I started it back today, the deploy kept waiting for SSH access to one of the instances (I'm using EC2 here). I checked AWS console, and found that 1 of the instance check is failing "Instance reachability check failed at May 21, 2018". By checking the "System Log" I found that Stage 1 failed with this error "switch_root: can't execute
<chaker> '/nix/store/rmv5fg3gi9h25gi8ylqlkwjnba5gya39-nixos-system-steve-dev-17.09.2875.c2b668ee726/init': No such file or directory". Here's the relevant part from System log https://pastebin.com/raw/YujUir0Q
m0rphism has quit [Quit: WeeChat 1.9.1]
m0rphism has joined #nixos
m0rphism has quit [Client Quit]
gm152 has joined #nixos
m0rphism has joined #nixos
<disasm> etu: you're currently using it I'm guessing right? I can assume it works and don't need to manually test it myself? Looks good from a glance.
m0rphism has quit [Client Quit]
<etu> disasm: I think I've tried to ping you in here about it before, but it probably disappeared in the log since it's a quite active channel :)
<etu> Yes, I have a locally patched nixpkgs with the same changes copied (not manually edited)
m0rphism has joined #nixos
nschoe has joined #nixos
<etu> disasm: And if I ls /var/lib/gitea I find "gitea-dump-1526437866.zip gitea-dump-1526524267.zip gitea-dump-1526610666.zip gitea-dump-1526697066.zip gitea-dump-1526783467.zip gitea-dump-1526869867.zip" and they are created at expected times :)
Forkk has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @disassembler merged pull request #40565 → nixos/gitea: Enable configuring of derivation and a systemd timer for creation of backups → https://git.io/vp5Pi
<{^_^}> [nixpkgs] @disassembler pushed 3 commits to master: https://git.io/vpjy8
<{^_^}> → e166aee8 by @etu: nixos/gitea: Allow customizing derivation to use
<{^_^}> → ce42182d by @etu: nixos/gitea: Add options to enable a timer with optional interval
<{^_^}> → 5830b038 by @disassembler: Merge pull request #40565 from etu/gitea-improvements
<disasm> etu: merged!
<etu> yay, thanks :)
knupfer has quit [Ping timeout: 245 seconds]
Forkk has joined #nixos
<nwspk> nix always wants to upgrade my stable octave-version (installed octaveFull) to the dev-version served by octaveHg
<nwspk> however, the Hg-version doesn't come with a GUI and needs to be compiled on my machine
<nwspk> how can I "pin" octave to the stable version?
karlguy has quit [Ping timeout: 248 seconds]
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #40867 → bind: 9.12.1 -> 9.12.1-P2 → https://git.io/vpjWj
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/vpjyp
<{^_^}> → d2329184 by R. RyanTM: bind: 9.12.1 -> 9.12.1-P2
<{^_^}> → 193dedff by @peti: Merge pull request #40867 from r-ryantm/auto-update/bind
<disasm> nwspk: are you calling purePackages.octave in your config?
<nwspk> disasm: I just stumbled about the …/pure-packages.nix-file where octave is set to octaveHg
<nwspk> disasm: but how do I change this? atm I have installed octave with `nix-env -iA nixos.octaveFull`
<disasm> looking at nixpkgs, the default for pkgs.octave and pkgs.octaveFull are both 4.2.2. Only pkgs.octaveHg and pkgs.purePackages.octave should use the hg derivation.
fendor has quit [Ping timeout: 260 seconds]
<sphalerite> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<sphalerite> nwspk: basically, nix-env -u is terrible for the same reasons as -i without -A ^
<adamt> I see that my netboot issue might be due to using efi. Does anybody know what magic to append to the ipxe-script to make the netboot not kernel panic due to not finding the root fs?
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Ping timeout: 245 seconds]
<sphalerite> adamt: you could add the kernel parameter boot.debug1devices to make it stop and offer to drop to a shell, if what you want to do is debug why it's failing to find the root device
<disasm> adamt: I know clever ran into some issues with efi netbooting as well. I haven't gotten around to testing it myself here yet. Maybe next time I need to touch one of my macs running nixos I'll try it out.
<{^_^}> [nixpkgs] @angerman opened pull request #40877 → [ghc] fix dylib load command limits → https://git.io/vpjS0
<{^_^}> [nixpkgs] @xeji closed pull request #40856 → iasl: 20180313 -> 20180508 → https://git.io/vpjnL
<adamt> sphalerite: I'll try that, thanks.
<adamt> disasm: Do you know whether he solved it, or gave up on efi? I suppose i could easily avoid efi if i wanted to, but it sure would be nice to get efi working.
<{^_^}> [nixpkgs] @peti merged pull request #40824 → Dont test enclosed exceptions → https://git.io/vphAq
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/vpjSK
<{^_^}> → 1f348e41 by @ElvishJerricco: Dont test enclosed exceptions
<{^_^}> → 5f6c0dd0 by @peti: Merge pull request #40824 from ElvishJerricco/dont-check-enclosed-exceptions
orivej has quit [Ping timeout: 260 seconds]
<disasm> adamt: he gave up I think
<adamt> sphalerite: does boot.debug1devices need to be set to anything, or just be present? and is the '1' a type?
<adamt> disasm: Aww.
<sphalerite> adamt: nope, exactly boot.debug1devices
<sphalerite> the 1 there is for stage 1, I believe
<adamt> ah, makes sense.
robstr has quit [Ping timeout: 252 seconds]
<adamt> Can't get it working though, this is what is fed to ipxe: kernel bzImage init=/nix/store/7anxhzmh2vx8121s1rykihlswmiigvrc-nixos-system-nixos-18.03pre56789.gfedcba/init loglevel=4 boot.debug1devices
<adamt> i don't expect the order to be important
<sphalerite> yeah, shouldn't be
<sphalerite> You do have the initramfs as well right?
<sphalerite> in fact it shouldn't be trying to mount anything, just booting straight in the initramfs
mariel__ has joined #nixos
<adamt> yeah, i got a line with "initrd initrd"
puckipedia has quit [Quit: *eh*]
spear2 has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 245 seconds]
Neo-- has joined #nixos
puckipedia has joined #nixos
ThatDocsLady has joined #nixos
leat has quit [Ping timeout: 245 seconds]
mariel__ has quit [Ping timeout: 245 seconds]
schjetne has quit [Ping timeout: 265 seconds]
schjetne has joined #nixos
knupfer has joined #nixos
<nwspk> disasm, sphalerite: thanks for the octave-thing! It was, as mentioned, `nix-env -u`s "fault" by just comparing the version numbers
<nwspk> Adding the `octaveFull`-package to my configuration.nix fixed it. I should just get out of the habbit of using nix-env
iyzsong has joined #nixos
<sphalerite> nwspk: you can use nix-env declaratively as well though, see the overlay linked in the wiki article
puckipedia has quit [Ping timeout: 245 seconds]
karlguy has joined #nixos
<sphalerite> nwspk: personally I keep systemPackages fairly minimal and put most of my stuff in my user environment declaratively
<nwspk> sphalerite: yeah, but I thought of it as some kind of hacky overkill
acarrico has joined #nixos
<nwspk> perhaps I will take a look at home-manager one day
<crystalgamma[m]> I see build-support/setup-hooks/separate-debug-info.sh uses $READELF, $OBJCOPY and $STRIP, but they are empty for me. Where are their values supposed to come from?
<sphalerite> it's not really hacky IMO, and it has the advantage of working on non-nixos systems as well. But yeah it is a matter of personal preference, if systemPackages is what works for you then it's the right thing for you to use :)
schjetne has quit [Ping timeout: 245 seconds]
<nikivi> What is the best way to reuse a custom shell environment in Zsh inside nix-shell?
ThatDocsLady_ has joined #nixos
fendor has joined #nixos
<nikivi> I tried to do this https://github.com/nikitavoloboev/dotfiles/blob/master/bash/bashrc but LnL said it breaks shell hooks and using nix-shell to reproduce a builds
puckipedia has joined #nixos
puckipedia has quit [Remote host closed the connection]
<disasm> nwspk: yeah, friends don't let friends use `nix-env` :) I'm a big fan of just putting things in systemPackages or writing separate shell.nix files for things I don't want in my path all the time.
<disasm> nwspk: but that implies nixos or nix-darwin
<sphalerite> disasm: hey! nix-env with --set or -ir is great!
ThatDocsLady has quit [Ping timeout: 245 seconds]
Rusty1_ has joined #nixos
<sphalerite> :p
<sphalerite> nikivi: yeah there's basically no way to have it all AFAIK.
<disasm> nikivi: I alias nix-shell --run zsh to nshell. Use that 90% of the time. If it's something that breaks, just run nix-shell and deal with bash.
ThatDocsLady_ has quit [Remote host closed the connection]
maingo has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging: https://git.io/vpjQ4
<{^_^}> → 75e78eda by @ttuegel: cmake: 3.10.2 -> 3.11.2
<{^_^}> → f47021aa by @ttuegel: Merge pull request #40800 from ttuegel/feature/staging/cmake-3.11.2
<{^_^}> [nixpkgs] @ttuegel merged pull request #40800 → cmake: 3.10.2 -> 3.11.2 → https://git.io/vphWs
<nschoe> Hi everyone, I'm having a small issues. I'm trying to follow meson's basic tutorial, basically creating a GTK hello world, and learning to compile with meson / ninja.
<nschoe> But I get this error: https://hastebin.com/ifipujojuq.bash
<clever> nschoe: try adding pkgconfig to the buildInputs
<nschoe> when running 'meson build', it complains not to be able to find gtk+-3.0, but I have created a shell.nix file with 'gnome3.gtk' in the 'buildInputs', and ran nix-shell.
<nschoe> clever, ok, I'll try this. I had thought of this, but since the outputs tells "Found pkg-config: /home/nschoe/.nix-profile/bin/pkg-config (0.29.2)" I thought it was not related.
<nschoe> Could you explain?
ThatDocsLady has joined #nixos
<clever> nschoe: pkgconfig breaks if you manually install it
<clever> it must be in the buildInputs to be able to find other buildInputs
<{^_^}> [nixpkgs] @Mic92 merged pull request #36506 → pythonPackages.pysdl2: init at 0.9.6 → https://git.io/vANbH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpjQM
<{^_^}> → ad399afd by @pmiddend: pythonPackages.pysdl2: init at 0.9.6
<nschoe> clever, okay so it means I should not have pkgconfig installed on my system, but I should always add it to my projects's buildInputs when I need it?
<{^_^}> → fc1ccb36 by @Mic92: Merge pull request #36506 from plapadoo/pysdl2-init
<Mic92_> Plato[m]: merged
<clever> nschoe: correct
<nschoe> clever, (thanks btw, it worked like a charm :) )
<nschoe> clever, good to know, I'll remove it then, thanks!
<nschoe> clever, (is this due to the fact that *.pc files are traditionally installed in a "global" location, and this doesn't work with nixOS well? A bit like library and /usr/lib or heade rfiels in /usr/include?)
<adamt> I finally got into the nixos stage 1 boot after setting initrd=initrd and root=/dev/ram0 (though i thought that were already the default values..)
schjetne has joined #nixos
zdisk[m] has joined #nixos
<sphalerite> nschoe: yes, exactly
<sphalerite> nschoe: pkgconfig has a setup hook which goes through all the buildInputs and adds any that have .pc files to PKG_CONFIG_PATH
<gchristensen> adamt: iPXE + UEFI?
<adamt> gchristensen: Yup. Think i got it working now, just confirming it right now.
<gchristensen> probably don't need root=/dev/ram0, I don't
<gchristensen> but initrd=initrd will getcha
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Ping timeout: 245 seconds]
<sphalerite> oooh we now have a warning for stateVersion not being set! That's good
<{^_^}> [nixpkgs] @Mic92 merged pull request #40470 → [RFC] pythonPackages.libnl: init+bump at 3.4.0 → https://git.io/vp9Mr
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/vpj7M
<{^_^}> → d9dadce7 by @teto: libnl: 3.3.0 -> 3.4.0
<{^_^}> → 0d17a57a by @teto: pythonPackages.libnl-python: init at 3.4.0
<{^_^}> → 99c1d030 by @Mic92: Merge pull request #40470 from teto/libnl_python
TonyTheLion has quit [Remote host closed the connection]
<adamt> gchristensen: root=/dev/ram0 is certainly required to get my kvm guest booting
<gchristensen> weirdd
<adamt> gchristensen: I'll be trying it out on actual hardware (and on vmware/vsphere) later this week, and maybe i'll turn out to be kvm specific? Hmm.
<nschoe> sphalerite, okay thanks. So it's something nixOS dev had to do, right? I mean is there a "--prefix" equivalent to tell pkgconfig where it should gather its .pc files, or did the devs had to manually scan through the buildInputs, grepping for .pc files and "manually" add them to pkgconfig?
<gchristensen> adamt: I dunno, I've been working on the various hardware Packet.net supports and none of them required that option
<sphalerite> oh, clever beat me to it lol
<adamt> gchristensen: Well, I can only say that this works: kernel bzImage init=/nix/store/p9m48ipqw8z9lrna6nnhfwld3xdxdg6p-nixos-system-nixos-18.03pre-git/init loglevel=4 nomodeset initrd=initrd root=/dev/ram0
<adamt> and if i leave out root=/dev/ram0 it fails with the not syncing vfs error
<gchristensen> cool
<adamt> thx for the help all of you, but don't worry, i'll be back.
<sphalerite> I'm fiddling about with nixos on scaleway C1 (ARM) servers and it seems to insist on building the kernel, but I don't actually need the kernel since it's just running scaleway's anyway. Can I get nixos to not depend on the kernel?
<sphalerite> Or is hacking it to use allnoconfig or something a better idea?
<sphalerite> I just don't want to wait every time
<teto1> adamt: i had problems with root when using a bzimage with nixops. Maybe I can help if you have a pb
Orbstheorem has joined #nixos
<{^_^}> [nixpkgs] @seppeljordan opened pull request #40879 → nixos/ipfs: Add option to disable local port scanning for ipfs daemon → https://git.io/vpj5u
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpj5z
<{^_^}> → 410be1aa by R. RyanTM: wireguard: 0.0.20180514 -> 0.0.20180519
<{^_^}> → 7610c101 by @Mic92: Merge pull request #40822 from r-ryantm/auto-update/wireguard-tools
<{^_^}> [nixpkgs] @Mic92 merged pull request #40822 → wireguard: 0.0.20180514 -> 0.0.20180519 → https://git.io/vphbd
<Orbstheorem> Hello, I'm wondering how do you store the ssh_authorized keys on your configuration.nix
<sphalerite> Orbstheorem: users.users.<name>.openssh.authorizedKeys.keyFiles = [./foo.pub];
<adamt> teto1: A pb? Right now it works (except for the silly root=/dev/ram0, but meh)
<etu> Orbstheorem: I have my keys like this: https://github.com/etu/nixconfig/blob/master/profiles/common.nix#L98-L105 -- all public :p
robstr has joined #nixos
<sphalerite> Orbstheorem: or ….authorizedKeys.keys = ["ssh-rsa …"];
<Orbstheorem> sphalerite: so you keep your keys on your gh repository?
Cale has joined #nixos
<sphalerite> Orbstheorem: you can point it wherever you want. I don't have a github repository for my config
<Orbstheorem> Right now, I have ${builtins.readFile /home/roosemberth/.ssh/id_rsa.pub}, but I don't like that...
<sphalerite> teto1: pb is a french-specific abbreviation for problem, most english speakers won't understand it
<sphalerite> Orbstheorem: yeah you can use .keyFiles rather than .keys and get rid of the readFile
<etu> Orbstheorem: Well, github has your public keys public anyways: https://github.com/roosemberth.keys
<adamt> sphalerite: Oh, aha. Thx teto1, i'll ping you if issues arrise. :-)
<teto1> adamt: maybe you can use init=/nix/var/nix/profiles/system/init instead of the fullpath ? my problems is related to nix boot not creating the /dev/root symlink hwne specifying root on command line
coot has joined #nixos
<teto1> I got a small patch for nixops but if you don't have the problem than that's cool
<teto1> sphalerite: thanks for making me realize. I thought that was as universal as "taxi" :)
<gchristensen> teto1: I don't think you can
<adamt> teto1: i'll try using that path instead, it would make things easier if i can just hardcode it.
<gchristensen> teto1: (use the symlink path) since at PXE it doesn't exist, I don't think
<sphalerite> :) I think it's related to how in French it's more clearly cut into pro-blème. But anyway if we want to talk about language, #nixos-chat :D
<adamt> teto1: We don't use nixops though (rolled our own), so if your issue is nixops-specific I/we isn't going to run into it
dispanser has quit [Ping timeout: 260 seconds]
<Orbstheorem> Alright, thanks!
dispanser has joined #nixos
ThatDocsLady_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/vpjdL
<{^_^}> → e9b9e344 by R. RyanTM: linuxPackages.wireguard: 0.0.20180413 -> 0.0.20180420
<{^_^}> → f40961ff by @r-ryantm: linuxPackages.wireguard: 0.0.20180420 -> 0.0.20180514 (#40631)
<adamt> teto1: gchristensen is correct, the symlink path doesn't work. Great idea though
schjetne has quit [Ping timeout: 245 seconds]
freeman42x]NixOS has joined #nixos
puckipedia has joined #nixos
<srhb> Okay, I'm stumped. I have a derivation for stdenv which I'm unable to build on one machine (is not allowed to reer to the following paths: ...-bootstrap-tools, ...-busybox) but can build just fine on a different machine. Is there any option that affects this in the same hash? I only know of allowedReferences and friends.
dispanser has quit [Remote host closed the connection]
<srhb> s/reer/refer
<{^_^}> [nixpkgs] @Mic92 pushed commit from R. RyanTM to release-18.03 « wireguard: 0.0.20180514 -> 0.0.20180519 »: https://git.io/vpjdE
<srhb> The only other thing I can think of is sandboxing on/off, but that's on in both cases.
katyucha has joined #nixos
puckipedia has quit [Ping timeout: 245 seconds]
<sphalerite> I've got a project building for ARM by patching out a -msse2 from its build scripts. Should I just do this unconditionally, in spite of the potential performance impact on x86? If not, what's the One True Way™ of determining whether we're building for x86 or something else?
puckipedia has joined #nixos
dispanser has joined #nixos
<clever> sphalerite: there is also the issue of building on an sse2 cpu, then nix-copy-closuring to a non-sse2 cpu
orivej has joined #nixos
<sphalerite> clever: hence my first question.
<sphalerite> But nowadays I'd wager that non-SSE2 hardware is pretty rarely used.
<chaker> Hey, I stopped a deployment couple of days ago. When I started it back today, the deploy kept waiting for SSH access to one of the instances (I'm using EC2 here). I checked AWS console, and found that 1 of the instance check is failing "Instance reachability check failed at May 21, 2018". By checking the "System Log" I found that Stage 1 failed with this error "switch_root: can't execute
<chaker> '/nix/store/rmv5fg3gi9h25gi8ylqlkwjnba5gya39-nixos-system-steve-dev-17.09.2875.c2b668ee726/init': No such file or directory". Here's the relevant part from System log https://pastebin.com/raw/YujUir0Q
<clever> id just unconditionally remove it, maybe add a withSSE2 ? false override
toby1851 has quit [Ping timeout: 245 seconds]
rauno has quit [Ping timeout: 252 seconds]
katyucha has quit [Ping timeout: 248 seconds]
waleee has joined #nixos
<Myrl-saki> Gahhhhh
<Myrl-saki> Why is host to open
katyucha has joined #nixos
<Myrl-saki> Why is host to container open
<Myrl-saki> but container to container closed
<{^_^}> [nixpkgs] @lheckemann opened pull request #40880 → tdesktop: enable on other platforms → https://git.io/vpjFi
<Myrl-saki> i've been working on this since last night ree
<Myrl-saki> PORT STATE SERVICE
<Myrl-saki> 1234/tcp open hotline
<Myrl-saki> PORT STATE SERVICE
<Myrl-saki> 1234/tcp filtered hotline
<Myrl-saki> And I can ping from container to cntainer.
toby1851 has joined #nixos
karlguy has quit [Ping timeout: 260 seconds]
ihar has joined #nixos
<Myrl-saki> And yes, I tested for false negatives.
katyucha has quit [Client Quit]
<sphalerite> Myrl-saki: forwarding and/or hairpin routing disabled?
<sphalerite> oh wait no you can ping between them
smallville7123 has joined #nixos
<sphalerite> Myrl-saki: firewall issues?
nuncanada has joined #nixos
nuncanada has quit [Remote host closed the connection]
<Myrl-saki> sphalerite: I agree.
<Myrl-saki> sphalerite: The problem is, host to container works.
<Myrl-saki> And I'm pretty sure I did not set an IP filter.
<sphalerite> what does iptables -S say?
<Myrl-saki> http://ix.io/1aXX
<Myrl-saki> I added the bottom ones myself
<srhb> How can I copy a derivation with nix copy? Alternatively, how can I use use a different local store with nix-copy-closure?
<sphalerite> srhb: the former, you can't, afaik. I opened an issue about it a couple months ago, not response yet.
<Myrl-saki> sphalerite: That's on the host. Should I try out the containers too?
<srhb> Meh..
<sphalerite> srhb: also not sure the latter is possible, but how about nix-instantiate with --store ?
smallville7123 has quit [Client Quit]
<sphalerite> Myrl-saki: oh, well, that's fairly open :p
<srhb> sphalerite: I was thinking that, but then I don't know what the --to argument is. maybe I can work around it by copying FROM localhost ssh
<Myrl-saki> sphalerite: Ikrrr
<Myrl-saki> I'm so confuzzled rn
<sphalerite> srhb: I mean nix-instantiate --store /tmp foo.nix -A bar.baz
<srhb> sphalerite: I only have a drv file, no expression (funtimes) but --store path --from me@localhost worked. Such weirdness. :P
<Myrl-saki> sphalerite: Oh right.
<sphalerite> srhb: heh.
puckipedia has quit [Ping timeout: 245 seconds]
<Myrl-saki> sphalerite: A routing problem is still possible btw.
<Myrl-saki> I can ping the containers' local IP from my host.'
<Myrl-saki> But can't from my container.
seppellll has quit [Quit: Leaving]
toppler` is now known as toppler
Orbstheorem has left #nixos [#nixos]
ThatDocsLady has joined #nixos
<Myrl-saki> sphalerite: Oh okay. I tried some more stuff. I can't ping my own computer from the host..
puckipedia has joined #nixos
leat has joined #nixos
<sphalerite> `ip a` and `ip route` on the host and each of the containers as well as brctl on the host could be helpful as well
<Myrl-saki> sphalerite: I don't have any bridges set up.
<sphalerite> s/brctl/brctl show/
<sphalerite> ok
<Myrl-saki> I tried setting a bridge up, but giving it no interfaces doesn't work.
<Myrl-saki> sphalerite: Basically, my idea is to have a bridge without interfaces, then let the containers connect to that bridge. Is that stupid
balsoft has joined #nixos
__monty__ has joined #nixos
<sphalerite> how did you try setting it up?
<sphalerite> I think that does make sense
<Myrl-saki> sphalerite: Declaratively, with an empty list.
<Myrl-saki> I guess I can try it out using brctl?
<sphalerite> I have one set up like that on one server
<sphalerite> networking.bridges.lxcbr0.interfaces = [];
ixxie has joined #nixos
<Myrl-saki> unstable?
<sphalerite> no, 18.03
<sphalerite> how does it not work for you?
<Myrl-saki> The bridge does not show in ip link.
<Myrl-saki> I haven't tried brctl show tho.
<clever> it will show in both
<Myrl-saki> Well.
steell has joined #nixos
<Myrl-saki> It works on the imperatively declared bridge.
<Myrl-saki> Huh. I'm stupid. It works now.
<Myrl-saki> Well. Wow. I feel like I wasted too much time.
puckipedia has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #37253 → communi: fix darwin build → https://git.io/vxOL0
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vpjAU
<{^_^}> → 421ac698 by @LnL7: libcommuni: fix darwin build
<{^_^}> → 99d56c54 by @LnL7: communi: fix darwin build
<{^_^}> → 77960752 by @Mic92: Merge pull request #37253 from LnL7/darwin-communi
schjetne has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 245 seconds]
puckipedia has joined #nixos
srhb has quit [Quit: Quit]
bebarker has quit [Quit: Leaving]
<{^_^}> [nixos-homepage] @zimbatm opened pull request #219 → news: add nixcon 2018 → https://git.io/vpjxe
steell has quit [Ping timeout: 245 seconds]
emmanuelrosa has left #nixos [#nixos]
knupfer has quit [Remote host closed the connection]
<ixxie> gchristensen: are Nixified docker builds faster?
srhb has joined #nixos
goertzenator has joined #nixos
<goertzenator> I keep getting "unzip: command not found" when trying to unpack. What am I doing wrong? https://github.com/goertzenator/nixpkgs/blob/eco-server/pkgs/games/eco-server/default.nix
<sphalerite> goertzenator: add unzip to nativeBuildInputs
<sphalerite> so add the line nativeBuildInputs = [ unzip ];
<sphalerite> you're already taking it as a function argument, you're just not using it anywhere
<sphalerite> I think you don't need the explicit unpackCmd if you do that as well, not 100% sure about that bit though
jperras has joined #nixos
humanoyd has joined #nixos
<goertzenator> That did it, thanks! Still seems to work with unpackCmd removed too.
jtojnar has quit [Remote host closed the connection]
smallville7123 has joined #nixos
asuryawanshi has quit [Ping timeout: 245 seconds]
<hodapp> is anyone using Mesa (preferably on Intel) who wants to try something for me?
<sphalerite> hodapp: sounds mysterious
<{^_^}> [nixpkgs] @hedning opened pull request #40881 → nixos/flatpak: add flatpak's XDG_DATA_DIRS to the environment → https://git.io/vpjhR
<hodapp> sphalerite: OH SO MYSTERIOUS
<hodapp> Short version: install glslviewer. grab https://github.com/patriciogonzalezvivo/glslViewer/blob/master/examples/mandelbrot.frag and run 'glslViewer mandelbrot.frag'. See if you can drag the view around with the mouse.
<hodapp> I think I am running into the same issue as described in https://github.com/anbox/anbox/issues/437
rain1 has joined #nixos
<sphalerite> hodapp: yes I can
<hodapp> sphalerite: mind also trying out the same on examples/menger.frag? and what is your configuration like?
<hodapp> and to be clear, you are dragging *inside* the view to pan it around, not just moving the window, right?
<sphalerite> hodapp: also works, and yes
<sphalerite> I'm on a Dell XPS 15 9560, using hte integrated intel graphics
<hodapp> nixos 18.03?
<sphalerite> yep, 18.03.132336.ef74cafd3e5 (Impala), glxinfo http://ix.io/1aYi
<sphalerite> hm, interesting. It segfaults if I try to run it on the discrete graphics :p
<hodapp> oh, is this with Optimus or something?
<sphalerite> yes, but usually it behaves as if it's only got intel integrated graphics
<hodapp> ahh okay
<sphalerite> to switch on and use the discrete nvidia graphics I have to prefix commands with primusrun
<__monty__> Trying to cargo build something but cargo keeps finding some libs in /usr, how can I constrict it to the nix installed libraries?
<sphalerite> __monty__: enable sandboxing.
<sphalerite> oh wait this is the same problem as a couple days ago?
<sphalerite> Where you're building in nix-shell rather than in a nix derivation?
<__monty__> Yeah, I'm not on nixos btw.
<__monty__> Yes.
<__monty__> --pure didn't help
<sphalerite> Not sure there's anything to be done about it besides using nixos or writing a derivation for it.
<tilpner> sphalerite - Try optirun instead of primusrun
rauno has joined #nixos
<__monty__> Can I write a derivation for something that requires nightly?
<tilpner> You can, but I don't know about merging it into nixpkgs
<sphalerite> tilpner: huh, that works. But primusrun is supposed to be better?
<tilpner> Yes
<tilpner> Same results here, primusrun segfaults, optirun and intel work
<__monty__> Ah, doesn't have to go into nixpkgs, I'll check the manual I guess.
cyris212 has joined #nixos
<sphalerite> oh, you could maybe also do some sort of user namespace hackery to hide /usr from the build. But that's probably complicated.
<cyris212> If I want to switch from systemd-boot to grub2, do I need to clean up /boot manually?
<sphalerite> cyris212: you can just leave it as is, in fact I'd recommend doing so until you've verified that grub works
<cyris212> sphalerite: well the problem is that even after a reboot systemd-boot is still the active boot manager
<sphalerite> you may need to set boot.efi.canTouchEfiVariables = true; and/or run nixos-rebuild boot --install-bootloader
<cyris212> sphalerite: thx, will try
cyris212 has quit [Client Quit]
balsoft has quit [Quit: balsoft]
dbmikus has joined #nixos
erasmas has joined #nixos
humanoyd has quit [Quit: WeeChat 2.1]
<__monty__> Hmm, can I follow this with the mozilla overlay? https://nixos.org/nixpkgs/manual/#compiling-rust-applications-with-cargo
<srhb> Looks like FRidh hit the same issue at one point... https://github.com/NixOS/nixpkgs/issues/34236 -- this is so bizarre...
<srhb> Where does the extra sandbox path to busybox come from?
<{^_^}> [nixpkgs] @geistesk opened pull request #40882 → pythonPackages.pypcap: 1.2.0 -> 1.2.2 → https://git.io/vhevl
dbmikus_ has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
dbmikus has quit [Ping timeout: 245 seconds]
smallville7123 has quit [Quit: rosa]
Slabity has joined #nixos
dbmikus_ has quit [Quit: WeeChat 2.1]
dbmikus has joined #nixos
<goertzenator> How would I go about installing `mono58`? I can install just `mono` with `nix-env -i mono`, but that fails for `mono58`. Ref https://github.com/NixOS/nixpkgs/blob/release-18.03/pkgs/top-level/all-packages.nix#L6623-L6658
<gchristensen> goertzenator: -iA mono58
<gchristensen> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
cyris212 has joined #nixos
<cyris212> sphalerite: worked great!
<ixxie> gchristensen:are nixified docker builds faster?
<srhb> ixxie: Usually they were fewer layers (often just one) so I think you get rid of that overhead at least.
<gchristensen> rebuilds are b/c the graph is smarter than the layers
<srhb> I'm not sure how big that is though
* gchristensen needs a personal factoid for "can't type much today"
<srhb> gchristensen: Save your hands. :)
<ixxie> gchristensen: that is what I thought :)
<goertzenator> gchristensen: Thanks, but I still get `error: attribute 'mono58' in selection path 'mono58' not found`
<ixxie> gchristensen: thanks!
<gchristensen> oh nixos.mono58 or nixpkgs.mono58
<srhb> goertzenator: It's probably nixpkgs.mono58 or nixos.mono58
<srhb> Depending on your channel name
<goertzenator> There it goes, thanks!
<Slabity> If I don't have any channels in `nix-channel --list` or `sudo nix-channel --list`, then what channel does the system use when I run `sudo nixos-rebuild`?
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
chaker` has joined #nixos
chaker has quit [Ping timeout: 252 seconds]
cyris212 has quit [Ping timeout: 256 seconds]
peacememories has joined #nixos
<tilpner> Slabity - What's the content of your NIX_PATH?
<Slabity> @tilpner `/home/tslabinski/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels`
<Slabity> Looks like `nix-channel` just isn't listing the channels that exist for some reason.
justbeingglad has joined #nixos
<tilpner> Are you on Nix 1 or 2?
<Slabity> 2
<tilpner> Huh
<tilpner> Does /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs look like a nixpkgs checkout?
contrapumpkin has joined #nixos
<Slabity> Yea, it's a symlink to its own folder
<Slabity> `$ ls /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/
<tilpner> What's the content of /root/.nix-channels?
<Slabity> Oh... There's nothing in `/root`
cyris212 has joined #nixos
<Slabity> I think I might of wiped it out of habit a little while ago
<tilpner> .nix-channels is the file nix-channel would list
<Slabity> That makes sense.
<tilpner> And your /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs might be leftover from before you broke your channels
<Slabity> Is there a way to completely reset my system from scratch then? Something that would restore all of that?
smallville7123 has joined #nixos
<gchristensen> no need to
<gchristensen> just add the channel back as root
cyris212 has quit [Ping timeout: 240 seconds]
<Slabity> Getting lots of `warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring` messages after doing that and rebuilding
<gchristensen> is $HOME your home, or root's home?
<Slabity> Well I'm just running `sudo nixos-rebuild boot --upgrade`, so I'm assuming root's home
smallville7123 has quit [Client Quit]
goibhniu has quit [Ping timeout: 256 seconds]
<Slabity> Nevermind. Looks like it's keeping the current user's $HOME
smallville7123 has joined #nixos
chaker` has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<Slabity> `.nix-defexpr/channels` exists in both `/root`and my $HOME directory though, so that's pretty weird that it says it doesn't exist
unkn has joined #nixos
Ariakenom has quit [Ping timeout: 245 seconds]
justbeingglad has left #nixos [#nixos]
jperras has quit [Quit: WeeChat 2.1]
endformationage has joined #nixos
balsoft has joined #nixos
<{^_^}> [nixpkgs] @fgaz opened pull request #40883 → zeronet: init at 0.6.2 → https://git.io/vheLg
jperras has joined #nixos
grp has joined #nixos
leat has quit [Ping timeout: 245 seconds]
smallville7123 has quit [Quit: rosa]
<ocharles> I just updated my hydra to Nix 18.03, and now I see `error: access to path '/nix/store/nbs8is7ni7yjw6ndd1s64v0x1m2cckgz-github-pulls-sorted.json' is forbidden in restricted mode`
<ocharles> Do I need to worry about this?
<srhb> ocharles: If you care about it, you'll have to patch it out..
<srhb> ocharles: I think fundamentally it's a good restriction though
<srhb> But rewriting expressions to avoid it can be too hard to do all at once
<infinisil> ocharles: srhb: You can pass paths explicitly in NIX_PATH to make them accessible even in restricted mode
<ocharles> Does it mean that my hydra can no longer build PRs?
<srhb> Not fundamentally, no.
<srhb> You're probably using some IFD shenanigans that hit the restricted eval limitation? That seems to be the most usual case.
<ocharles> My Hydra logs all seem to have <3> at the start of them now, too
<srhb> fwiw the thing to patch is in hydra-eval-jobs/hydra-eval-jobs.cc: settings.restrictEval = true -- but I do think that is the wrong (if sometimes necessary) solution.
karlguy has joined #nixos
fendor has quit [Ping timeout: 264 seconds]
karlguy has quit [Remote host closed the connection]
maingo has joined #nixos
<cransom> when i was setting up a hydra, i didn't see anyway around patching out the restrict eval in order to get the pulls working appropriately. the docs didn't mention anything about it really
<ocharles> i'm a bit confused, but it sounds like i'm being told that if I want to build PRs (I do), I should patch that
<ocharles> cransom: can you share that patch?
<ocharles> cheers
<cransom> thanks srhb.
<srhb> :)
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freeman42x]NixOS has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40838 → palemoon: 27.9.1 -> 27.9.2 → https://git.io/vpjtr
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « palemoon: 27.9.1 -> 27.9.2 (#40838) »: https://git.io/vhes4
<ocharles> "/nix/store/k0704k0sbd6a0vigd5f487ksb73plmyr-hydra-2017-11-21/bin/.nix-prefetch-git-wrapped: line 160: cd: too many arguments"
<ocharles> wut
<ocharles> updating was not a good idea. sigh
<srhb> ocharles: This was an issue with 17.09 already I think..
<{^_^}> [nixpkgs] @xeji merged pull request #40672 → faust2: fix build with llvm 5.0.2 [18.03] → https://git.io/vpN2K
<{^_^}> [nixpkgs] @xeji pushed to release-18.03 « faust2: fix build with llvm 5.0.2 (#40672) »: https://git.io/vhesK
<srhb> stdenv is becoming too polluted somehow
<ocharles> yay for unquoted bash scripting
<srhb> ocharles: fwiw that refers to the whole environmnt, so it's usually environment variables taking up too much space rather than the arguments themselves..
alexteves_ has joined #nixos
<ocharles> that error looks to me like cd is being called with multiple arguments. and line 160 is `cd $dir`, but should really be `cd "$dir"`
<srhb> Ah
<srhb> I misread the error
<srhb> :-)
<srhb> Disregard
kim0 has quit [Quit: Connection closed for inactivity]
<clever> ocharles: are there git submodules at play?
<ocharles> yes
<ocharles> I think the git submodule status format changed
<clever> one sec
<ocharles> thank
<ocharles> s*
<ocharles> I'm trying to work out what this sed expression used to do
<adamt> I read somewhere about an option to disable the predictable NIC naming (that is, return to the good old ethX-naming), but can't find the option, and can't remember where i read about it. Any hints?
<clever> ocharles: nix-prefetch-git was already fixed in nixpkgs, but hydra has its own copy of the fix
<ocharles> thanks
<ocharles> I'll try this
<clever> ocharles: this PR includes a patch for hydra to fix it
<LnL> adamt: it's a kernel option
<ocharles> huh, you guys have kris jenkins working with you?
<adamt> LnL: Ah, of course, thanks.
<ocharles> great guy, I used to work with him :)
<clever> ocharles: yep
<ocharles> clever: hmm, now I get an error about awk not existing. do you have that installed globally or something?
<clever> ocharles: one sec
<ocharles> (i see awk is used in that patch, but can't see it in your usage of the patch in the overlay)
<ocharles> cheers
<adamt> clever: good job on me missing that. thx.
<clever> we forgot to fully test it before mergint eh RP
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ccece05ade7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ccece05ade7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<Izorkin_> й
<ocharles> thanks clever, master is evaluating once again
<ocharles> you're a life saver
<clever> your welcome :)
thblt has quit [Remote host closed the connection]
contrapumpkin has quit [Remote host closed the connection]
coot has quit [Quit: coot]
<srhb> Whats $num in nix-store --query --roots $path: {memory:$num} ?
<srhb> I'd have thought pid but [scsi_eh_3] seems a weird process to be holding a gcroot.
<clever> srhb: i think its an index into an array in nix's ram
<srhb> Oh derp
<clever> doesnt mean anything really
<srhb> Restarting the daemon cleared it. Go figure.
<clever> what was $path?
<srhb> cwd?
<clever> the path given to --query --root
<clever> s
<srhb> /nix/store/g1x51davxfydkr92hi87x7rv0nnb7akj-stdenv
<clever> ah
<srhb> I forget my own substitution variables :-)
<clever> cant think of anything that would do that
<srhb> Me neither.
thblt has joined #nixos
<srhb> Oh actually
<srhb> That was a broken path
<srhb> Maybe that's related.
woodson has joined #nixos
lonokhov has quit [Quit: WeeChat 2.0]
markus1189 has quit [Ping timeout: 248 seconds]
markus1189 has joined #nixos
tilman_ has joined #nixos
coot has joined #nixos
markus1189 has quit [Ping timeout: 245 seconds]
markus1189 has joined #nixos
<tilman_> hi all, I am trying to run the armv6 image on a pi zero. I've seen betaboon mention he had issues in Dec. 2017 but nothing new since then. I have the same symptoms: blinking pattern long-short-pause, no HDMI output. Any suggestions where I might get some ideas what to check?
worldofpeace has joined #nixos
kmels has joined #nixos
asuryawanshi has joined #nixos
<worldofpeace> Anyone know how to set wineBuild to "wine32" in a nix expression?
<drakonis> it is wine32 by default
<worldofpeace> It seems to be wineWoW
<{^_^}> [nixpkgs] @vbgl opened pull request #40884 → ocamlPackages.earley_ocaml: init at 1.0.2 → https://git.io/vhelP
Sonarpulse has joined #nixos
iyzsong has quit [Ping timeout: 245 seconds]
cyris212 has joined #nixos
<ocharles> If I have imported nixpkgs, is there a way to turn that into a path? I need to do something like `import "${nixpkgs.???}/nixos/lib/eval-config.nix"`
<tilpner> ocharles - nixpkgs.path
pxc1 has joined #nixos
<ocharles> ah, path
<ocharles> thanks, I tried src
ckauhaus has joined #nixos
cyris212 has quit [Ping timeout: 245 seconds]
drakonis has quit [Remote host closed the connection]
<worldofpeace> How do I call a package with an argument to use 32bit only wine?
<clever> worldofpeace: pkgsi686Linux or pkgs.callPackage_i686 may be of use
<worldofpeace> clever: Yeah that sounds good. It'll check that. :)
aarvar has joined #nixos
drakonis has joined #nixos
waleee has quit [Quit: WeeChat 2.1]
tilman_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
woodson has quit [Read error: Connection reset by peer]
cnidario has joined #nixos
coot has quit [Quit: coot]
cnidario has quit [Remote host closed the connection]
cnidario has joined #nixos
woodson has joined #nixos
worldofpeace has quit [Remote host closed the connection]
<__monty__> Having some trouble understanding this rust error is this just nixpkgs having a broken rust-libsodium-sys? http://ix.io/1aYS
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a16c31244b9 (from 66 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
sanscoeur has joined #nixos
cyris212 has joined #nixos
ckauhaus has quit [Remote host closed the connection]
deepfire` has quit [Ping timeout: 245 seconds]
oltoAltn has quit [Quit: ZNC - https://znc.in]
leat has joined #nixos
deepfire` has joined #nixos
qqq has joined #nixos
olto has joined #nixos
qqq has left #nixos [#nixos]
periklis has joined #nixos
periklis has quit [Ping timeout: 245 seconds]
worldofpeace has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
cnidario has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
seppellll has joined #nixos
<nyanloutre[m]> disasm: Hi, I just saw your message about my PR. Isn't the build failure because of a dependency (numpy) ?
ixxie has joined #nixos
<worldofpeace> nikivi: Saw you were asking about antibody. The pr was merged. But it's only on master... You can use antibody any way you were before but It wouldn't be very nix'y.
steell has joined #nixos
steell is now known as steell-atwork
<nyanloutre[m]> It's Cython in fact : https://hydra.nixos.org/build/72894188/log
aarvar has quit [Ping timeout: 264 seconds]
<nyanloutre[m]> It seems Hydra doesn't have time to compile Cython for aarch
worldofpeace has quit [Ping timeout: 260 seconds]
worldofpeace has joined #nixos
<crystalgamma[m]> thoughtpolice: You are mentioned as maintainer of libseccomp in nixpkgs … I'm getting forbidden reference errors on my system. Since there is already a hack in the expression, do you know what's up with that?
fendor has joined #nixos
<{^_^}> [nixpkgs] @pmiddend opened pull request #40885 → pyogg: init at 0.6.2a1 → https://git.io/vhegO
sigmundv__ has quit [Ping timeout: 245 seconds]
<thoughtpolice> crystalgamma[m]: I'm afraid I don't know anything without an actual error/log with a reproduction case, if you can muster those. The RPATH fix in the libseccomp expression seems unrelated; it's just to work around (presumably) a linking glitch in the libseccomp build system
coot has joined #nixos
fragamus has joined #nixos
fragamus has quit [Read error: Connection reset by peer]
fragamus has joined #nixos
<fragamus> howdy is there a haskell platform package on nixos
<electrocat> fragamus: i'd argue you don't need the platform
<fragamus> yeah I just found nix-env -iA nixos.ghc
<fragamus> that'll do
emmanuelrosa has joined #nixos
<crystalgamma[m]> thoughtpolice: well the error I'm talking about is about RPATHs in the output directory
taeradan has joined #nixos
Synthetica has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
unkn has quit [Ping timeout: 240 seconds]
<__monty__> fragamus: Definitely read the haskell section in the nixpkgs manual, lots of useful stuff
<fragamus> will do and thanks
<crystalgamma[m]> thoughtpolice: specifically, it says "RPATH of binary /home/user/nix-store/j78q9fn22slvh1haqm8ha42v75jk2vpc-libseccomp-2.3.3/bin/scmp_sys_resolver contains a forbidden reference to /tmp/nix-build-libseccomp-2.3.3.drv-0"
ThatDocsLady has quit [Ping timeout: 245 seconds]
iqubic has joined #nixos
<fragamus> __monty__ : I should avoid installing stack on nixos right? I tried once and it was hell.
coot has quit [Read error: No route to host]
<__monty__> fragamus: I don't use it. I assumed it'd work well. As long as you avoid stack's "nix integration."
Mateon3 has joined #nixos
dottedmag_ has joined #nixos
dottedmag_ has quit [Changing host]
dottedmag_ has joined #nixos
<__monty__> Fwiw, I prefer nix to stack for haskell on non nixos.
dottedmag has quit [Quit: QUIT]
dottedmag_ is now known as dottedmag
coot has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
Mateon2 has quit [Ping timeout: 252 seconds]
Mateon3 is now known as Mateon2
worldofpeace has quit [Remote host closed the connection]
roosemberth[hll] has joined #nixos
<roosemberth[hll]> Hey, is it possible to delete purge events, cache, and everything related to rooms that every user in the hs left?
aarvar has joined #nixos
<gchristensen> what?
<adamt> Sounds like a matrix-question.
<adamt> Actually I'm fairly confident that's the case :-)
<adamt> roosemberth[hll]: try asking in #matrix (or whatever the matrix-equivalent is of that room)
<MichaelRaskin> Joining that room via Matrix can crash your homeserver, though
<LnL> lol
<roosemberth[hll]> Ups, wrong roomx )
<roosemberth[hll]> x) **
<adamt> Brilliant design. :-)
<roosemberth[hll]> Sorry xDD
<roosemberth[hll]> MichaelRaskin: Yeah, I'm joining using irc xD
<disasm> fragamus: if you want to use stack, use nix-shell -p stack instead of installing with nix-env. You can also do something like this if you need other dependencies: `nix-shell -p "haskell.packages.ghc842.ghcWithPackages (pkgs: with pkgs; [ stack turtle ])"` but yeah, in general use nix and not stack :)
<fragamus> i tried to install stack on nixos and I felt like a total idiot
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a16c31244b9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
gb has joined #nixos
<Plato[m]> When does nixos-unstable advance? Each time a PR is made and all tests pass?
<adamt> Plato[m]: There's an explanation here: https://howoldis.herokuapp.com/
baconicsynergy has quit [Remote host closed the connection]
<Plato[m]> Ah, thanks.
<Plato[m]> I assume just commonly used packages are built because it would take ages otherwise?
<gchristensen> mmm no all of it
<gchristensen> we have $many cores across several systems working on it, with auto-scaling as necessary
<Plato[m]> Oh, I misread. Or rather, I'm not sure what this means: unstable job that consists of most commonly used packages
<LnL> only common packages block the channel if they break
<LnL> but updates only happen when everything has finished building
<Plato[m]> Ahhh, so non-common packages may break. Hopefully somebody gets noticed when that happens at least?
<gchristensen> yep
ixxie has quit [Ping timeout: 245 seconds]
<LnL> yeah, if it's not cached there's a good chance it's broken
<Plato[m]> Great, thanks for the explanation. Seems really solid!
<adamt> And packages that failed to built, and isn't marked as required, are just left out of the next unstable release, right?
ryantrinkle has joined #nixos
griff_ has quit [Ping timeout: 252 seconds]
cyris212 has quit [Ping timeout: 260 seconds]
cyris212 has joined #nixos
<{^_^}> [nixos-homepage] @zimbatm opened pull request #220 → Replace nix-devel by Discourse → https://git.io/vheoU
Neo-- has quit [Ping timeout: 252 seconds]
seraxis has joined #nixos
ixxie has joined #nixos
dispanser has quit [Ping timeout: 260 seconds]
cyris212 has quit [Ping timeout: 245 seconds]
silver has joined #nixos
dispanser has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/vheKv
<{^_^}> → d775dc91 by @NeQuissimus: linux-copperhead: 4.14.41 -> 4.14.42
<{^_^}> → e8ef471d by @NeQuissimus: linux-copperhead: 4.16.9.a -> 4.16.10.a
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux-copperhead: 4.16.9.a -> 4.16.10.a »: https://git.io/vheKU
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux-copperhead: 4.14.41 -> 4.14.42 »: https://git.io/vheKL
nh2 has joined #nixos
nh2 has left #nixos [#nixos]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #40886 → atom: 1.27.0 -> 1.27.7, atom-beta: 1.24.0-beta3 -> 1.28.0-beta1 → https://git.io/vheK9
ckauhaus has joined #nixos
jperras has quit [Quit: WeeChat 2.1]
Neo-- has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jperras has joined #nixos
<{^_^}> [nixpkgs] @woffs opened pull request #40887 → shotcut: 18.03.06 -> 18.05.08 → https://git.io/vhe6G
worldofpeace has joined #nixos
<gchristensen> are there any terminal emulators which allow for either programmatic- or hotkey-based color scheme switching?
<samueldr> I wouldn't be surprised if kitty allows it, it seemed to allow binding anything
<hodapp> I'm sure gnome-terminal has some DBus-based atrocity you can tap into
tmaekawa has joined #nixos
<adamt> Is anybody aware of any applications that parses the kernel cmdline, and makes it possible to query the values? Or does everybody implement the parsing from scratch? (not difficult, I know, just wondering)
<gchristensen> samueldr: all these GPU-based terminal emulators ...
tmaekawa has quit [Client Quit]
<gchristensen> samueldr: imagine "Yeah, I have 4,000 cores backing my text based interface." except in the 70s
Ariakenom has joined #nixos
<andi-> gchristensen: st supports that with a default patch
ckauhaus has quit []
<gchristensen> does st scroll yet?
<andi-> gchristensen: in general st is pretty "Scriptable" (if you consider writing patches for C file scripting)
<andi-> gchristensen: yes, with the correct (Standard) patch
<hodapp> o_O
<hodapp> C... scripting...
<andi-> :D
<seraxis> st is really easy to configure tbf
<andi-> thats as bit of the philosophy of st. They don't want to handle anything like config parsing
<hodapp> I still don't use st because I had too many problems with things just not rendering right :-/
<samueldr> now now, you never specified "simpler" terminal emulators :)
<gchristensen> IMO the best terminal emulator is iTerm2 on macOS
<seraxis> hot take
<andi-> hodapp: really? st is the first terminal emulator that just works for me.. all the others required special fonts, perl plugins (urxvt…) etc
<cryp2nomicon> any tips, how to install aterm in nixos?
<LnL> gchristensen: I've been trying out kitty for the last few weeks and I like it sofar
<hodapp> andi-: yes; a lot of normal terminal things for me, in and outside of tmux, would just fail to work right
<samueldr> (tbh, compositing glyphs on the GPU seems as dumb as pushing pixels on the CPU, when using the GPU isn't an issue)
<andi-> hodapp: do you have an exact use case?
<andi-> I haven't come across any in >1.5y of st
<neonfuz> anyone know how to configure a finger print reader on nixos?
<neonfuz> like back when I used fedora it used the fingerprint reader to do everything, log in, sudo, etc
<gchristensen> LnL: this is looking pretty good, yeah! though I can't seem to make the config file editing work.
<neonfuz> I see some options for nixos, but I don't really know what to set them to to get it working
nh2 has joined #nixos
<hodapp> andi-: will try it tonight and see if I can reproduce the issues
<gchristensen> ]$ screen -dr
<gchristensen> Cannot find terminfo entry for 'xterm-kitty'.
<gchristensen> :D
<andi-> mhm kitty is laggy for me :/
<andi-> I see considerable input lag
nh2 has quit [Client Quit]
<LnL> gchristensen: yeah, term xterm-256color
dispanser has quit [Remote host closed the connection]
<gchristensen> lol I took the default config file from github, did `kitty --config ./kitty.conf` and it started and immediately crashed with an exception. this is going to be a fun yak
balsoft has quit [Quit: balsoft]
<steell-atwork> so i have a ~/.config/nixpkgs/config.nix to override some packages, is there a way to apply it to a specific channel?
<hodapp> hmm, st seems to be working fine now for me (at least, in resuming my tmux sessions started wherever/whenever)
<hodapp> I feel like all my problems occurred when I was on Arch, not NixOS, whether that matters or not
<tilpner> steell-atwork - It should be applied to any channel you import
<andi-> hodapp: I have the same feeling very often but then again I can not really say it with any confidence..
<steell-atwork> tilpner: any and all? should i do a hasAttr check if im trying to target a package that only exists in unstable?
<hodapp> will try it for a few days and see how it goes
<gchristensen> LnL: kitty seems great!
dispanser has joined #nixos
<samueldr> in the end I settled on alacritty, seemed pretty much the same, but it has less features; alacritty handles mouse selection better than kitty
<tilpner> steell-atwork - Importing nixpkgs should by default load that config, but you can of course prevent that from happening
* cransom hops on the kitty bandwagon for a while to see how it is.
<infinisil> samueldr: You mean the double tap to select?
woodson has quit [Ping timeout: 245 seconds]
Deknos has joined #nixos
<infinisil> Oh wait, mouse selection
goertzenator has quit [Ping timeout: 260 seconds]
seanparsons has quit [Read error: Connection reset by peer]
taeradan has quit [Quit: Leaving]
<gchristensen> cransom: I stopped using all of my other switches this weekend and moved fully over to the junos one. it has been a lot of fun, struggling through that world :D
Czen has left #nixos [#nixos]
symphorien has joined #nixos
<cransom> gchristensen: so. many. levers.
Deknos has left #nixos [#nixos]
<gchristensen> all named very similarly
<symphorien> hello, is it possible to do something like (import "channel:nixpkgs-unstable" {}).hello ?
scoobydooo[m] has joined #nixos
<samueldr> infinisil: yeah, double and triple-click to select words/lines
rauno has quit [Ping timeout: 245 seconds]
<symphorien> I tried some variations but none work
<samueldr> especially chained by keeping it pressed and dragging to select multiple words/lines
<cransom> yeah, there's a chunk of nuance in there. it's fun to learn new things though
<infinisil> samueldr: Yeah, and you can even change the selection regex in the config
tor7200 has joined #nixos
Czen has joined #nixos
<ij> I'm in a noDesktop xfce session and I'm trying to start up xfce4-notifyd, but it says dbus refused the connection. Why is that and what odes that mean?
goertzenator has joined #nixos
nh2 has joined #nixos
<emmanuelrosa> ij, try asking at #xfce, since xfce4-notifyd is their product.
nh2 has quit [Client Quit]
<ij> gotcha, will do
seanparsons has joined #nixos
goibhniu has joined #nixos
dispanser has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
roosemberth[hll] is now known as Orbstheorem
<goertzenator> I must be having a brainfart here. Why on earth could this directory not be writable? https://gist.github.com/goertzenator/beacd2df55871cb9c8d66bda74ea4b59 Otherwise progress on my first package is going well...
<cransom> hrm. handy. kitty renders emoji slightly nicer than iterm2 does for me.
dispanser has joined #nixos
<cransom> directories need to be +x for you traverse them.
<gchristensen> cransom: send me one?
rauno has joined #nixos
<goertzenator> (facepalm) thanks
<cransom> 🚀 to the moon.
<gchristensen> ! it works better than terminator did, for sure. terminator would show it about 8x too large, this one is rendering it properly
globin has quit [Ping timeout: 276 seconds]
<cransom> iterm has them just slightly too large but never quite kerned properly either. could also be a font thing
<adamt> it's a real pretty rectable with letters inside of it!
<adamt> s/rectable/rectangle/
<symphorien> ah found it: with import (builtins.fetchTarball channel:nixpkgs-unstable) {}; foo
dispanser has quit [Ping timeout: 245 seconds]
kim0 has joined #nixos
<cransom> oh. thats ... not useful. heh.
<__monty__> I like terminology, if you're not afraid of enlightenment and their ungoogleable names.
dispanser has joined #nixos
<gchristensen> cransom: it really really gets the point across at that size
olto has quit [Quit: ZNC - https://znc.in]
olto has joined #nixos
sigmundv__ has joined #nixos
dispanser has quit [Remote host closed the connection]
globin has joined #nixos
dispanser has joined #nixos
<ixxie> zimbatm: you around?
<zimbatm> yep
toby1851 has quit [Ping timeout: 245 seconds]
<ixxie> zimbatm: I've been trying to run jupyterlab on my NixOS machine but it cannot seem to find the kernel
<ixxie> zimbatm: getting `nix/store/96wn2gz3mwi71gwcrvpfg39bsymd7gqx-python3-3.6.5/bin/python3.6m: No module named ipykernel_launcher` in the log
<ixxie> is it not supposed to be launched from my user environment?
fragamus has joined #nixos
<zimbatm> most of the times I use it in a nix-shell environment
<zimbatm> which changes the rules a bit
toby1851 has joined #nixos
<ixxie> oh so you put whatever you need in there including the kernel
<zimbatm> yes
<zimbatm> this one only has the notebook but I have some examples with kernels lying around
<ixxie> jupterlab can run without the ipykernel so I guess it does make sense not to force that on the user
<ixxie> but it would be nice to have an easy way to have a system installation of jupyterlab
<ixxie> although I can really see the sense in your approach, its very nixy
<ixxie> well, I will have to think of this :) thanks zimbatm
<zimbatm> +
sigmundv__ has quit [Ping timeout: 245 seconds]
<zimbatm> most of the time I end-up with custom dependencies for the project so the shell.nix makes more sense to me
<zimbatm> what would be nice is to have a deeper integration. the web UI could be installed globally, and then it would load the shell.nix before spawning a notebook
<zimbatm> that means changing jupyterlab I guess
<gchristensen> that sounds awesome
<ixxie> zimbatm: arborsu has been working on a Nix based custum kernel builder :)
goibhniu1 has joined #nixos
<ixxie> zimbatm: so it would be as simple as a nix expression for your kernel of the day
goibhniu has quit [Ping timeout: 245 seconds]
<zimbatm> +
<zimbatm> reproducible data science
<zimbatm> reproducibler :p
<{^_^}> [nixpkgs] @dtzWill opened pull request #40888 → vagrant: 2.0.4 -> 2.1.1 → https://git.io/vheyJ
<{^_^}> [nixpkgs] @dotlambda merged pull request #40882 → pythonPackages.pypcap: 1.2.0 -> 1.2.2 → https://git.io/vhevl
<{^_^}> [nixpkgs] @dotlambda pushed commit from @geistesk to master « pythonPackages.pypcap: 1.2.0 -> 1.2.2 (#40882) »: https://git.io/vheys
<{^_^}> [nixpkgs] @GrigoriyDmitriev opened pull request #40889 → kakoune-unstable: 2018-03-22 -> 2018-05-21, debug mode disabled → https://git.io/vheyW
<ixxie> zimbatm: indeed! I am all for do NixData stack :) have tried to package python stuff to this end over the last months
<ixxie> zimbatm: hopefully I will manage to help aborsu with the jupyter + jupyterhub and eventually jupyterlab services, but I never did a service module PR so its all new
<ixxie> anyway, bedtime for now
<ixxie> have a good evening
ixxie has quit [Quit: Lost terminal]
<zimbatm> see you!
ni291187 has joined #nixos
fenedor has joined #nixos
dispanser has quit [Ping timeout: 245 seconds]
dispanser has joined #nixos
fenedor has quit [Client Quit]
fenedor has joined #nixos
dispanser has quit [Remote host closed the connection]
endformationage has quit [Quit: WeeChat 1.9.1]
fendor has quit [Ping timeout: 245 seconds]
endformationage has joined #nixos
<bennofs[m]> Is there any way to get feedback on PRs to hydra? Should I write to the mailing list? https://github.com/NixOS/hydra/pull/529
muzzy has joined #nixos
dispanser has joined #nixos
robstr has quit [Quit: WeeChat 1.9.1]
cnidario has joined #nixos
ni291187 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dotlambda opened pull request #40890 → restic: 0.8.3 -> 0.9.0 → https://git.io/vhe9h
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nwspk> Quick question regarding the (forced) switch from the Mailinglist to Discourse: is it possible to just sign up and get the posts in my inbox or do I have to create a account?
<nwspk> Metaquestion: why even drop the mailinglist?
mahalel_ has joined #nixos
<MichaelRaskin> I think you need to create an account (and set it to mailing list mode); there are no mandatory fields beyond email/displayname/subscription password
<MichaelRaskin> I am not sure Google mailinglist (what about no normally linkable archives) is any better
<MichaelRaskin> Maintaining an actual mailing list turned out too much hassle, I guess
Czen has quit [Remote host closed the connection]
Czen has joined #nixos
asuryawanshi has quit [Ping timeout: 260 seconds]
srdqty has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/fee1acad35c (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<nwspk> Well, I disliked the Google thing. However, the "third party-sharing" stuff in the Discourse's Privacy Policy sucks
kreetx has quit [Ping timeout: 245 seconds]
<muzzy> If a have a few nixos devices on my network, does it make sense to use nixops to manage them all?
grp has quit [Quit: box shutting down...]
<infinisil> muzzy: I'm doing that with my 3 machines, works pretty well :)
baconicsynergy has joined #nixos
<muzzy> infinisil, cool! How do you configure each device? I've noticed that inside a vm deployed by nixops, I can't edit /etc/nixos/configuration.nix (doesn't exist)
<infinisil> Well you'd do it from a single machine
<clever> muzzy: you edit the config on the machine thats running nixops
<adamt> muzzy: basically you're generating the entire remote host locally, including configuration, and then pushing it out.
<muzzy> So there is one central device that manages the network with nixops?
<clever> yeah
<adamt> muzzy: Well, you could put the config in git and push it to github (or w/e), just be careful with the silly (sorry) sqlite db that nixops uses.
<bennofs[m]> is there something like a stateless nixops for small networks? where I can just list IPs and it pushes the config to nixos systems running at those ips?
jtojnar has joined #nixos
<muzzy> okay I think I understand, thank you guys
<clever> bennofs[m]: if every host is using the "none" targetEnv, you can technically just `nixops create` the same deployment on several machines, and deploy from any
<adamt> bennofs[m]: We made our own (not published yet), and so did other people as well i assume.
<gchristensen> bennofs[m]: nix-deploy
<clever> bennofs[m]: there is no real state in such a system
<{^_^}> [nixpkgs] @copumpkin pushed to no-more-nixpkgs-symlink « Stop requiring the nixpkgs symlink in NixOS channel tarballs »: https://git.io/vhe75
emmanuelrosa has left #nixos [#nixos]
<adamt> bennofs[m]: Actually, if you ignore the part about creating the system for the target host, the magic of pushing a derivation and activating it can be done in less than 10 lines of bash
<{^_^}> [nixpkgs] @copumpkin opened pull request #40892 → Stop requiring the nixpkgs symlink in NixOS channel tarballs → https://git.io/vhe7N
<bennofs[m]> cool! nix-deploy looks great
adamt has quit [Quit: WeeChat 2.0]
atu has joined #nixos
atu has quit [Changing host]
atu has joined #nixos
atu is now known as adamt
toby1851 has quit [Read error: No route to host]
toby1851 has joined #nixos
<muzzy> So clever, you use one device (like a desktop or laptop) to configure your network including the router and misc servers?
cmacrae has joined #nixos
cmacrae has left #nixos [#nixos]
<clever> muzzy: currently, it only configures the router (because it was too slow to build itself), and everything else is nixos-rebuild
<clever> muzzy: but i plan to move more things to nixops when i have time
<clever> there is an example deployment with 2 netbooks in the same repo, they have a similar problem
<clever> but the drive in those is also soo small you can barely fit 2 generations of nixos
fragamus has joined #nixos
<clever> you have to practically strip the OS naked to even deploy a 2nd version
<muzzy> clever: huh, I'd be afraid of the network dying somehow and being unable to configure the router with nixops
<gchristensen> muzzy: it is nice to be able to access its console to revert sometimes
<clever> muzzy: you still have rollback options in the grub menu of the router
<clever> muzzy: and i know enough CLI wizardry that i can force the network to come online without using the proper services
<clever> muzzy: ive even done network in the initrd, several times
<muzzy> clever: oh I see, seems like that would work fine then
<adamt> muzzy: If you're afraid of nixops, then just see how it works under the hood. Probably easier to just read the nix-deploy src for that though, they probably do exactly the same for updating the remote host.
nschoe has quit [Quit: Program. Terminated.]
<ij> how does gentoo do things? do you have to build everything? do you have build caches? how are they worse than nix caches?
<{^_^}> [nixpkgs] @bkchr opened pull request #40893 → WIP: plasma5: 5.12 -> 5.13 → https://git.io/vheFX
coot has quit [Quit: coot]
jtojnar_ has joined #nixos
<adamt> ij: When I used Gentoo (10+ years ago) you could build everything, but they also had prebuild packages for things like libreoffice
jtojnar has quit [Ping timeout: 245 seconds]
jtojnar_ is now known as jtojnar
<adamt> ij: Remember that many people use custom build flags and optimizations on Gentoo, so a build cache wouldn't be that useful unless you used the same flags as everybody else
tertle||eltret has joined #nixos
russiancow[m] has joined #nixos
<symphorien> what are all the roots called {temp:31182:101} in nix-store --gc --print-roots ?
<{^_^}> [nixpkgs] @dtzWill opened pull request #40894 → heaptrack: 2018-01-28 -> 1.1.0 → https://git.io/vhebH
<{^_^}> [nixpkgs] @Ma27 opened pull request #40895 → partition-manager: 3.0.1 -> 3.3.1 → https://git.io/vheNE
seppellll has quit [Ping timeout: 245 seconds]
<clever> symphorien: i think pid 31182 is using that path
<symphorien> well there is {memory:fdsdfdsf} for that
<symphorien> this pid is the nix-daemon
seraxis has quit [Remote host closed the connection]
<clever> symphorien: what does `ps aux` say about that pid, the full line
scoobydooo[m] has left #nixos ["User left"]
<MichaelRaskin> Temporary roots are probably roots for running builds
<symphorien> root 31182 0.0 0.0 95912 7600 ? Ssl 21:23 0:00 nix-daemon 31174
<symphorien> I have no currently running build
jtojnar has quit [Ping timeout: 252 seconds]
michas_ has joined #nixos
<clever> symphorien: and what is pid 31174 ?
<symphorien> symphor+ 31174 0.0 0.6 620228 50484 pts/2 Sl+ 21:23 0:00 nix repl
<clever> that would be your problem
<clever> close that nix repl
<symphorien> indeed if I close the nix repl they go away
<symphorien> thanks
xy2_ has quit [Ping timeout: 240 seconds]
<cryp2nomicon> need some tip how to make screen brightness adjustable via hotkeys in a T440 nixos+fluxbox setup
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/fee1acad35c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
ndrei has quit [Ping timeout: 252 seconds]
<adamt> cryp2nomicon: On i3 i do this: bindsym XF86MonBrightnessDown exec xbacklight -dec 3
<adamt> and bindsym XF86MonBrightnessUp exec xbacklight -inc 3
tor7200 has quit [Ping timeout: 260 seconds]
<adamt> (that works with the proper hotkeys on my T450s)
<{^_^}> [nixpkgs] @symphorien opened pull request #40896 → nix-du: init at 0.1.1 →
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<worldofpeace> Why isn't wineWow in the binary cache?
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #40894 → heaptrack: 2018-01-28 -> 1.1.0 → https://git.io/vhebH
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vhexY
<{^_^}> → 5f9b2597 by @dtzWill: heaptrack: 2018-01-28 -> 1.1.0
<{^_^}> → 527405a2 by @dtzWill: Merge pull request #40894 from dtzWill/update/heaptrack-1.1
<cryp2nomicon> adamt: xbacklight worked.. but i need to type the command in the terminal. Not via hotkey (F5, F6)
<adamt> cryp2nomicon: I'm sure fluxbox must have a way of binding keys to commands, but somebody else will have to help you with that :-/
muzzy has quit [Ping timeout: 245 seconds]
__monty__ has quit [Quit: leaving]
simukis has quit [Read error: Connection reset by peer]
simukis has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
cnidario has quit [Read error: Connection reset by peer]
simukis has quit [Ping timeout: 245 seconds]
ryantrinkle has left #nixos [#nixos]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hiratara has quit [Ping timeout: 260 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nixos
hamishmack has quit [Client Quit]
hiratara has joined #nixos
Ariakenom has quit [Quit: Leaving]
hoshineko has joined #nixos
sanscoeu_ has joined #nixos
<hoshineko> hello, anyone here got discord working on nixos?
<worldofpeace> yeah
<hoshineko> for some reason the app freezes completely when i try to connect to a voice channel
<hoshineko> stays at "RTC Connecting" or "Authorizing"
sanscoeur has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40642 → ghc, haskell-infra: Improve cross-compilation → https://git.io/vpbM7
<hoshineko> i installed it as user with nix-env though, don't know if installing is a ssem package would make a difference
<{^_^}> → 900862ea by @Ericson2314: haskell generic builder: `setupHaskellDepends` should be `nativeBuildInputs
<{^_^}> [nixpkgs] @Ericson2314 pushed 13 commits to staging: https://git.io/vhehF
<{^_^}> → 15759df6 by @angerman: haskell generic builder: Use setup package database for setup-depends
<{^_^}> → 4ea33def by @angerman: haskell generic builder: Disable static libs on Windows because no -staticlib
<worldofpeace> You should launch it from a terminal and try to see debug output.
silver_ has joined #nixos
<worldofpeace> - when doing that
silver has quit [Read error: Connection reset by peer]
<adamt> hoshineko: You should get exactly the same when installing it as a system pkg and when installing it for your own user
<worldofpeace> Should we be using autoPatchelf for discord?
jasongrossman has quit [Ping timeout: 260 seconds]
<hoshineko> doesn't seem like discord outputs anything usefull to terminal aside form initial updating and whatnot
<hoshineko> and apparently it's failing to download a module called "discord_vigilante"
<{^_^}> [nixpkgs] @andir merged pull request #40890 → restic: 0.8.3 -> 0.9.0 → https://git.io/vhe9h
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/vhejl
<{^_^}> → 3709e30d by @dotlambda: restic: 0.8.3 -> 0.9.0
<{^_^}> → f763f8cd by @andir: Merge pull request #40890 from dotlambda/restic-0.9.0
michas_ has quit [Ping timeout: 240 seconds]
<worldofpeace> did you try -d or --help or -v -vv --vvv
<hoshineko> it doesnt seem to care about arguments at all
<worldofpeace> Ohh look it's a know issue with lots of people https://dev.solus-project.com/T6143
<{^_^}> [nixpkgs] @xeji merged pull request #40887 → shotcut: 18.03.06 -> 18.05.08 → https://git.io/vhe6G
<{^_^}> [nixpkgs] @xeji pushed commit from @woffs to master « shotcut: 18.03.06 -> 18.05.08 (#40887) »: https://git.io/vhejD
<hoshineko> i've had it happen in Gentoo when i tried to firejail it, but it worked without it
<hoshineko> it always happens on NixOs though
<worldofpeace> Someone said in that thread that they fixed it by uninstalling discord and then removing the configuration files then reinstalling. But that's an entirely different os.
Neo-- has quit [Remote host closed the connection]
Neo-- has joined #nixos
<hoshineko> already tried deleting .config/discord anyways
<worldofpeace> Hmm
sigmundv_ has joined #nixos
ericsagnes has quit [Ping timeout: 252 seconds]
AllanEspinosa has joined #nixos
<AllanEspinosa> does 'nixos-run-vms' need to be run as root?
<manveru> hoshineko: what does the inspector say?
<hoshineko> sec
andersk has quit [Ping timeout: 248 seconds]
<manveru> hoshineko: also... a long shot, but maybe running it in strace might yield a bit of info
<AllanEspinosa> getting error: cannot bind monitor socket: Permission denied at /nix/store/9z4....-nixos-test-driver/lib/perl5/site_perl/Machine.pm line 128.
sigmundv__ has joined #nixos
bennofs has joined #nixos
<hoshineko> sorry about the screenshot, i dont know if theres a way to copy text from console nicely
<manveru> does the console still work after that?
<hoshineko> and i already tried to run strace actually, ays sommat abot "resource not available"
<manveru> if so, the latest output is at the bottom
<hoshineko> yes, console works the whole time
<hoshineko> https://i.imgur.com/SpwoO33.png nothign interesting there
worldofpeace has quit [Ping timeout: 264 seconds]
<manveru> hmm, strange
<manveru> and discord in a normal browser works fine?
<hoshineko> yes
hiratara has quit [Quit: ZNC - http://znc.in]
hiratara has joined #nixos
sanscoeu_ has quit [Remote host closed the connection]
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @alexfmpe opened pull request #40897 → Use requireFile for impure XCode dependency → https://git.io/vhvvZ
<{^_^}> [nix] @dtzWill opened pull request #2173 → serialise: fix buffer size used, hide method for internal use only → https://git.io/vhvvW
xy2_ has quit [Ping timeout: 245 seconds]
<hoshineko> okay, well, i can connect to the channel now after disabling pulseaudio
<hoshineko> problem is i dont know how to get my mic to work withut pulseaudio
<hoshineko> it normally works out of the box in every other distro (with just alsa)
<hoshineko> anyone have any starting point? i've never had to fuck around with alsa or pulseaudio
dbmikus has quit [Ping timeout: 252 seconds]
endformationage has joined #nixos
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « gn: fix patch url »: https://git.io/vhvvj
ericsagnes has joined #nixos
<hoshineko> oh i probably need to add myself to the audio group
<hoshineko> brb rebooting
hoshineko has quit [Quit: hoshineko]
jasongrossman has joined #nixos
srk has quit [Ping timeout: 265 seconds]
hoshineko has joined #nixos
<hoshineko> well that didn't do it
bennofs has quit [Ping timeout: 245 seconds]
ericsagnes has quit [Ping timeout: 260 seconds]
brendanzab has quit [Ping timeout: 256 seconds]
sanscoeur has quit [Remote host closed the connection]
brendanzab has joined #nixos
srk has joined #nixos
burton__ has joined #nixos
eqyiel has quit [Ping timeout: 256 seconds]
<hoshineko> okay apparently there's a new bar (or whatever it's called) in alsamixer called "digital" and that's how i get my mic input now, but the sound quality is terrible
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c9ce4b2f200 (from 19 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<hoshineko> but even then discord is detecting no input/output sound devices
srdqty has quit [Quit: WeeChat 1.9.1]
jasongro` has joined #nixos
jasongrossman has quit [Read error: Connection reset by peer]
<hoshineko> wait,i'm getting the same thing again" i can't connect to voice channel, haha
Ross has quit [Ping timeout: 260 seconds]
sir_guy_carleton has joined #nixos
<hoshineko> well ok now i connected to voice channel again for no reason
eqyiel has joined #nixos
<hoshineko> brilliant
toby1851 has quit [Ping timeout: 260 seconds]
goibhniu1 has quit [Ping timeout: 245 seconds]
toby1851 has joined #nixos
Ross has joined #nixos
bennofs has joined #nixos
<manveru> hmm
<manveru> i mean, it takes a few seconds here, but voice in discord works, afaict
<hoshineko> ye i think the problem right now is with alsa
gb has quit [Quit: Page closed]
erasmas has quit [Quit: leaving]
<manveru> i'm using PA, fwiw
<hoshineko> micrphone "works" but in a different way, in other distros i'd just use the "Mic" switch https://i.imgur.com/waUkBPE.png
<hoshineko> that doesnt do anything here, i have to go on the capture tab and there is a "digital" switch there, which seems to be microphone, but the sound quality is terrible, it's mostly static
<hoshineko> so maybe i have the wrong audio modules
<hoshineko> in gentoo all i needed was snd_hda_codec_realtek, and i can see it here too with lsmod
<hoshineko> so i don't really know
<hoshineko> s/static/noise
<hoshineko> mixed up languages there
jasongro` has quit [Ping timeout: 245 seconds]
jperras has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #40850 → nixos/tests/mysql-replication: fix test → https://git.io/vpj3P
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/tests/mysql-replication: fix test (#40850) »: https://git.io/vhvUB
<hoshineko> maybe i have other audio-related modules loaded that are conflicting?, that's not possible is it?
alexteves_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40898 → requireFile: Use stdenvNoCC → https://git.io/vhvU1
<hoshineko> and ye pulseaudio works but for some reason discord doesn't like it
<manveru> i'm not sure, it still seems weird that it'd crash just because PA is running
fenedor has quit [Read error: Connection reset by peer]
<hoshineko> ye, it isn't working perfectly with alsa though, it stays at "Authorizing" for a while and then it finally connects on retry
AllanEspinosa has quit [Quit: leaving]
griff_ has joined #nixos
cryp2nomicon has quit [Remote host closed the connection]
ericsagnes has joined #nixos
pxc1 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vhvko
<{^_^}> → 9ec53a39 by @Ericson2314: requireFile: Use stdenvNoCC
<{^_^}> → 67682550 by @Ericson2314: Merge pull request #40898 from obsidiansystems/requireFile-without-cc
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40898 → requireFile: Use stdenvNoCC → https://git.io/vhvU1
<iqubic> How hard is it to add a new keyboard layout to NixOS? And can I customize that keyboard to chosee what characters go where?
<bhipple[m]> See `$ nixos-option services.xserver.xkbOptions`. This allows you to add `/etc/X11/xkb/rules` options to your /etc/nixos/configuration.nix.
<bhipple[m]> I'm not sure about adding a whole layout, but I use it for swapping caps -> ctrl and things like that.
<clever> xkbOptions = "caps:shiftlock";
<clever> i made my capslock affect numbers as well
<bhipple[m]> `xkbOptions = "caps:ctrl_modifier";` is what I have
<iqubic> clever: I get how that works. What if I want to add an AltGr layer or something, or just switch to dvorak?
<iqubic> Is that possible?
jperras has joined #nixos
ericsagnes has quit [Ping timeout: 260 seconds]
<clever> iqubic: i think you need to use the xkbDir option
<clever> then give it a dir that has xkb config files
<{^_^}> [nixpkgs] @xeji closed pull request #40843 → libngspice: 26 -> 27 → https://git.io/vpjm7
<iqubic> I have no idea how to write xkb config files. I'll have to go look it up.
jperras has quit [Ping timeout: 245 seconds]