andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
phreedom_ has joined #nixos
drakonis has quit [Ping timeout: 272 seconds]
leothrix has quit [Ping timeout: 255 seconds]
phreedom has quit [Ping timeout: 240 seconds]
rogue_koder has joined #nixos
dsiypl4 has joined #nixos
blaggacao has quit [Read error: Connection reset by peer]
vidbina has joined #nixos
blaggacao has joined #nixos
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82028 → qalculate-gtk: 3.7.0 -> 3.8.0 → https://git.io/JvrrX
euandreh has joined #nixos
mbrgm_ has joined #nixos
nwops has quit [Quit: nwops]
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
leothrix has joined #nixos
<locallycompact> oh cool
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82029 → quilter: 2.1.1 -> 2.1.2 → https://git.io/Jvrrh
<locallycompact> oh wait what is this
nek0 has joined #nixos
<locallycompact> how do I pull this into my nixos config
nek0 has quit [Remote host closed the connection]
<manveru> well, that's a bit trickier :)
fendor__ has joined #nixos
leothrix has quit [Ping timeout: 256 seconds]
butterthebuddha has joined #nixos
butterthebuddha has quit [Client Quit]
abathur has quit [Ping timeout: 255 seconds]
<locallycompact> is there a reason this isn't upstream?
fendor_ has quit [Ping timeout: 240 seconds]
nek0 has joined #nixos
<manveru> i guess just lack of time
butterthebuddha has joined #nixos
butterthebuddha has quit [Client Quit]
<manveru> that should build it
<manveru> you're welcome to try and get it into nixpkgs ;)
<{^_^}> [nixpkgs] @markuskowa merged pull request #81998 → eigen: fetch source from gitlab → https://git.io/Jvr0m
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to staging: https://git.io/Jvrok
nwops has joined #nixos
<locallycompact> thank you
helozjisky has quit [Remote host closed the connection]
helozjisky has joined #nixos
<locallycompact> If I build that individually it builds
<locallycompact> if I do import into my configuration.nix
<locallycompact> then I get
<locallycompact> error: The option `LANG' defined in `/etc/nixos/graphql-engine.nix' does not exist.
nwops has quit [Quit: nwops]
werner291 has quit [Remote host closed the connection]
leothrix has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #81932 → notable: update license to unfree → https://git.io/JvwMu
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JvroE
gila has joined #nixos
georges has quit [Quit: ZNC 1.7.1 - https://znc.in]
switchy has quit [Remote host closed the connection]
devalot has quit [Remote host closed the connection]
leothrix has quit [Ping timeout: 258 seconds]
devalot has joined #nixos
georges has joined #nixos
switchy has joined #nixos
gila has quit [Ping timeout: 265 seconds]
nwops has joined #nixos
iyzsong has joined #nixos
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
leothrix has joined #nixos
nwops has quit [Quit: nwops]
vidbina has quit [Read error: Connection reset by peer]
vidbina has joined #nixos
jonten has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvrox
wildtrees has quit [Quit: Leaving]
dsiypl4 has quit [Quit: Leaving]
Coronaemoon has quit [Remote host closed the connection]
jgeerds has quit [Ping timeout: 265 seconds]
CMCDragonkai1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82030 → tiny: 0.5.1 -> 0.5.2-test → https://git.io/JvrKf
vidbina has quit [Ping timeout: 265 seconds]
mounty has quit [Ping timeout: 255 seconds]
mounty has joined #nixos
m0rphism has quit [Ping timeout: 255 seconds]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/cbe553c988a (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
blaggacao has quit [Ping timeout: 265 seconds]
blaggacao has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #82002 → vaultenv: fix build → https://git.io/JvrEe
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to master: https://git.io/JvrKo
thc202 has quit [Ping timeout: 256 seconds]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
growpotkin has joined #nixos
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
sigmundv has quit [Ping timeout: 255 seconds]
ddellacosta has joined #nixos
slack1256 has joined #nixos
abathur has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82031 → yarn: 1.22.0 -> 1.22.2 → https://git.io/Jvr6U
phreedom_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #81191 → stdenv: Fix gcc multi line libc-cflags → https://git.io/Jvzlh
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to staging: https://git.io/Jvr6q
abathur has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos
vishnusuresh has joined #nixos
koleesch has quit [Remote host closed the connection]
koleesch has joined #nixos
vishnusuresh has quit [Quit: vishnusuresh]
h0m1 has quit [Ping timeout: 240 seconds]
<nerdmaxx> /quit
<nerdmaxx> /quit
<nerdmaxx> /exit
nerdmaxx has quit [Quit: Lost terminal]
h0m1 has joined #nixos
ivan` is now known as ivan
CRTified has joined #nixos
gila has joined #nixos
<colemickens> almost
reallymemorable has joined #nixos
gila has quit [Ping timeout: 240 seconds]
reallymemorable has quit [Client Quit]
iyzsong has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ralith opened pull request #82032 → linuxPackages.rtl88x2bu: init at 2020-03-05 → https://git.io/Jvr6A
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
devalot has quit [Quit: ZNC - http://znc.in]
devalot has joined #nixos
cptchaos83 has joined #nixos
iyzsong has joined #nixos
blaggacao has quit [Ping timeout: 265 seconds]
blaggacao has joined #nixos
reallymemorable has joined #nixos
<jlv> How can I clean a NixOps state? I have a deployment with some resources that no longer exist, but are still in the state file. I can't `nixops destory` them, becuase NixOps throws an error that they don't exist.
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
helozjisky has quit [Remote host closed the connection]
helozjisky has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
drakonis has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
abathur has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
nwops has joined #nixos
<Irenes[m]> so, I'm doing some low-level development and as part of my workflow, I am trying to write a derivation that builds a NixOS SD image
<Irenes[m]> the recommended way to build an installer image is
<Irenes[m]> nix-build nixos -I nixos=config=nixos/modules/installer/cd-dvd/sd-image-aarch64.nix -A config.system.build.sdImage
<Irenes[m]> I know it's not really a supported thing, but I've been trying to build this as, like... (pkgs.nixos { config = nixos/modules/installer/cd-dvd/sd-image-aarch64.nix; }).config.system.build.sdImage
<Irenes[m]> or something along those lines
<Irenes[m]> it does not seem to be working, which I guess is not surprising because it's a bizarre thing to do
<Irenes[m]> does anybody know whether there is some trick along these lines that actually works? I would prefer not to shell out to nix-build within my nix config...
<arcnmx> that should work fine I think?
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
<arcnmx> (pkgs.nixos <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix>).sdImage
aw has joined #nixos
<arcnmx> seems to be roughly equivalent o:
spacefrogg has joined #nixos
<Irenes[m]> pkgs.nixos is a function, to be clear
nwops has quit [Quit: nwops]
<Irenes[m]> hmm. it is possible that it will work if I can figure out everything it needs to be passed and how. the error messages are hard to interpret.
<Irenes[m]> thank you for the suggestion to just use .sdImage
<Irenes[m]> I didn't know that was there
<arcnmx> there's the little catch in that pkgs.nixos differs slightly from import <nixpkgs/nixos> in the way you pass the config and access the results, but besides that... it should build the same output as nix-build would there
<Irenes[m]> hm
<Irenes[m]> that's what I was hoping for
<Irenes[m]> are there docs on this or anything?
<arcnmx> not sure :<
<Irenes[m]> well, I think this is enough of a breadcrumb, I can read the source
<Irenes[m]> thank you
boxscape has quit [Remote host closed the connection]
felixfoertsch23 has joined #nixos
h0m1 has quit [Ping timeout: 240 seconds]
CMCDragonkai1 has quit [Ping timeout: 256 seconds]
felixfoertsch has quit [Ping timeout: 240 seconds]
h0m1 has joined #nixos
reallymemorable has joined #nixos
<Irenes[m]> hmmm I found https://github.com/NixOS/nixpkgs/pull/32422 which was merged two years ago, but the code is no longer present...
<{^_^}> #32422 (by roberth, 2 years ago, merged): Add pkgs.nixos function
<Irenes[m]> oh it may be present actually, just that's a long file and GitHub truncates it
<Irenes[m]> yep
wavirc22_ has quit [Ping timeout: 255 seconds]
* arcnmx nod o:
wavirc22 has joined #nixos
iyzsong- has joined #nixos
<Irenes[m]> that seems to be working! I'll share my snippet for the benefit of anyone else finding this
iyzsong has quit [Read error: Connection reset by peer]
<Irenes[m]> (pkgs.nixos ({ lib, pkgs, config, ... }: { imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix> ]; })).sdImage;
<Irenes[m]> thank you again for the help
b has quit [Quit: Lost terminal]
<cole-h> Irenes[m]++
<{^_^}> Irenes[m]'s karma got increased to 1
<cole-h> For posting what worked instead of just disappearing
justanotheruser has quit [Ping timeout: 260 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
ddellacosta has quit [Quit: WeeChat 2.2]
ddellacosta has joined #nixos
domogled has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
nwops has joined #nixos
<Irenes[m]> thank you :) haha
nwops has quit [Client Quit]
reallymemorable has quit [Quit: reallymemorable]
drakonis has quit [Quit: WeeChat 2.7.1]
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
slack1256 has quit [Remote host closed the connection]
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
gila has joined #nixos
justanotheruser has joined #nixos
zebrag has quit [Remote host closed the connection]
inkbottle has joined #nixos
mounty has quit [Ping timeout: 255 seconds]
gila has quit [Ping timeout: 258 seconds]
nexgen has quit [Remote host closed the connection]
chagra has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.7.1]
mounty has joined #nixos
chagra_ has quit [Ping timeout: 256 seconds]
justanotheruser has quit [Read error: Connection reset by peer]
abathur has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/fb34ac13e46 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
endformationage has quit [Quit: WeeChat 2.6]
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
butterthebuddha has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #81878 → dpic: 2019.11.30 -> 2020.03.01 → https://git.io/JvwmX
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvrXR
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82033 → calibre: 4.11.2 -> 4.12.0 → https://git.io/JvrXz
lovesegfault has joined #nixos
gila has joined #nixos
domogled has quit [Quit: domogled]
gila has quit [Ping timeout: 240 seconds]
leothrix has quit [Quit: ZNC 1.7.5 - https://znc.in]
leothrix has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/08cc4cd7028 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leothrix has quit [Ping timeout: 260 seconds]
nexgen has joined #nixos
helozjisky has quit [Remote host closed the connection]
helozjisky has joined #nixos
leothrix has joined #nixos
<cole-h> Is there a way to see all args passed to a file? i.e. the ones represented by the `...`
<infinisil> > :p ({ foo, ... }@args: args { foo = 10; bar = 20; }
<{^_^}> error: syntax error, unexpected $end, expecting ')', at (string):289:1
<infinisil> > :p ({ foo, ... }@args: args) { foo = 10; bar = 20; }
<{^_^}> { bar = 20; foo = 10; }
<infinisil> > :p ({ foo ? "foo", ... }@args: args // { inherit foo; }) { bar = 20; }
<{^_^}> { bar = 20; foo = "foo"; }
<lovesegfault> infinisil: what's @args?
<cole-h> Binds the unspecified args to that
<infinisil> Nix syntax :)
<cole-h> args.bar = 20 with that
<infinisil> Note that the inherit foo is needed because otherwise:
<infinisil> > :p ({ foo ? "foo", ... }@args: args) { bar = 20; }
<{^_^}> { bar = 20; }
<infinisil> Well I guess this might be what you want
<cole-h> lovesegfault: Which leads me to my question: where does the `home-manager` arg come from in your home/default.nix?
<lovesegfault> cole-h: oh, that's outdated, I nuked it just now
<lovesegfault> check again
<cole-h> Wish GH let you search in branches other than the default...
<cole-h> btw thanks infinisil++
<{^_^}> infinisil's karma got increased to 227
<lovesegfault> cole-h: GH search is such trash I always clone to /tmp and use rg
<infinisil> I should do that too.. I always clone to persistent ~/src..
<lovesegfault> infinisil: I use ~/src too! :D
<cole-h> Those are basically the same to me because I rarely reboot lol
* cole-h is part of the `~/workspace/vcs` gang
<infinisil> `du ~/src -d0` => 13G
<thefloweringash> ~/src club member, checking in
<lovesegfault> 78G /home/bemeurer/src
<lovesegfault> lol
<cole-h> `du -sh ~/workspace/vcs` => 55G lol
<infinisil> Damn!
<cole-h> I have both the rust repo and linux repos cloned lol :D
<thefloweringash> now I'm curious about the breakdown between dependencies (node_modules, etc), build output, vcs storage, and work trees
ddellacosta has quit [Ping timeout: 255 seconds]
<cole-h> lovesegfault: Am I right to assume `home-manager.users.bemeurer` is a part of the hm NixOS module?
* lovesegfault nods
<cole-h> Curious why your core import inherits pkgs
<lovesegfault> it may have been a mistake
<cole-h> Or just an artifact you haven't removed yet
<cole-h> Just thought it was strange since the gpg import didn't have it (which also uses `pkgs`)
<cole-h> s/the/your
<lovesegfault> yep, just a refactoring artifact
<lovesegfault> pushed a fix
<cole-h> "fix" lol
mounty has quit [Ping timeout: 240 seconds]
noudle has joined #nixos
<colemickens> lovesegfault: I don't really think I fully understood when you pinged earlier
<colemickens> also not sure if it's still current
<lovesegfault> colemickens: it is
<lovesegfault> So I stopped using nixos-rebuild
<lovesegfault> and now I use switch-to-configuration directly like you showed me
<lovesegfault> but now when I boot I only see one generation as opposed to a history of old ones that I saw with nixos-rebuild
<thefloweringash> for those that haven't been following along at home: what's the advantage of avoiding nixos-rebuild?
<colemickens> lovesegfault: you need the nix-env calls from the link I sent the other day
<lovesegfault> this?
<colemickens> thefloweringash: you can unset NIX_PATH and have a pretty-assured fully reproducible build
<lovesegfault> ^
<colemickens> yes
<lovesegfault> That's what I'm trying to build thefloweringash
<colemickens> When the boot menu is generated, it iterates over the profiles in the special profile "system"
kolbycrouch has joined #nixos
<lovesegfault> colemickens: I see
* lovesegfault tries
<colemickens> so if you don't add/set the profile, then the system doesn't know about it, you basically switched to an "ephemeral" profile
<colemickens> I hate the Nix CLI
<colemickens> there I said it
<colemickens> this nix-env is what actually makes the system build a generation, rather than just being another random store output
<cole-h> Hot take 👀
<lovesegfault> That's not a hot take :P
<lovesegfault> it's a "we all agree" take
<colemickens> Yeah, I wouldn't be so callous (well, maybe) if I didn't think it was a shared opinion.
helozjisky has quit [Remote host closed the connection]
<lovesegfault> brb, rebooting to test
lovesegfault has quit [Quit: WeeChat 2.7.1]
helozjisky has joined #nixos
<kolbycrouch> Hi all. I'm wondering if anyone knows the proper way to deduce the configured buildCores for use in buildPhase directly. Right now I'm usng "jobs = "$NIX_BUILD_CORES" and make -j$jobs during the buildPhase, but that's causing a lot more compiler jobs than I configured for.
lovesegfault has joined #nixos
<lovesegfault> HAHAHAHAHA
<lovesegfault> IT WORKS
* colemickens is still surprised when people actually part rooms
<lovesegfault> IT WORKS
<colemickens> lovesegfault: btw ls /boot/loader/entries will tell you if it worked too ;)
<lovesegfault> colemickens: I don't have a bouncy-bounce
<cole-h> colemickens++
<colemickens> fwiw, I had to read through switch-to-config and this https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py to understand
<{^_^}> colemickens's karma got increased to 14
<colemickens> and then a bit longer to figure out that nix-env was the magical tool.
<colemickens> PLUS, you can't use nix-env the same way you do for other named profiles, it seems like the system one is special-cased slightly, but I digress.
Izorkin has quit [Ping timeout: 260 seconds]
<lovesegfault> colemickens++
<{^_^}> colemickens's karma got increased to 15
slack1256 has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
growpotkin has joined #nixos
Havvy has joined #nixos
palo1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82035 → pantheon.elementary-music: 5.0.4 -> 5.0.5 → https://git.io/Jvr1g
mounty has joined #nixos
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
<lovesegfault> cole-h: are you going to sleep soon?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82036 → dovecot: 2.3.9.3 -> 2.3.10 → https://git.io/Jvr1r
<hyper_ch> I just tried to do upgrade from nixos-unstable channel and I got this weird message: https://paste.simplylinux.ch/view/raw/3d1862d7
<lovesegfault> Huh
<lovesegfault> I have never seen that before
<hyper_ch> I checked my configuration nix but nothing weird in there... just openssl in the to be installed packages
<hyper_ch> or maybe some other package depends on it?
<lovesegfault> yeah it's definitely transient
Heirlung has joined #nixos
<hyper_ch> well, gotta go soon... will check later
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82037 → etesync-dav: 0.14.2 -> 0.15.0 → https://git.io/Jvr1P
<cole-h> lovesegfault: Yeah probably. What's up?
<lovesegfault> cole-h: I'm ready to merge my changes I think
<{^_^}> lovesegfault/nix-config#1 (by lovesegfault, 5 minutes ago, open): Refactor system configuration
<cole-h> Hot
<lovesegfault> Wanted a second-look at the README before doing so
<cole-h> I gotchu
<cole-h> Also that net-negative makes me happy
<lovesegfault> me too!
<{^_^}> [nixpkgs] @FRidh pushed 44 commits to master: https://git.io/Jvr1y
<lovesegfault> YESSS STAGING GOT MERGED
<{^_^}> [nixpkgs] @FRidh pushed 200 commits to staging-next: https://git.io/Jvr1S
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<cole-h> lovesegfault: Also curious why you point niv to your fork of nixpkgs. Because of one of the newly-merged commits from staging?
domogled has joined #nixos
<lovesegfault> cole-h: yes :)
<lovesegfault> I wanted two fixes that had been in staging
<lovesegfault> I don't mind the world-rebuild because I do it on my server and copy to my laptop
<cole-h> So you can switch back now, then? Yay!
<lovesegfault> thi whole r13y thing started with me trying to test a commit
<lovesegfault> cole-h: not yet, I have to wait until nixos-unstable picks them up
<cole-h> Got it
<lovesegfault> I also have a WIP GH action that: 1. `niv update`s 2. `nix-build`s 3. `cachix push`'s 4. commits the changes
<lovesegfault> so in the am I can just `git pull` and the rebuilt stuff is already in my cache ready to go
<cole-h> That's sweet
<cole-h> Mkay, got all my nits down. Night
<lovesegfault> gnight!
<lovesegfault> merged!
<{^_^}> [nixpkgs] @danieldk opened pull request #82038 → freeoffice: 973 -> 974 → https://git.io/Jvr1N
cole-h has quit [Ping timeout: 255 seconds]
gila has joined #nixos
kvda has joined #nixos
kvda has quit [Client Quit]
gila has quit [Ping timeout: 260 seconds]
opthomasprime has joined #nixos
kvda has joined #nixos
nexgen has quit [Remote host closed the connection]
helozjisky has quit [Remote host closed the connection]
helozjisky has joined #nixos
v88m has quit [Ping timeout: 240 seconds]
slack1256 has quit [Remote host closed the connection]
maddo has joined #nixos
charukiewicz has quit [Quit: leaving]
noudle has quit []
v88m has joined #nixos
werner291 has joined #nixos
kenran has joined #nixos
linarcx has joined #nixos
Heirlung has quit [Max SendQ exceeded]
Heirlung has joined #nixos
alexherbo2 has joined #nixos
zaeph has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82039 → extremetuxracer: 0.7.5 -> 0.8.0 → https://git.io/JvrM2
werner291 has quit [Quit: werner291]
<lovesegfault> clever: I did it :)
<lovesegfault> it _all_ works
<clever> lovesegfault: you pinned all the things? :D
<lovesegfault> YES
<lovesegfault> and I got drop-in overlays and drop-in users working as well
zaeph has joined #nixos
<clever> nice
<lovesegfault> thanks for all the help :)
<clever> yep
<lovesegfault> brb, one last reboot
lovesegfault has quit [Quit: WeeChat 2.7.1]
orivej has joined #nixos
magnetophon has joined #nixos
kenran_ has joined #nixos
kenran has quit [Quit: leaving]
<kitemikaze> Hello, I'm looking for slides I could take inspiration from for a short introduction to NixOS. Is there anything available endorsed by the community ?
philr has quit [Ping timeout: 240 seconds]
kenran__ has joined #nixos
zupo has joined #nixos
kenran__ has quit [Client Quit]
kenran has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
opthomasprime has left #nixos [#nixos]
<simpson> kitemikaze: https://nixos.org/nixos/nix-pills/index.html ? Not slides, but something more substantial.
lovesegfault has joined #nixos
kenran_ has quit [Ping timeout: 265 seconds]
<pie_[bnc]> im not super into the pills tbh
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
opthomasprime has joined #nixos
<lovesegfault> clever: have you used morph before?
<lovesegfault> flokli: mentioned it as a saner alternative to NixOps
<kitemikaze> simpson: Thank you, but I'm more looking for slides who could help me to "sell" the magics ! I want to convince part of my company to start using nixos !
<lovesegfault> kitemikaze: I helped convince my company to use NixOS
<lovesegfault> unless you have a really strong Ops/SRE team who is willing to learn a _lot_ I would not recommend it
<lovesegfault> it's definitely still a point of contention for us
<simpson> kitemikaze: Ah. That is a lot harder. I don't know how to convince coworkers of technical merits.
<kitemikaze> yep that's a bit the problem... but I'm so tired fixing prcedural ansible stuff all the time....
<lovesegfault> Heh, we use ansible too
<lovesegfault> If you manage to get an Ansible team to convert to Nix you might want to change careers and become a salesperson
<lovesegfault> or maybe a messiah
<maddo> I've never convinced a tech person to use something they're not already accustomed with
<maddo> even if that meant keeping alive a SPARC server with Solaris 10
<kitemikaze> :-)
<maddo> (thankfully they moved on from that)
<simpson> I had to shove Nix down my team's throats, sneaking it into Dockerfiles and checking in shell.nix files that nobody else used. I only was allowed to do it because I explicitly put in effort to maintain the existing workflows.
<lovesegfault> maddo: SWEs love change... when they're the ones doing it
<lovesegfault> We're generating docker with Nix now
<kitemikaze> I think the transition should be very progressive... create simple vm with modules... and then we bring more complex stuff with nix language, pkgs
<lovesegfault> for the people that use macOS
<maddo> I'm getting started with nix, barely as my freetime is unfortunately lacking these times
<simpson> kitemikaze: It needs to be *incremental*, and that might not mean starting at the bottom, but starting with something light and high-level, or something greenfield.
<kitemikaze> lovesegfault: sounds very cool ! keep going !
<maddo> my career has little to do with computers in general, so I can only spend my free time learning about such things
<kitemikaze> simpson:
<kitemikaze> simpson: yep agree
<kitemikaze> I'm in a kind of r&d dep. so I've that kind of "liberty" to spread state of the art techno which we could keep on the radar.
<{^_^}> [nixpkgs] @gnidorah opened pull request #82040 → phodav: 2.3 -> 2.4 → https://git.io/JvrDP
<maddo> but at times I see machines and infrastructures that can be considered mission critical be in a very precarious state
<maddo> like my hospital main servers being said Solaris 10 SPARCs
<maddo> no support since like... 6 years?
<maddo> s/since/for/g
<lovesegfault> 120k builds in the queue
<lovesegfault> Holy cow
<clever> lovesegfault: dont remember what morph does
<lovesegfault> clever: https://github.com/DBCDK/morph
<clever> ah, no, ive not used that any
<clever> lovesegfault: the readme makes it sound like just a very stripped down nixops
<lovesegfault> Yeah, documentation's stripped down too...
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyper_ch has quit [Quit: ZNC 1.7.5 - https://znc.in]
hyper_ch has joined #nixos
Izorkin has joined #nixos
gila has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
gila has quit [Ping timeout: 240 seconds]
LysergicDreams has joined #nixos
kenji has joined #nixos
kenran has quit [Quit: leaving]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6b6f9d769a5 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
m0rphism has joined #nixos
felixfoertsch has joined #nixos
felixfoertsch23 has quit [Ping timeout: 265 seconds]
farn has quit [Remote host closed the connection]
opthomasprime has left #nixos [#nixos]
farn has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @timds opened pull request #82041 → saltine: fix build by disabling tests → https://git.io/Jvry5
genesis has joined #nixos
__monty__ has joined #nixos
knupfer has joined #nixos
jlv has quit [*.net *.split]
blaggacao has quit [Ping timeout: 258 seconds]
blaggacao has joined #nixos
<coderobe> any way to make nixops build the machine configuration on the target host(s)?
<{^_^}> [nixpkgs] @ttuegel merged pull request #81869 → cmake: 3.16.4 -> 3.16.5 → https://git.io/JvwIX
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging: https://git.io/JvrSl
ixxie has joined #nixos
gila has joined #nixos
philr has joined #nixos
o1lo01ol1o has joined #nixos
gila has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JvrSN
<{^_^}> [nixpkgs] @vcunat merged pull request #81956 → maintainers: add joshuafern → https://git.io/JvwQX
tokudan has quit [Quit: Dunno.]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
thc202 has joined #nixos
tokudan has joined #nixos
tokudan has quit [Remote host closed the connection]
<MarcWeber> Does configuration.nix support multiple configurations at the same time I can give a title ? In the past there has been a solution.
civodul has joined #nixos
<MichaelRaskin> nesting is still there, I think
<MichaelRaskin> There is boot.loader.grub.configurationName
<MarcWeber> Yes, there is nesting.clone and .children
<MichaelRaskin> I think there is an issue recently open for improving the interface for nesting
bvdw has quit [Quit: bvdw]
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
bvdw has joined #nixos
<{^_^}> [nixpkgs] @hedning pushed 49 commits to gnome-3.36: https://git.io/Jvr9R
tokudan has joined #nixos
<tokudan> i guess fetchmail is partially broken in 20.03 as it still requires openssl 1.0.2.
jgeerds has joined #nixos
mrCyborg has joined #nixos
<{^_^}> [nixpkgs] @c0deaddict opened pull request #82043 → sonic-pi: 3.1.0 -> 3.2.0 → https://git.io/Jvr9r
kolbycrouch has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ivan-timokhin opened pull request #82044 → Junicode: update to 1.002 and correct license → https://git.io/Jvr96
butterthebuddha has joined #nixos
lovesegfault has quit [Ping timeout: 272 seconds]
<coderobe> argh wtf - nixops send-keys is not bringing up the -key.service for some reason
lovesegfault has joined #nixos
<Orbstheorem> Hello, I'm trying to package an app that ships a bunch of shell scripts. I tried patching then with `find "$out/etc/schroot/setup.d/" -type f -exec patchShebangs --host '{}' \;` but they still don't have access to the packages in the buildInputs.
zebrag has joined #nixos
<Orbstheorem> (don't have access to the buildInputs on runtime)
inkbottle has quit [Ping timeout: 265 seconds]
butterthebuddha has quit [Ping timeout: 240 seconds]
<symphorien> patchShebangs only patches shebangs. To add something to the PATH at runtime, use wrapProgram
werner291 has joined #nixos
werner291 has quit [Remote host closed the connection]
qubasa_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0eb0ddc4dbe (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
helozjisky has quit [Remote host closed the connection]
helozjisky has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82045 → hopper: 4.5.19 -> 4.5.21 → https://git.io/JvrHL
<{^_^}> [nixpkgs] @hedning pushed to gnome-3.36 « gnomeExtensions.gsconnect: 31 -> 34-rc1 »: https://git.io/JvrHq
gila has joined #nixos
icey_ is now known as iceypoi
gila has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82046 → intel-media-driver: 19.3.0 -> 19.4.0r → https://git.io/JvrHn
gila has joined #nixos
<{^_^}> [nixpkgs] @tokudan opened pull request #82048 → fetchmail: 6.3.26 -> 6.4.2 [security] → https://git.io/JvrHl
gila has quit [Ping timeout: 255 seconds]
xelxebar has quit [Ping timeout: 240 seconds]
rembo10 has joined #nixos
bvdw has quit [Quit: bvdw]
helozjisky has quit [Remote host closed the connection]
helozjisky has joined #nixos
<{^_^}> [nixpkgs] @tokudan opened pull request #82049 → fetchmail: update from version 6.3.26 to 6.4.2 [19.09] [security] → https://git.io/JvrHS
blaggacao has quit [Ping timeout: 265 seconds]
blaggacao has joined #nixos
<tokudan> git crypt seems to be broken in 20.03 and maybe unstable: http://paste.debian.net/1134001/
<{^_^}> [nixpkgs] @gebner merged pull request #82028 → qalculate-gtk: 3.7.0 -> 3.8.0 → https://git.io/JvrrX
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JvrQI
Prodigy has joined #nixos
MrDiver has joined #nixos
Prodigy has quit [Client Quit]
reallymemorable has joined #nixos
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
MrDiver has quit [Client Quit]
<{^_^}> [nixpkgs] @royneary opened pull request #82050 → gitAndTools.git-bug: 0.6.0 -> 0.7.0 → https://git.io/JvrQ4
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @grahamc pushed to arm-bootstrap « armv{5tel,6l,7l}: update bootstrap tools after #80497 »: https://git.io/JvrQ6
<{^_^}> [nixpkgs] @grahamc pushed to arm-bootstrap « armv{5tel,6l,7l}: update bootstrap tools after #80497 »: https://git.io/JvrQy
<{^_^}> [nixpkgs] @cdepillabout merged pull request #82041 → saltine: fix build by disabling tests → https://git.io/Jvry5
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JvrQS
<{^_^}> [nixpkgs] @grahamc opened pull request #82051 → stdenv: update ARM bootstrap tarballs → https://git.io/JvrQ9
iyzsong- has quit [Quit: ZNC 1.7.1 - https://znc.in]
iyzsong has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
Acou_Bass has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<tokudan> git crypt isn't broken, there just seems to be an issue with switching instead of rebooting
<{^_^}> [nixpkgs] @mweinelt opened pull request #82052 → borgbackup: 1.1.10 → 1.1.11 → https://git.io/Jvr7U
tokudan has quit [Quit: Dunno.]
ottidmes has joined #nixos
<Orbstheorem> symphorien: right, I got confused by the `--host` and `--build` flags
<Orbstheorem> What are they supposed to do then ?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82053 → java-service-wrapper: 3.5.42 -> 3.5.43 → https://git.io/Jvr7Z
<ottidmes> I am trying to make an IP camera available on a website. I managed to get it working on my local NixOS server when streaming with VLC, but all web based solutions fail, so rather than using nginx as I am doing now, I plan to use restreamer. Restreamer is only available as a docker image, but I never used docker, let alone on NixOS. Is this still one of the easiest way to get started:
tokudan has joined #nixos
tokudan has quit [Remote host closed the connection]
tokudan has joined #nixos
opthomasprime1 has joined #nixos
noudle has joined #nixos
<ottidmes> Alright, that was super easy, just following the wiki to enable Docker and running the command as-is worked. Only confusing thing was that I did add my user to the docker group, but still got a permission denied error, so just ran it as root
kenran has joined #nixos
kenran has quit [Client Quit]
Rusty1 has joined #nixos
Ariakenom has joined #nixos
v88m has quit [Ping timeout: 260 seconds]
<Ariakenom> I got "cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': Connection refused" just now
opthomasprime1 has quit [Remote host closed the connection]
<Ariakenom> retrying "sudo nixos-rebuild switch --upgrade" worked.
<Ariakenom> Is there some error in my setup?
<{^_^}> [nixpkgs] @mweinelt opened pull request #82054 → [20.03] borgbackup: 1.1.10 → 1.1.11 → https://git.io/Jvr5G
<Orbstheorem> ottidmes: Did you log out + log in after adding yourself to the docker group ?
<Orbstheorem> Linux groups are set at login time by PAM (in a nutshell)
<Orbstheorem> If you don't want to log out, you can get a shell with a session with a new group using `newgrp`.
<Orbstheorem> You can see `credentials(7)` if you want to understand how it works.
<ottidmes> Orbstheorem: thought it was something like that or maybe having to restart Docker, will try restarting, thanks
helozjisky has quit [Remote host closed the connection]
helozjisky has joined #nixos
<ottidmes> Orbstheorem: doesn't NixOS do something like that automatically if you change them in your config and nixos-rebuild switch, never really ran into this, but then again I don't add user groups that often to really notice
RRedcroft has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #82055 → [19.09] borgbackup: 1.1.10 → 1.1.11 → https://git.io/Jvr5R
<RRedcroft> Hi guys, can anyone help me update a package in nixos? Not sure how i go about modifying it for upstreaming
kvda has joined #nixos
<ottidmes> Orbstheorem: the relogin worked, thanks!
<tokudan> has anyone already dealt with nextclouds "Exception: Updates between multiple major versions and downgrades are unsupported." when updating nixos from 19.09 to 20.03?
<MarcWeber> I have issues booting an SSD (efi). I /efi is lower case (which probbaly shouldn't matter) but I cannot find /efi/BOOT or such.
<MarcWeber> The systems I have which work do have that.
<simpson> RRedcroft: What have you tried so far?
<RRedcroft> currently modifying a package using override, but the latest version requires more libraries
<ottidmes> tokudan: maybe stateVersion related? maybe check the readme of 20.03 if available?
<MarcWeber> In the systemd-boot (gummiboot) case, is there a copyKernels as well or can gummbioot luksOpen encrypted disks on it's own ?
<MarcWeber> RRedcroft: very often the default.nix get's copied to ./<version>.nix then adding more dependencies is not a problem.
<RRedcroft> currently using this override to modify version number and shq256
<RRedcroft> but now i need to add nss
<RRedcroft> https://pastebin.com/NjRpHAR8 - current override
<simpson> I think that you might need to alter the runtime.nix expression.
linarcx has quit [Quit: WeeChat 2.7.1]
<RRedcroft> i tried modifying the ld_library_path in my override but that didnt work
<RRedcroft> i tried modifying the ld_library_path in my override but that didnt work
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gila has joined #nixos
gila has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6b6f9d769a5 (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
ottidmes has quit [Quit: WeeChat 2.7.1]
jgeerds has quit [Ping timeout: 256 seconds]
<RRedcroft> simpson: how do i pull a copy of default.nix into my configuration.nix while i debug to figure out what needs fixing? ive tried importing default.nix but that doesn't work
<tokudan> otti0815, there's nothing regarding nextcloud yet. guess I'll have to write it.
<simpson> RRedcroft: I would take an entirely different approach: Get a local copy of nixpkgs, and alter the local copy directly. After confirming that your changes work, send a pull request upstream.
<MarcWeber> RRedcroft <nixpkgs>/default.nix has some options. Maybe pass them before accessing a package if you import it.
linarcx has joined #nixos
helozjisky has quit [Remote host closed the connection]
abathur has joined #nixos
helozjisky has joined #nixos
<Orbstheorem> ottidmes: <doesn't NixOS do something like that automatically>: Yes and no, NixOS (or anything actually) can't do much about your current shell without being overcomplicated, extremely precise and mostly unusable in the general case. The standard linux security model enforces this.
<Orbstheorem> Oh, he left :(
zupo has joined #nixos
nilsirl[m] has quit [Quit: authenticating]
nilsirl[m] has joined #nixos
blaggacao has quit [Ping timeout: 260 seconds]
blaggacao has joined #nixos
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
v88m has joined #nixos
c0c0 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #82037 → etesync-dav: 0.14.2 -> 0.15.0 → https://git.io/Jvr1P
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvrdV
<{^_^}> [nixpkgs] @hedning pushed 3 commits to gnome-3.36: https://git.io/Jvrd6
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c0c0 has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @fgaz opened pull request #82057 → soundtracker: init at 1.0.0.1 → https://git.io/JvrFL
blaggacao has quit [Ping timeout: 240 seconds]
blaggacao has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #81958 → howard-hinnant-date: allow access to zoneinfo → https://git.io/Jvw7q
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JvrFO
helozjisky has quit [Remote host closed the connection]
helozjisky has joined #nixos
Mateon1 has quit [Quit: Mateon1]
Mateon1 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvrFV
<{^_^}> [nixpkgs] @Ma27 merged pull request #81796 → satallax: Fix build with GCC9 → https://git.io/JvVc1
<{^_^}> [nixpkgs] @Ma27 closed pull request #81588 → satallax: fix build with GCC 9 → https://git.io/Jv2ji
<{^_^}> [nixpkgs] @Ma27 pushed commit from @JohnAZoidberg to release-20.03 « satallax: Fix build with GCC9 »: https://git.io/JvrFH
rogue_koder has quit [Ping timeout: 255 seconds]
<tokudan> is there a good example for overriding a package (version and src.sha256) in configuration.nix so that a service uses that new version?
RRedcroft has quit [Quit: leaving]
Rusty1 has quit [Remote host closed the connection]
linarcx has quit [Ping timeout: 256 seconds]
JosW has joined #nixos
JosW is now known as Guest72610
bennofs has joined #nixos
<tokudan> > { a = "test"; } // { a="test2";}
<{^_^}> { a = "test2"; }
<tokudan> > { a = "test"; b = "whatever";} // { a="test2";}
<{^_^}> { a = "test2"; b = "whatever"; }
ddellacosta has joined #nixos
<ar> > a = "foo";
<{^_^}> error: syntax error, unexpected ';', at (string):32:12
<ar> > a = "foo"
<{^_^}> a defined
<ar> > b = a
<{^_^}> b defined
<ar> > b
<{^_^}> "foo"
<{^_^}> [nixpkgs] @ajs124 opened pull request #82058 → bitwarden_rs-vault: fix directory structure → https://git.io/Jvrbq
rembo10 has quit [Quit: ZNC 1.7.5 - https://znc.in]
tamwilematrixorg is now known as tamwile[m]
rogue_koder has joined #nixos
rembo10 has joined #nixos
rogue_koder has quit [Ping timeout: 260 seconds]
rogue_koder has joined #nixos
<{^_^}> [nixpkgs] @imalsogreg opened pull request #82059 → Remove snap from broken packages list → https://git.io/JvrbB
gila has joined #nixos
<Ariakenom> opencl on nixos on laptop. doable or do I not even try?
gila has quit [Ping timeout: 268 seconds]
rogue_koder has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82060 → libinput: 1.15.2 -> 1.15.3 → https://git.io/Jvrb2
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
<{^_^}> [nixpkgs] @hedning pushed to gnome-3.36 « gnomeExtensions.dash-to-panel: 26 -> 27 »: https://git.io/JvrbV
cole-h has joined #nixos
<omnipotententit4> I have a build that wants gcc8Stdenv if a particular option is set, and stdenv if it is not. What's the least stupid way to do that?
<omnipotententit4> Would something like: `let env = if a then gcc8Stdenv else stdenv; in env.mkDerivation(...)` work?
rogue_koder has joined #nixos
blaggacao has quit [Ping timeout: 256 seconds]
blaggacao has joined #nixos
<evils> Ariakenom: that probably depends on the age and make of GPU
<evils> omnipotententit4: try it? :D
<omnipotententit4> I think it will work, so I'm writing the rest of the derivation. Can't try it until I finish it, so I figured I'd ask while I'm writing the rest of it up, so I'll know.
<omnipotententit4> I'll find out in like 10 minutes either way though
shibboleth has joined #nixos
blaggacao has quit [Ping timeout: 265 seconds]
klntsky has joined #nixos
philr has quit [Ping timeout: 268 seconds]
kleisli has quit [Ping timeout: 265 seconds]
dingenskirchen has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d7a68e9bce3 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @tokudan opened pull request #82061 → nextcloud: 18.0.0 -> 18.0.1 → https://git.io/JvrNZ
orivej has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #82062 → [ZHF] fix nixos.tests.buildbot → https://git.io/JvrAJ
blaggacao has joined #nixos
<armin> hi, can i easily allow password login for root via ssh on a fresh nixos installation using configuration.nix? if so, how?
<{^_^}> [nixpkgs] @vbgl merged pull request #81964 → ocsigen-i18n: 3.4.0 → 3.5.0 → https://git.io/JvrvQ
<{^_^}> [nixpkgs] @vbgl pushed to master « ocsigen-i18n: 3.4.0 → 3.5.0 »: https://git.io/JvrAT
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #81862 → xxHash: 0.7.2 -> 0.7.3 → https://git.io/JvVj2
<{^_^}> [nixpkgs] @orivej-nixos pushed 2 commits to master: https://git.io/JvrAL
<coderobe> armin: services.openssh.permitRootLogin = "yes";
<coderobe> also, hi :P
<cole-h> Beat me to it
<cole-h> armin: https://nixos.org/nixos/options.html is extremely helpful in cases like this; all I had to search for was "ssh root" and it popped up.
nwops has joined #nixos
kenji has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<coderobe> i usually grep nixpkgs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82063 → libzdb: 3.1 -> 3.2.1 → https://git.io/JvrAs
<cole-h> Works too. I was already in browser and too lazy to open a terminal :P
<armin> coderobe: ty and hi2u <3 :P
blaggacao has quit [Ping timeout: 256 seconds]
parsley has joined #nixos
linarcx has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #82064 → OCaml: default to version 4.08 → https://git.io/JvrAn
blaggacao has joined #nixos
<armin> coderobe: works like a charm, ty :)
<armin> cole-h: ty2!
<cole-h> :)
orivej has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @veprbl opened pull request #82065 → [20.03] glibc: provide fallback for kernels with missing prlimit64 → https://git.io/JvrAB
waleee-cl has joined #nixos
blaggacao has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82066 → libgme: 0.6.2 -> 0.6.3 → https://git.io/JvrAo
parsley is now known as clove837
Jackneill has quit [Read error: Connection reset by peer]
lafrenierejm has joined #nixos
blaggacao has joined #nixos
<lafrenierejm> Does Nix have any packaging mechanisms for Racket packages?
Jackneill has joined #nixos
blaggacao has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @lucafavatella opened pull request #82067 → androidenv: enhance script for the generated expressions → https://git.io/Jvrxe
<{^_^}> [nixpkgs] @domenkozar pushed to release-20.03 « elm2nix: bump to 0.2 as it supports Elm 0.19.1 »: https://git.io/Jvrxf
cosimone has joined #nixos
<{^_^}> [nixpkgs] @anmonteiro opened pull request #82068 → bs-platform: 7.0.1 -> 7.2.0 → https://git.io/Jvrxk
blaggacao has joined #nixos
<adisbladis> lafrenierejm: https://github.com/fractalide/racket2nix is a thing
<adisbladis> I can't vouch for it, never tried it myself.
vidbina has joined #nixos
vidbina has quit [Read error: Connection reset by peer]
vidbina has joined #nixos
vidbina has quit [Read error: Connection reset by peer]
nwops has quit [Quit: nwops]
growpotkin has joined #nixos
vidbina has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/fb34ac13e46 (from 20 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
gila has joined #nixos
gila has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @anmonteiro opened pull request #82069 → dune: 2.3.1 -> 2.4.0 → https://git.io/JvrxV
blaggacao has quit [Ping timeout: 256 seconds]
vidbina has quit [Ping timeout: 256 seconds]
blaggacao has joined #nixos
Kritnich has joined #nixos
Kritnich has quit [Read error: Connection reset by peer]
Kritnich8 has joined #nixos
Rusty1 has joined #nixos
Jackneill has quit [Remote host closed the connection]
alexherbo2 has quit [Remote host closed the connection]
pikajude has joined #nixos
<pikajude> is there a list somewhere of WMs that work with xrdp
<pikajude> i'm a complete moron and can't figure out which one i need to use
Rusty1 has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 255 seconds]
blaggacao has quit [Ping timeout: 256 seconds]
Kritnich8 has quit [Quit: Bye bye.]
<pikajude> with openbox-session i just get a black screen
blaggacao has joined #nixos
ddellacosta has joined #nixos
Kritnich8 has joined #nixos
<lafrenierejm> adisbladis: Thanks for the link. I'll check it out.
opthomasprime has joined #nixos
<pikajude> oh this is pebkac actually, i just didn't read the openbox documentation
alexherbo2 has joined #nixos
Rusty1 has joined #nixos
alexherbo2 has quit [Client Quit]
gustavderdrache has joined #nixos
blaggacao has quit [Ping timeout: 265 seconds]
<evils> anyone using power.ups?
nerdmaxx has joined #nixos
jmeredith has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/aae661cefe5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @grahamc pushed to arm-bootstrap « armv{5tel,6l,7l}: update bootstrap tools after #80497 »: https://git.io/JvrpH
<__monty__> So, weird borgbackup issue. I'd originally configured the service to back up to a local repo. However, I never created the directory because I thought borg would create it. I then changed all the borg backups to use a remote repo. Now 1 of the jobs is trying to back up remotely and failing, will have to look into that more. But first, the other jobs are still trying to back up to the local repository,
<__monty__> which still doesn't exist. Anyone run into this before? How could only *part* of the config have taken effect?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82070 → lxcfs: 3.1.2 -> 4.0.0 → https://git.io/Jvrpd
ddellacosta has quit [Ping timeout: 256 seconds]
ddellacosta has joined #nixos
blaggacao has joined #nixos
lafrenierejm has quit [Remote host closed the connection]
kenran has joined #nixos
adisbladis has joined #nixos
rogue_koder has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @tricktron closed pull request #81027 → mongodb: fix ssl by upgrading 3.4.22 -> 3.4.24 → https://git.io/JvEhz
blaggacao has quit [Ping timeout: 265 seconds]
jonten has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @grahamc pushed to arm-bootstrap « armv{5tel,6l,7l}: update bootstrap tools after #80497 »: https://git.io/Jvrhc
judson has joined #nixos
jgeerds has joined #nixos
o1lo01ol1o has quit [Ping timeout: 255 seconds]
rogue_koder has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #82071 → cargo-make: remove unnecessary attribute → https://git.io/Jvrhu
<LnL> gchristensen: whoa, did hydra already finish building?
<gchristensen> yeah, I got them from the cross jobset which is pretty fast :P
<LnL> ah, hmm we use the native builds for all other platforms tho AFAIK
<LnL> or do we need another bump for the full bootstrap cycle?
<gchristensen> not sure
<gchristensen> I like the idea of using one "trust root" though using cross to have the remaining bootstraps flow from that one point
<gchristensen> but yeah we could switch it
M-Gregoire495 has quit [Read error: Connection reset by peer]
<LnL> doesn't really matter that much
<gchristensen> but yeah hydra hasn't managed to make its own native bootstraps
cosimone has quit [Quit: Quit.]
adisbladis has quit [Quit: ZNC 1.7.5 - https://znc.in]
adisbladis has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #82053 → java-service-wrapper: 3.5.42 -> 3.5.43 → https://git.io/Jvr7Z
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jvrh9
kenran has quit [Ping timeout: 256 seconds]
M-Gregoire495 has joined #nixos
<{^_^}> [nixpkgs] @jerith666 opened pull request #82072 → persistent-mysql: fix build → https://git.io/Jvrhx
<{^_^}> [nixpkgs] @dawidsowa opened pull request #82073 → capitaine-cursors: 3 -> 4 → https://git.io/Jvrjv
nerdmaxx1 has joined #nixos
turion has joined #nixos
chloekek has joined #nixos
<turion> Any idea how I would package a haxe project?
<turion> I'm fine if I can make at least one executable target (e.g. C++)
<turion> I want to package this here: https://github.com/paulfitz/daff
<evils> turion: maybe look at pkgs/top-level/haxe-packages.nix?
<turion> Yes, it's quite sparse unfortunately :/
ixxie has joined #nixos
<turion> There is stuff like buildHaxeLib, but it seems more like these are packages supporting haxe than packages written in haxe
achw has joined #nixos
epl692 has quit [Ping timeout: 260 seconds]
epl692 has joined #nixos
blibberblob has joined #nixos
<blibberblob> Hi all, is there a way do instantiate something without printing it? All I want to do is verify that an attribute exists before running subsequent commands
<blibberblob> so I can e.g. run `nix-instantiate '<nixpkgs>' -A foobar` but that can potentially be a very expensive operation
<blibberblob> er, add an `--eval` to the above command
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d008a348ac0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
h0m1 has quit [Quit: WeeChat 2.7.1]
<mrCyborg> Hey, I have a default.nix which will create a binary. I wish to launch a shell with that binary installed (instead of just the dev dependencies). How would I go about doing that?
h0m1 has joined #nixos
drakonis has joined #nixos
rogue_koder has quit [Quit: Konversation terminated!]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @eadwu closed pull request #81995 → capitaine-cursors: 3 -> 4 → https://git.io/Jvr0J
nerdmaxx1 has quit [Quit: WeeChat 2.7.1]
nerdmaxx1 has joined #nixos
fresheyeball has joined #nixos
lord| has quit [Read error: Connection reset by peer]
<fresheyeball> I want to do something like this
<fresheyeball> Hi ${name}
<fresheyeball> in one file, lets say foo.html
<fresheyeball> then in a nix file
<fresheyeball> let name = "Jeff"; in writeText "foo.html" (readFile ./foo.html)
lord| has joined #nixos
<fresheyeball> which evals, but doesn't do the interpolation
<fresheyeball> if I replace `readFile ./foo.html` with an equivelant string literal
<fresheyeball> it works
<samueldr> readFile only reads the file to a string, while using interpolation ("${name}") first interpolates, then stores that string
<fresheyeball> samueldr: can this work somehow? I really don't want giant string literal in this file
gila has joined #nixos
<samueldr> generally it's done using substituteInPlace or substituteAll in a build
<samueldr> though it's not 1:1
<rooke> mrCyborg: I'm not sure its the right way to go about it but how I've done it is just named that default.nix to the name of the binary it's building. I then include that derivation in my default.nix using `callPackage`
<rooke> in my new default.nix*
<fresheyeball> samueldr: those functions look kinda dirty
chreekat has quit [Quit: quitting]
gila has quit [Ping timeout: 240 seconds]
<manveru> fresheyeball: i'm using builtins.scopedImport in euphenix
<fresheyeball> manveru: tell me more
cole-h has quit [Quit: WeeChat 2.7.1]
<manveru> `builtins.scopedImport { name = "bob"; } (__toFile "foo.nix" "''${__readFile ./foo.nix}''")`
<symphorien> mrCyborg: create shell.nix with this content: `with import <nixpkgs> {}; mkShell { buildInputs = [ (import ./default.nix) ]; }`
<manveru> fresheyeball: just be careful with any 's in your file :)
cole-h has joined #nixos
<fresheyeball> woah
<manveru> it's also not lightning fast, and IFD makes hydra cry, but you can't have everything i guess...
<drakonis> euphenix?
<manveru> i'm using this to build a couple of static websites
<drakonis> ah, a static site generator
<manveru> yeah
<manveru> if i ever get around writing some docs for it :|
<srk> that's neat. what's the difference between builtins and __?
blaggacao has joined #nixos
<mrCyborg> rooke, symphorien: Thanks!
fresheyeball has quit [Quit: WeeChat 2.6]
mrCyborg has quit [Quit: WeeChat 2.7.1]
turion has quit [Quit: Leaving.]
zupo has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/62b2bf3f8e8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82075 → ocamlPackages.ppx_tools_versioned: 5.2.3 -> 5.3.0 → https://git.io/Jvoe1
zeta_0 has joined #nixos
<omnipotententit4> `var = '' foo'' + lib.optionals bar ''baz''
<omnipotententit4> * `var = '' foo'' + lib.optionals bar ''baz'';` gets upset, what's the proper way to do what I'm trying?
<omnipotententit4> * `var = '' foo'' + lib.optionals bar ''baz'';` gets upset (error: cannot coerce a list to a string), what's the proper way to do what I'm trying?
<omnipotententit4> * `var = ''foo'' + lib.optionals bar ''baz'';` gets upset (error: cannot coerce a list to a string), what's the proper way to do what I'm trying?
<omnipotententit4> (ie, if bar then ''foobaz'' otherwise ''foo'')
<omnipotententit4> lib.optionalString
<omnipotententit4> Thanks mysterious stranger.
<{^_^}> [nixpkgs] @pSub merged pull request #82020 → jdepend: 2.9.1 -> 2.10 → https://git.io/Jvr2W
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/JvoeF
<blibberblob> is there a way to cheaply check that an attribute exists in nixpkgs, without installing or building it?
<adisbladis> blibberblob: nix-instantiate '<nixpkgs>' -A hello
<blibberblob> adisbladis: is there a way to do that without creating a .drv?
<blibberblob> (thanks btw!)
<adisbladis> nix-instantiate --eval --expr 'with import <nixpkgs> {}; lib.hasAttr "hello" pkgs'
<adisbladis> Would probably fit the bill
<blibberblob> thanks!
genesis has quit [Remote host closed the connection]
genesis has joined #nixos
mrCyborg has joined #nixos
blaggacao has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #82024 → libical: 3.0.7 -> 3.0.8 → https://git.io/Jvral
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JvovY
blaggacao has joined #nixos
<{^_^}> [mobile-nixos] @samueldr opened pull request #90 → initrd: Add `initrd-meta` build output, with ncdu metadata → https://git.io/JvovG
ashkitten has joined #nixos
<mrCyborg> Hey! I'm writing a program called cleanup and it opens a file with $EDITOR. This file is similar to the file git-rebase opens. I have written a custom vim syntax for this file which my package stores in $out/share/vim/vimfiles. Unfortually vim only reads the runtime files from /nix/store/...-vim, instead of /run/current-system/sw.
opthomasprime has quit [Remote host closed the connection]
<mrCyborg> So running cleanup on nixos means that no syntax is highlighted, while running VIMRUNTIME=/run/current-system/sw/share/vim/vim82 cleanup makes everything work fine
opthomasprime has joined #nixos
opthomasprime has quit [Remote host closed the connection]
<mrCyborg> So I guess the only way to add custom syntax on nix would be to modify the vim package to have a different VIMRUNTIME? Just like how man looks in /run/current-system/sw?
blaggacao has quit [Ping timeout: 240 seconds]
<mrCyborg> Or is there a more nix solution I'm not seeing here?
orivej has joined #nixos
noudle has quit []
o1lo01ol1o has joined #nixos
vika_nezrimaya has joined #nixos
<nerdmaxx> /quit
nerdmaxx has quit [Quit: Lost terminal]
jonten has quit [Ping timeout: 256 seconds]
<symphorien> the usual solution is to install a vimWithCleanup instead of just vim
<symphorien> a bit like there is (python.withPackage (ps: [ ps.foo ]))
clove837 has quit [Quit: Leaving]
M-Gregoire495 has quit [Ping timeout: 260 seconds]
mjrosenb has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyren has quit [Quit: ZNC 1.7.4 - https://znc.in]
<mrCyborg> symphorien: Thanks. I guess man was special-cased because it would be too anoying to manually specify which packages man would need to search?
kyren has joined #nixos
<{^_^}> [mobile-nixos] @samueldr opened pull request #91 → rootfs handles cross-compilation with a dummy rootfs → https://git.io/Jvovx
cosimone has quit [Quit: Quit.]
<bqv[m]> ,locate libpq
<{^_^}> Found in packages: postgresql95, postgresql96, postgresql_10, postgresql_11
<bqv[m]> oh
<bqv[m]> of course
<{^_^}> [mobile-nixos] @samueldr opened pull request #92 → boot/gui: Fix console restoring on exit → https://git.io/Jvoft
<manveru> srk: not all builtins are usable via __, haven't really looked into why yet, but it must be some quirk of the parser
zupo has joined #nixos
<manveru> i first found it when i just tried <tab> in a nix repl :)
<manveru> it really seems arbitrary that toString just works, but you have to write __toJSON
justanotheruser has joined #nixos
fendor__ has quit [Quit: Leaving]
<bqv[m]> https://github.com/NixOS/nixpkgs/pull/80402 someone wanna find more problems with this?
<{^_^}> #80402 (by bqv, 2 weeks ago, open): ripcord: init at 0.4.23
<bqv[m]> i'm in the mood for frustration
<{^_^}> [mobile-nixos] @samueldr opened pull request #94 → [WIP] device: add pine64-pinebookpro → https://git.io/JvofE
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ariakenom has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @veprbl merged pull request #82062 → [ZHF] fix nixos.tests.buildbot → https://git.io/JvrAJ
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to release-20.03: https://git.io/JvofS
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<{^_^}> [mobile-nixos] @samueldr closed pull request #35 → initrd-network: Be more resilient in identifying interfaces → https://git.io/Jvofd
<{^_^}> [mobile-nixos] @samueldr merged pull request #88 → Update lvgui for better pointer support → https://git.io/JvV3P
<{^_^}> [mobile-nixos] @samueldr pushed 3 commits to master: https://git.io/Jvofp
<mrCyborg> bqv[m]: Awesome! I wanted to try ripcord for a while now. I'll see if it works for me but I don't think i know nix enough to give feedback on the code.
johnw has joined #nixos
<bqv[m]> :)
knupfer has quit [Remote host closed the connection]
noudle has joined #nixos
blaggacao has joined #nixos
__monty__ has quit [Quit: leaving]
chloekek has quit [Ping timeout: 255 seconds]
<GrimSleepless> Hello guys! May someone merge my PR https://github.com/NixOS/nixpkgs/pull/81735, the backport merged before this one. :)
<{^_^}> #81735 (by JeffLabonte, 4 days ago, open): Protonvpn ng update 2.2.0 to 2.2.2
gila has joined #nixos
fendor has quit [Read error: Connection reset by peer]
blaggacao has quit [Ping timeout: 256 seconds]
blaggacao has joined #nixos
rardiol has quit [Ping timeout: 240 seconds]
gila has quit [Ping timeout: 258 seconds]
<ashkitten> is there a way to step through a nix build manually for debugging?
rardiol has joined #nixos
zeta_0 has joined #nixos
<evils> bqv[m]: since you asked for frustration, given that nix also runs on darwin (macos), is the distribution of the modified result your package creates still allowed by ripcord's conditions?
<{^_^}> [nixpkgs] @domenkozar merged pull request #80921 → buildLayeredImage: Allow empty store, no paths to add → https://git.io/Jv0jE
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JvoJK
<MarcWeber> ashkitten --keep-going (will build everything buildable).. then try -j 1 (to get one error only)
<{^_^}> [mobile-nixos] @samueldr merged pull request #90 → initrd: Add `initrd-meta` build output, with ncdu metadata → https://git.io/JvovG
<{^_^}> [mobile-nixos] @samueldr pushed 2 commits to master: https://git.io/JvoJX
werner291 has joined #nixos
<ashkitten> MarcWeber: i want to view the temporary directories during build steps
<MarcWeber> Or use nix-build -l to list trace of or use nix-build -K flag
<{^_^}> [nixpkgs] @andrew-d opened pull request #82078 → chirp: 20200213 -> 20200227 → https://git.io/JvoJ1
<{^_^}> [mobile-nixos] @samueldr merged pull request #92 → boot/gui: Fix console restoring on exit → https://git.io/Jvoft
<{^_^}> [mobile-nixos] @samueldr pushed 3 commits to master: https://git.io/JvoJD
<MarcWeber> ashkitten: you can always add find to the build script. Depending on systmed you might be able to drop privateTmp or such then you'll find /tmp/nix-build*
<samueldr> ashkitten: might be relevant https://www.youtube.com/watch?v=ULqoCjANK-I
<ashkitten> i'll watch that later but don't have time now
<samueldr> IIRC Mic92 "entered" into a sandbox build, though memory is fuzzy and I don't find the exact relevant bit
Jackneill has joined #nixos
Jackneill has quit [Client Quit]
<samueldr> ah
AFKRozy has joined #nixos
<bqv[m]> evils: *sigh* no idea
<bqv[m]> i think i'd actually be happy if it wasn't
<samueldr> in https://nixos.org/nixpkgs/manual/#ssec-setup-hooks search breakpointHook, ashkitten
<bqv[m]> but since it's an appimage for linux i'd assume it is
blaggacao has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @domenkozar pushed 3 commits to release-20.03: https://git.io/JvoJb
<evils> yea i think if one takes the appimage to mean "the linux release", should be fine
pasqualeee has joined #nixos
nerdmaxx1 has quit [Ping timeout: 272 seconds]
m0rphism has quit [Ping timeout: 258 seconds]
pasqualeee has quit [Quit: Leaving]
nerdmaxx has joined #nixos
<pie_[bnc]> infinisil: halp:
<genesis> <bqv[m]> i'm in the mood for frustration <- lol i've dozen of package with no answer in month bqv[m] , that's the main issue with nixos
tg has quit [Excess Flood]
<genesis> the inability to delegate.
o1lo01ol1o has joined #nixos
<bqv[m]> i'm praying flakes put an end to this
<pie_[bnc]> wait no. i thought the evaluator wasnt working.
<genesis> bqv[m] : wait and see ...
<genesis> bqv[m] : spend 3 full days on that #81833
<{^_^}> https://github.com/NixOS/nixpkgs/pull/81833 (by bignaux, 3 days ago, open): appimage-run: unify appimageTools and appimage-run
<genesis> appimage-run is still the best for lot of people who doesn't want spend time dealing with nixpkgs.
<genesis> i read all appimage related open issue .
<genesis> to manage with never merge nixos issue, i think about a separate appimage nixos repo
<genesis> https://github.com/NixOS/nixpkgs/issues/38037#issuecomment-478687733 people seems to do that and let down the idea to fix on nixpkgs.
tg has joined #nixos
AFKRozy has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
AFKRozy has joined #nixos
linarcx has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @aaronjanse opened pull request #82079 → flyctl: init at 0.0.102 → https://git.io/JvoUP
AFKRozy has quit [Ping timeout: 258 seconds]
never_released has quit [Ping timeout: 265 seconds]
never_released_ has joined #nixos
mjrosenb has quit [Ping timeout: 260 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
philr has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
nerdmaxx has quit [Quit: WeeChat 2.7.1]
mrCyborg has quit [Quit: WeeChat 2.7.1]
vidbina has joined #nixos
koleesch has quit [Remote host closed the connection]
koleesch_ has joined #nixos
maddo has quit [Quit: See ya]
o1lo01ol1o has quit [Remote host closed the connection]
<omnipotententit4> I'm having a bit of a bother with making a package. The following works: `nix-env -f ~/work/nixpkgs/ --install -E "p: (p {}).katago.override { useCUDA = true; }"` However this does not work: `nix-env -f ~/work/nixpkgs/ --install katagoWithCuda`, I do have that derivation specified in `all-packages.nix` and it looks like: `katagoWithCuda = callPackage ../games/katago { useCUDA = true; };`, what am I doing wrong?
o1lo01ol1o has joined #nixos
<omnipotententit4> Error is: `error: selector 'katagoWithCuda' matches no derivations`
blaggacao has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #81979 → intecture-auth: upgrade cargo fetcher and cargoSha256 → https://git.io/JvrWa
<{^_^}> [nixpkgs] @veprbl pushed commit from @bhipple to master « intecture-auth: upgrade cargo fetcher and cargoSha256 (#81979) »: https://git.io/JvoTn
<{^_^}> [nixpkgs] @veprbl merged pull request #81981 → intecture-agent: upgrade cargo fetcher and cargoSha256 → https://git.io/JvrlI
<{^_^}> [nixpkgs] @veprbl pushed commit from @bhipple to master « intecture-agent: upgrade cargo fetcher and cargoSha256 (#81981) »: https://git.io/JvoTc
<{^_^}> [nixpkgs] @veprbl merged pull request #81982 → intecture-cli: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvr8v
<{^_^}> [nixpkgs] @veprbl pushed commit from @bhipple to master « intecture-cli: upgrade cargo fetcher and cargoSha256 (#81982) »: https://git.io/JvoT8
<{^_^}> [nixpkgs] @veprbl pushed commit from @bhipple to master « ripasso-cursive: upgrade cargo fetcher and cargoSha256 (#81988) »: https://git.io/JvoT4
<{^_^}> [nixpkgs] @veprbl merged pull request #81988 → ripasso-cursive: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvr4n
<{^_^}> [nixpkgs] @veprbl merged pull request #82013 → dwm-status: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvrgk
<{^_^}> [nixpkgs] @veprbl pushed commit from @bhipple to master « dwm-status: upgrade cargo fetcher and cargoSha256 (#82013) »: https://git.io/JvoTB
<{^_^}> [nixpkgs] @veprbl merged pull request #82015 → gnvim: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvrg3
<{^_^}> [nixpkgs] @veprbl pushed commit from @bhipple to master « gnvim: upgrade cargo fetcher and cargoSha256 (#82015) »: https://git.io/JvoTR
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<cole-h> omnipotententit4: Have you tried adding `-I nixpkgs=path/to/your/nixpkgs/with/katagoWithCuta`?
Rusty1 has quit [Remote host closed the connection]
<omnipotententit4> No, what is that supposed to do exactly?
<omnipotententit4> It should be noted that just plain katago works as well.
<cole-h> Well, otherwise it uses your nixpkgs channel
<cole-h> `nix-channel --list`
<omnipotententit4> I'm using my local copy of nixpkgs to test.
<cole-h> Whatever shows up as "nixpkgs" is used. Which means if your channel doesn't have this `katagoWithCuda` attribute, neither will any nix commands
<omnipotententit4> katago doesn't exist yet in official nix-channel, so it must be reading the correct area.
<omnipotententit4> * katago doesn't exist yet in official nix-channel, so it must be reading the correct local repository.
<cole-h> So if your `nix-channel --list` doesn't show your local copy, you need to point to it with `-I nixpkgs=.......`
<omnipotententit4> I don't understand, shouldn't the -f flag be sufficient? It's always worked for me in the past.
<{^_^}> [nixpkgs] @veprbl merged pull request #82022 → cloudflare-wranger: upgrade cargoSha256 → https://git.io/JvraI
<{^_^}> [nixpkgs] @veprbl pushed commit from @bhipple to master « cloudflare-wranger: upgrade cargoSha256 (#82022) »: https://git.io/JvoTw
<{^_^}> [nixpkgs] @veprbl merged pull request #82071 → cargo-make: remove unnecessary attribute → https://git.io/Jvrhu
<{^_^}> [nixpkgs] @veprbl pushed commit from @bhipple to master « cargo-make: remove unnecessary attribute (#82071) »: https://git.io/JvoTr
<cole-h> I've never used the `-f` flag (and rarely use `nix-env`). You could try 1) pointing it to the `default.nix` (or `all-packages.nix`) or 2) try adding `-I nixpkgs=localpath/`
<{^_^}> [nixpkgs] @flokli merged pull request #82052 → borgbackup: 1.1.10 → 1.1.11 → https://git.io/Jvr7U
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JvoTo
<omnipotententit4> `nix-env -f ~/work/nixpkgs --install katago` works, and `nix-env -f ~/work/nixpkgs/ --install -E "p: (p {}).katago.override { useCUDA = true; }`, but `nix-env -f ~/work/nixpkgs --install katagoWithCuda` does not. katago as a derivation does not exist in any channel except for my computer locally.
<omnipotententit4> `katago = callPackage ../games/katago { };` and `katagoWithCuda = katago.override { cudaSupport = true; };` currently
<omnipotententit4> * `nix-env -f ~/work/nixpkgs --install katago` works, and `nix-env -f ~/work/nixpkgs/ --install -E "p: (p {}).katago.override { cudaSupport = true; }`, but `nix-env -f ~/work/nixpkgs --install katagoWithCuda` does not. katago as a derivation does not exist in any channel except for my computer locally.
<{^_^}> [nixpkgs] @flokli merged pull request #82054 → [20.03] borgbackup: 1.1.10 → 1.1.11 → https://git.io/Jvr5G
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-20.03: https://git.io/JvoTP
<{^_^}> [nixpkgs] @flokli merged pull request #82055 → [19.09] borgbackup: 1.1.10 → 1.1.11 → https://git.io/Jvr5R
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-19.09: https://git.io/JvoTX
<cole-h> Sorry, I don't know what else to say. If you don't want to try `-I nixpkgs=~/work/nixpkgs`, you'll have to wait for someone more knowledgable to come along.
achw has quit [Ping timeout: 258 seconds]
<omnipotententit4> cole-h: unknown flag -l
<cole-h> capital i as in eye-ball
<omnipotententit4> `nix-env -f ~/work/nixpkgs/ -l nixpkgs=~/work/nixpkgs --install katagoWithCuda`
<omnipotententit4> Same error, selector 'katagoWithCuda' matches no derivations
<omnipotententit4> with `I`
<cole-h> You don't need both `-f` and `-I`
<omnipotententit4> Same error, without `-f` and with `-I`
<cole-h> Try `nixpkgs.katagoWithCuda`, and if still not working, `-I nixpkgs-overlays=/var/empty/ -I nixpkgs=~/work/nixpkgs`
<cole-h> and if it STILL doesn't work, I'm at a total loss
<omnipotententit4> * ```$ nix-env -I nixpkgs=~/work/nixpkgs --install nixpkgs.katagoWithCuda error: selector 'nixpkgs.katagoWithCuda' matches no derivations $ nix-env -I nixpkgs-overlays=/var/empty/ -I nixpkgs=~/work/nixpkgs --install nixpkgs.katagoWithCuda error: selector 'nixpkgs.katagoWithCuda' matches no derivations` :(
<omnipotententit4> The derivation: https://pastebin.com/ApjXnThJ
<cole-h> Something that might be helpful for others who want to assist is temporarily pushing your changes to a nixpkgs fork, or uploading a diff somewhere, so we can try to reproduce
<omnipotententit4> The entire diff otherwise:
<omnipotententit4> Here's a temporary repo https://github.com/OmnipotentEntity/nixpkgs/tree/katago-init
<OmnipotentEntity> oh neat
<OmnipotentEntity> I did not realize that this was bridged here.
<OmnipotentEntity> I guess I don't need to be in both places.
omnipotententit4 has left #nixos ["User left"]
<genesis> i don't know how matrix works, but lot of people don't know where they are with this soft
<OmnipotentEntity> I figured it was a completely different chatroom, so I joined both Matrix and IRC
<OmnipotentEntity> It only took me a few days to figure it out though
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/508a2c68496 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<OmnipotentEntity> cole-h, I'm sorry for giving you shit earlier. Thanks for helping, honestly.
<cole-h> Nah, you weren't. All good.
abathur has quit [Ping timeout: 260 seconds]
drakonis has quit [Read error: Connection reset by peer]
<cole-h> nix-env is weird. You're doing everything right because I can `nix-build -A katagoWithCuda` just fine
<cole-h> But I get the same issue as you with `nix-env`
andi- has quit [Ping timeout: 272 seconds]
<NemesisD> is there a way i could write a script shebang for say a bash script that worked in both nix and non-nix environment? e.g. not providing an exact path to bash? `#! bash` doesn't seem to work
<waleee-cl> NemesisD: /usr/bin/env bash ?
jgeerds has quit [Ping timeout: 240 seconds]
<OmnipotentEntity> cole-h, nix-shell likes it too
<OmnipotentEntity> it seems to be just nix-env that is objecting
<NemesisD> waleee-cl: oh yeah i forgot about that. thanks!
<cole-h> Does /usr/bin/env exist on NixOS?
<NemesisD> it does on mine
justanotheruser has quit [Ping timeout: 240 seconds]
<waleee-cl> cole-h: it's one of the paths that actually exists I think
<cole-h> omnipotententity: ...I think you might just have been missing a `-A` lol
<cole-h> `nix-env -f nixkpgsdir -iA katagoWithCuda` should work
<OmnipotentEntity> oh god damnit
<OmnipotentEntity> *head hit keyboard* thanks
<cole-h> :D
<OmnipotentEntity> I'm an idiot
<cole-h> Me too. I typed about 20 lines without even noting the missing `-A`
<cole-h> even though I used `nix-build -A katagoWithCuda` :D
<{^_^}> [nixpkgs] @flokli opened pull request #82080 → nixos/cage: move ConditionPathExists to service config → https://git.io/JvokL