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
<genesis> just need advise.
<genesis> (if i could use fromJSON instead of jq but it seems not realistic)
<genesis> so i will be in a sh block
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81303 → elinks: build with openssl 1.1 → https://git.io/Jvge4
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvgsK
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @arcnmx to release-20.03 « elinks: build with openssl 1.1 »: https://git.io/Jvgs1
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81091 → exiv2: fix exiv2.pc file → https://git.io/Jvu89
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jvgs9
<{^_^}> [nixpkgs] @worldofpeace pushed to release-20.03 « exiv2: fix exiv2.pc file »: https://git.io/JvgsQ
Rusty1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81272 → crystal: use latest openssl → https://git.io/Jvzyd
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jvgsb
syd has joined #nixos
<syd> What's the standard way to get shell completion for commands on nixos?
<cole-h> <3 worldofpeace Thanks for merging exiv2. Now I can add qimgv :)
<{^_^}> worldofpeace's karma got increased to 74
<{^_^}> [nixpkgs] @worldofpeace opened pull request #81337 → [20.03] crystal: use latest openssl → https://git.io/Jvgsh
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
ixxie has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #81333 → kubeseal: 0.9.7 -> 0.9.8 → https://git.io/Jvg3J
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « kubeseal: 0.9.7 -> 0.9.8 »: https://git.io/JvgGL
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81083 → gitkraken: 6.5.1 -> 6.5.3 → https://git.io/JvuC3
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvgGt
<{^_^}> [nixpkgs] @jonringer merged pull request #81334 → fix OfBorg CI → https://git.io/Jvg3T
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvgGs
<genesis> evanjs : seems nix eval doesn't like hexadecimal too
drakonis1 has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
<energizer`> I can do checkConflicts=false; but that seems bad, how do i avoid these? https://bpaste.net/N6DA i dont even understand what it's complaining about with `six`
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/JvgGu
<kini> What precisely do "free" and "unfree" licenses mean in nixpkgs? I get that for specific licenses that exist in SPDX we can just look at the info there, but what about the generic licenses `free` and `unfree`?
drakonis1 has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<kini> The text in the nixpkgs manual about `unfreeRedistributable`, `unfree`, and `unfreeRedistributableFirmware` seem to distinguish them based upon what parts are non-redistributable. Does it follow that `free` refers to all licenses where the source and all build artifacts *are* redistributable?
mbrgm_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #81120 → nss_wrapper: 1.1.7 -> 1.1.8 → https://git.io/JvuKq
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « nss_wrapper: 1.1.7 -> 1.1.8 »: https://git.io/JvgGo
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81300 → pypy{,3}: use openssl_1_1 → https://git.io/JvzjP
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvgGP
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81310 → [20.03] pypy{,3}: use openssl_1_1 → https://git.io/JvgJf
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JvgGX
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81296 → gnome3.gnome-characters: 3.32.1 -> 3.34.0 → https://git.io/Jvzhv
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvgGy
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4dfb636e25f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to release-20.03: https://git.io/JvgG9
<{^_^}> [nixpkgs] @worldofpeace closed pull request #81289 → pantheon.elementary-greeter: 5.0.1 -> 5.0.2 → https://git.io/JvzAU
werner291 has quit [Quit: werner291]
epl692 has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 260 seconds]
epl692 has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<worldofpeace> cole-h: you're welcome 👍️
<{^_^}> [nixops] @grahamc pushed 3 commits to start-with-types: https://git.io/JvgZv
erictapen has quit [Ping timeout: 258 seconds]
mexisme_ has joined #nixos
<lovesegfault> When I have mkOption how can I make the type be a string with pre-defined values?
<lovesegfault> like the option can only be "foo" or "bar"
erictapen has joined #nixos
<hexa-> enum
epl692 has quit [Quit: No Ping reply in 180 seconds.]
<lovesegfault> Nix has enums?
<hexa-> like types.enum [ "a" "b" ]
<lovesegfault> :O
<lovesegfault> Amaze
<lovesegfault> thanks hexa-
jlv has joined #nixos
<energizer`> what's the syntax for inheriting all the values from a set?
epl692 has joined #nixos
<hexa-> lovesegfault: yw
<lovesegfault> hexa-: Can I do types.enum [ "AC" "BAT" null ]?
<energizer`> like python's {**d}
<jlv> How would I enable a kernel option like `CONFIG_DEBUG_KMEMLEAK ` in NixOS?
syd has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80555 → khronos: init at 1.0.5 → https://git.io/JvB46
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvgZY
<hexa-> lovesegfault: probably, if not use types.either
<lovesegfault> dope
<lovesegfault> thanks
drakonis has quit [Read error: Connection reset by peer]
<energizer`> oh I can just use //
drakonis_ has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #79679 → fonts/gdouros: correct license to unfree → https://git.io/Jvcud
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/JvgZs
drakonis_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @emilazy opened pull request #81340 → [20.03] fonts/gdouros: correct license to unfree → https://git.io/JvgZn
drakonis_ has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #79681 → fonts/gdouros: correct license to unfree [19.09] → https://git.io/JvczJ
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to release-19.09: https://git.io/JvgZR
Flambe has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #81340 → [20.03] fonts/gdouros: correct license to unfree → https://git.io/JvgZn
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to release-20.03: https://git.io/JvgZE
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8764fb751df (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<tbenst[m]> has anyone encountered `sudo: /run/current-system/sw/bin/sudo must be owned by uid 0 and have the setuid bit set` before and know a fix? No idea how it happened
drakonis1 has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<cole-h> Do you have `security.sudo.enable = true;` in your configuration.nix?
<samueldr> tbenst[m]: yeah, sounds like your sudo doesn't come from suid wrappers
<samueldr> it would be /run/wrappers/bin/sudo when it's working properly (assuming nixos)
<cole-h> And as samueldr touched on, `security.wrappers` doesn't work on non-NixOS. AFAIR, there is no way to get setuid on a non-NixOS system, other than copying it somewhere and setting perms there
drakonis_ has quit [Client Quit]
jgeerds has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvgna
jlv has quit [Remote host closed the connection]
<tbenst[m]> samueldr: thanks! `/run/wrappers/bin/sudo` works, thankfully.
<tbenst[m]> cole-h: no, I don't
Chiliparrot has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @groodt opened pull request #81342 → argo: 2.4.3 -> 2.6.0 → https://git.io/Jvgnb
iyzsong has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @marsam opened pull request #81343 → certigo: 1.11.0 -> 1.12.1 → https://git.io/JvgcC
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/Jvgc4
epl692 has quit [Read error: Connection reset by peer]
lovesegfault has joined #nixos
epl692 has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81337 → [20.03] crystal: use latest openssl → https://git.io/Jvgsh
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jvgcu
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81319 → pam_ssh_agent_auth: fix dependency on insecure openssl → https://git.io/JvgL0
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jvgca
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @mdorman to release-20.03 « pam_ssh_agent_auth: fix dependency on insecure openssl »: https://git.io/Jvgco
<lovesegfault> Is there any easy way to find out which Nix option is enabling avahi-daemon?
<lovesegfault> and nscd
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
growpotkin has joined #nixos
shibboleth has quit [Quit: shibboleth]
wavirc22 has joined #nixos
<hexa-> lovesegfault: i'd say ripgrep is a good fit for that question
<lovesegfault> Yep, that's what I did :D
<hexa-> services.nscd.enable defaults to true
<lovesegfault> it was pulseaudio bringing in avahi (wth?!)
<lovesegfault> hexa-: What does nscd do? I read the man page and still don't get it
<hexa-> it's caching stuff
<hexa-> like dns queries
<hexa-> ldap queries
nuncanada has quit [Quit: Leaving]
<lovesegfault> Oh, if I use systemd-resolved I can disable it then I suppose?
<hexa-> not sure if it uses the same mechanism
<hexa-> like you have etc/resolv.conf and you have looks through your libcs getaddrinfo
<hexa-> I believe nscd caches the later
<hexa-> like everything around getent I guess
<hexa-> this is an educated guess however
<lovesegfault> Got it
<{^_^}> [nixops] @grahamc pushed 2 commits to start-with-types: https://git.io/JvgcD
wildtrees has quit [Quit: Leaving]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
rail has quit [Remote host closed the connection]
<flokli> lovesegfault: nixos kinda needs nscd
<flokli> So nss modules outside glibc itself work
<lovesegfault> I see
<flokli> There should be a comment somewhere, at least in the git history
<{^_^}> [nixpkgs] @cole-h opened pull request #81344 → qimgv: init at 0.8.9 → https://git.io/Jvgch
<clever> under normal linux, the nss modules get dlopen()'d into each process doing dns, by glibc
<clever> but with nix involved, each process might have a different arch (32bit, 64bit), it might have a different glibc, and maybe a different gcc version
<clever> combined, that makes it a nightmare to keep the nss modules compatible
<flokli> We run nscd pointed to the configured nss modules. And applications try to resolve through nscd first, if the socket file exists
<clever> so instead, it loads all the modules into nscd, and proxy's the request thru that
<flokli> So that way we have a somewhat stable interface
<flokli> Yeah
<lovesegfault> O.O
<lovesegfault> This is... nuts
<lovesegfault> In a good way I think
<lovesegfault> ccccccjefkgkdebebcrhteuhfbcchkdnrttbvcnhgred
<lovesegfault> tsc
<lovesegfault> sorry
<clever> lovesegfault: yubikey power!
<lovesegfault> yeah :P
<clever> lovesegfault: now, if i paste that into https://demo.yubico.com/otp/verify ...
<clever> lovesegfault: then i can see the serial# of your unit!
<lovesegfault> Uh-oh
<clever> and now i can verify you are you you claim to be in the future, if i write that down
<lovesegfault> Oh, lol
<lovesegfault> begone gpg!
<clever> from what i understand, the string is just a signed serial#
<clever> and you can then verify the signature and extract the serial#
<clever> and the auth is just based on the serial# and the signature being valid
<clever> the other login form, that requires more interaction and JS, does something different
<lovesegfault> That's pretty interesting
<lovesegfault> I guess that means I can't "transfer identities"
<lovesegfault> like get a new yubikey and just make it be the previous one
<clever> the stuff you can transfer, are private keys used for the "something different", but i dont think it lets you export a private
<clever> so you have to generate the private outside of the key, and import it into multiple kesy
<clever> but for obvious security reasons, if anybody gets ahold of that secret, they can dup your key, so you generally want to delete it afterwards
<lovesegfault> Yep, makes sense
<lovesegfault> andi-: has my dream yubikey set up
<lovesegfault> he plugs it in and everything works, ssh, gpg, etc
<lovesegfault> he unplugs it and it's all gone
<clever> i booted a win10 vm a few hours ago, and lastpass wanted the yubikey due to new 2fa config
<clever> i routed it to the vm, and then windows complained it doesnt have enough disk space to enable it, lol
<lovesegfault> O.o
<clever> i suspect windows was trying to automate what you just did
<clever> and it still worked for lastpass alone, once i told it to go away
<lovesegfault> I really need to do something about this: https://github.com/lovesegfault/nix-config/blob/master/sync
<lovesegfault> it's growing out of control
mounty has quit [Quit: Konversation terminated!]
drakonis has quit [Ping timeout: 258 seconds]
<NemesisD> has anyone had any success using home-manager to set up zsh and oh-my-zsh? my config is building but the theme doesn't actually apply
<lovesegfault> NemesisD: I have, yeah. Although I don't use oh-my-zsh anymore
drakonis has joined #nixos
<NemesisD> lovesegfault: do you have a working config handy by chance?
<lovesegfault> NemesisD: I have a similar working config handy
<lovesegfault> one second
detran has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #80262 → rustPlatform.fetchCargo: handle custom Cargo.lock patchfiles with validation → https://git.io/Jv8GY
<{^_^}> [nixpkgs] @jonringer pushed commit from @bhipple to staging « rustPlatform.fetchCargo: handle custom Cargo.lock patchfiles with validation »: https://git.io/JvgCr
h0m1 has quit [Ping timeout: 240 seconds]
<NemesisD> @lovesegfault i think my problem is i had zsh.oh-my-zsh.enable = true, but not zsh.enable
<NemesisD> now i just gotta figure out how to reconcile this with my existing nix customization
h0m1 has joined #nixos
<NemesisD> @lovesegfault also, i'm curious, how do you keep that git repo in sync with the config on your system? maybe you clone the repo and then symlink it all into place on the system?
<lovesegfault> I clone it and use this script
<lovesegfault> It's primitive but it works
<lovesegfault> I've been procrastinating moving to NixOps
chagra_ has quit [Quit: WeeChat 2.7.1]
<NemesisD> like using nixops to have a machine provision itself?
<lovesegfault> Yeah
<lovesegfault> More importantly to update it's config
<lovesegfault> and to re-provision
inkbottle has joined #nixos
<NemesisD> woah..
zebrag has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @lovesegfault opened pull request #81346 → nixos/tlp: force necessary settings → https://git.io/JvgCA
<lovesegfault> cc. worldofpeace
<lovesegfault> brb
lovesegfault has quit [Quit: WeeChat 2.7.1]
chagra has joined #nixos
wavirc22 has quit [Read error: Connection reset by peer]
fling has quit [Ping timeout: 240 seconds]
wavirc22 has joined #nixos
fling has joined #nixos
<worldofpeace> uaaaaaaaa
felixfoertsch has joined #nixos
<{^_^}> [nixpkgs] @ggreif opened pull request #81347 → Wasilibc 20190712 → https://git.io/JvgWC
felixfoertsch23 has quit [Ping timeout: 258 seconds]
<cole-h> worldofpeace: You OK?
<worldofpeace> cole-h: lol, I slipped something on my keyboard
<worldofpeace> (I think it was a chancla)
<cole-h> :D
<{^_^}> [nixpkgs] @flokli closed pull request #80561 → nixos/cage: init → https://git.io/JvB0s
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
<energizer`> is there something to read about using nix on a many-user machine?
spacefrogg has joined #nixos
<energizer`> for example, do i need to be careful about collecting garbage lest i remove someone else's stuff
<clever> energizer`: thats what GC roots are for
<clever> energizer`: the result symlink made by nix-build, and your nix-env generations, are all gc roots
sigmundv__ has joined #nixos
<energizer`> nix-shell doesn't make a gc root?
<clever> energizer`: correct, but the env vars of every running process are also roots
<DigitalKiwi> don't let them fool you; that's worldofpeace password
<clever> energizer`: so while a nix-shell is open, its deps cant be GC'd
<clever> energizer`: nix-daemon must also be running as root in that case, to peek at the env vars of every user
sigmundv has quit [Ping timeout: 272 seconds]
<energizer`> are there any advantages to using nix-user-chroot (https://github.com/nix-community/nix-user-chroot) instead of running the nix daemon with a shared store?
<clever> energizer`: the only real advantage is that you dont need root to co-operate with your love of nix :P
<clever> and more privacy over sources in /nix/store/
<energizer`> clever: it seems i need root to cooperate enough to enable unprivileged user namespaces
boxscape has quit [Ping timeout: 240 seconds]
<clever> energizer`: thats an extra requirement that debian tossed in, defeating the main use of namespaces
<energizer`> clever: everyone can see all my source code if i use a shared store?
<clever> energizer`: yeah, the source gets copied into /nix/store when built, and the whole store is world-readable
<energizer`> clever: oh that seems important
<worldofpeace> DigitalKiwi: lol, that's a secret I'll never tell :D
<energizer`> i have `grep CONFIG_USER_NS /boot/config-$(uname -r)` -> `CONFIG_USER_NS=y` but https://bpaste.net/HZSQ
<energizer`> on centOS
<energizer`> 6.10
Supersonic has quit [Ping timeout: 255 seconds]
<cole-h> I don't know how accurate `/boot/config-...` is since I don't have it. Does it have the same output as `zgrep CONFIG_USER_NS /proc/config.gz`?
<clever> energizer`: does /proc/sys/kernel/unprivileged_userns_clone exist?
<energizer`> clever: no
<clever> energizer`: what error happens if you try to use namespacing?
drakonis has quit [Quit: WeeChat 2.7.1]
<clever> energizer`: ah, i see it in the paste
<clever> energizer`: that looks more like it just cant find the directory "nix"
<energizer`> cole-h: gzip: /proc/config.gz: No such file or directory
<cole-h> centOS is weird man
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/JvgWi
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81348 → ne: 3.2.1 -> 3.3.0 → https://git.io/JvgWX
<energizer`> if i create ./nix/ then https://bpaste.net/74DA
wavirc22 has quit [Ping timeout: 260 seconds]
<clever> energizer`: because you likely need an entire nix store in nix/store
excelsiora has joined #nixos
<excelsiora> hi
<energizer`> clever: how do i get one?
<clever> energizer`: unpack the tarball used by the nix install.sh script
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/bb2678c1e60 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
Supersonic has joined #nixos
sigmundv__ has quit [Ping timeout: 265 seconds]
MarcWebe2 has quit [Quit: Lost terminal]
waleee-cl has quit [Quit: Connection closed for inactivity]
<worldofpeace> excelsiora: hi 👋
<mlatus_> Is there a way to override the transitive dependency of a package?
<energizer`> clever: i unpacked the tarball and now there's a /nix-2.3.3-x86_64-linux/store/ with a bunch of stuff in it, but `$ RUST_BACKTRACE=1 ./nix-user-chroot-bin-1.0.2-x86_64-unknown-linux-musl ~/nix/nix-2.3.3-x86_64-linux/ ` gives the same error as before
<clever> energizer`: have you read the docs for nix-user-chroot to see how its meant to be used?
<mlatus_> like if package A depends on B, which depends on C, instead of nested override, is there any more elegent solution? I'm imaging something like A.overlay(self: super: C = ...;)
<energizer`> clever: yes, but as before, https://bpaste.net/JBFA
<clever> mlatus_: (pkgs.extend (self: super: { C = ...; }).A
<clever> mlatus_: you can use pkgs.extend to add more overlays to nixpkgs at any time, and then pull any package out, and it will rebuild whatever got stuck between A&C
<cole-h> clever: That's really cool. Is there a wiki page for that or something I can bookmark?
<clever> cole-h: not sure
<mlatus_> clever: never heard of pkgs.extend, will check, thanks
<clever> energizer`: and what happens when you `unshare --user --pid echo YES` ?
<energizer`> clever: unshare: unrecognized option '--user'
<clever> energizer`: add `strace -e unshare,fork -f` before the nix-user-chroot command, what does it output?
<cole-h> What is a "submodule" type?
<energizer`> clever: https://bpaste.net/PXSA
<clever> cole-h: another module, that has its own nixos options
<clever> energizer`: your kernel may also be too old to support user namespaces, what does `uname -a` report?
<clever> or they are disabled somehow
<{^_^}> [mobile-nixos] @samueldr opened pull request #80 → Graphical boot selection → https://git.io/JvglU
<energizer`> clever: Linux 2.6.32-754.14.2.el6.x86_64 #1 SMP Tue May 14 19:35:42 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
<clever> energizer`: 2.6 is damn old :P
<cole-h> Like, almost-legal old
<energizer`> but grep CONFIG_USER_NS /boot/config-$(uname -r) -> CONFIG_USER_NS=y
<clever> energizer`: it could be that user namespacing was just always on, and didnt have a seperate CLONE_NEWUSER flag at the time
<clever> energizer`: youll need to update the kernel to make it work
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
endformationage has quit [Quit: WeeChat 2.6]
dansho has joined #nixos
learnday20 has quit [Quit: Leaving]
detran has joined #nixos
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #nixos
emily has joined #nixos
KeiraT has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
captn3m0 has quit [Quit: ZNC 1.7.5 - https://znc.in]
captn3m0 has joined #nixos
KeiraT has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4f8bc8e10bf (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
lovesegfault has joined #nixos
<lovesegfault> What's the simplest way of adding a `--frobnicate` flag to a systemd unit's ExecStart?
<lovesegfault> cc. clever worldofpeace
<worldofpeace> lovesegfault: like how do you reset an ExecStart. You can't add ot it, you have to first clear it then set it. so `ExecStart = [ "" "autahuth -frobnicate" ] `?
<lovesegfault> worldofpeace: ExecStart is an arr?
<lovesegfault> Can't I do `systemd....serviceConfig.ExecStart = config.systemd...serviceConfig.ExecStart + " --frobnicate"?
<worldofpeace> lovesegfault: ¿Qué? I think that would be an infinite recursion.
<lovesegfault> The good kind :P
<lovesegfault> I just want to start bluetoothd with `--noplugin=sap`
<clever> lovesegfault: due to how .serviceConfig is an option and .ExecStart is technically not a nixos option, you cant use things like mkForce on it
<clever> lovesegfault: if you set it to a list, you will add multiple ExecStart='s to the .service file, and the above would cause it to have 3 entries, the original, an empty, and the new one
<lovesegfault> Damn I hadn't even thought of that clever
<clever> and the empty one is a signal to systemd, to ignore the original copy
<clever> yes, its ugly as heck :P
<lovesegfault> Wow
<worldofpeace> yep
<worldofpeace> I usually comment that wherever I use it
<lovesegfault> Amazingly ugly
<clever> fix the module to accept what you want as a proper option!
<worldofpeace> I do the following to kill udev-settle systemd.services.systemd-udev-settle.serviceConfig.ExecStart = ["" "${pkgs.coreutils}/bin/true"];
<clever> worldofpeace: you could also just systemd.services.systemd-udev-settle.wantedBy = mkForce []; i believe
<clever> as long as nothing depends on it
<worldofpeace> clever: oh right, that is better.
<lovesegfault> testing the hack
zarel_ has joined #nixos
zarel has quit [Ping timeout: 240 seconds]
chagra_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c6c200f1185 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ddc2f887f5f (from 18 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<lovesegfault> Where/how can I see this?
<lovesegfault> like I build my system and I have ./result
<lovesegfault> where does this ExecStart hack end up
<clever> lovesegfault: cat result/etc/systemd/system/foo.service
<lovesegfault> it's not in the canonical unit file `./result/etc/systemd/system/bluetooth.service`
<clever> lovesegfault: there might be a foo.service.d directory
chagra has quit [Ping timeout: 260 seconds]
<lovesegfault> it's `etc/systemd/system/bluetooth.service.d/overrides.conf`
<lovesegfault> yep
<lovesegfault> it worked!
<lovesegfault> thanks!
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-20.03: https://git.io/Jvg83
<worldofpeace> lovesegfault: you're welcome ✨
<lovesegfault> Man, bluez is really undocumented
<lovesegfault> it's scary
<clever> lovesegfault: i once configured it to emulate a bluetooth speaker, so the phone was then able to connect, and play audio out of the laptop speakers
<lovesegfault> :O
<{^_^}> [nixpkgs] @worldofpeace pushed 137 commits to staging-20.03: https://git.io/Jvg8n
<clever> lovesegfault: its an option i found while digging around in blueman-manager
<clever> it created an audio source in pulseaudio, and auto-added a loopback, feeding that source back into the primary sink (the alsa device for the laptop)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81349 → openfortivpn: 1.11.0 -> 1.12.0 → https://git.io/Jvg8l
<lovesegfault> Trying to figure out available options for [General]
<clever> getting late here, i should head off to bed, goodnight
palo1 has joined #nixos
<lovesegfault> gnight!
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81350 → ocamlPackages.ppx_deriving: 4.4 -> 4.4.1 → https://git.io/Jvg8A
<genesis> rosettacode.org/wiki/Mandelbrot_set not even nix
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/57f92a2384b (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> [nixpkgs] @lovesegfault opened pull request #81351 → bluez: 5.52 -> 5.53 → https://git.io/Jvg4q
<{^_^}> [nixpkgs] @lovesegfault closed pull request #81351 → bluez: 5.52 -> 5.53 → https://git.io/Jvg4q
cyraxjoe has joined #nixos
ddellacosta has quit [Ping timeout: 258 seconds]
evils has quit [Remote host closed the connection]
i077 has joined #nixos
kleisli has joined #nixos
<i077> Has anyone tried installing torch via poetry2nix?
<i077> I'm getting an error in the postFixup phase where nix wraps .so files, specifically the CUDA stuff
domogled has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
rom35 has joined #nixos
rom35 has left #nixos [#nixos]
Asmadeus has joined #nixos
v88m has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @sepiabrown opened pull request #81352 → [nixpkgs/nixos/doc/manual/configuration/modularity] lack environment.systemPackages option in the example → https://git.io/JvgBJ
cole-h has quit [Ping timeout: 255 seconds]
Flambe has quit [Quit: Konversation terminated!]
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81353 → ocamlPackages.ocamlnet: 4.1.6 -> 4.1.7 → https://git.io/JvgBL
werner291 has joined #nixos
ixxie has joined #nixos
shafox has quit [Remote host closed the connection]
linarcx has joined #nixos
<{^_^}> [nixpkgs] @orivej opened pull request #81354 → jemalloc: 5.1.0 -> 5.2.1 → https://git.io/JvgB3
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
i077 has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #81336 → gnome3.libsoup: 2.68.3 -> 2.68.4 → https://git.io/Jvgs3
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/JvgBc
lovesegfault has quit [Quit: WeeChat 2.7.1]
v88m has joined #nixos
m0rphism has joined #nixos
koleesch_ has joined #nixos
v88m has quit [Ping timeout: 255 seconds]
LeshaInc has quit [Quit: ZNC - https://znc.in]
LeshaInc has joined #nixos
werner291 has quit [Quit: werner291]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
natek has joined #nixos
natek has quit [Client Quit]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/806fac5d109 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
aveltras has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout opened pull request #81356 → spago: unbreak from upgrade to ghc-8.8.2 → https://git.io/JvgB7
vandenoever has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
nerdmaxx has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #80858 → chefdk: 2.4.17 -> 4.7.73 → https://git.io/Jv024
<{^_^}> [nixpkgs] @nlewo pushed 3 commits to master: https://git.io/JvgBp
<{^_^}> [nixpkgs] @nlewo closed pull request #65693 → chefdk: 2.4.17 -> 4.2.0 → https://git.io/fj9Lk
<{^_^}> [nixpkgs] @nlewo closed pull request #48046 → chefdk: 2.4.17 -> 3.3.23 → https://git.io/fxGMH
Chiliparrot has quit [Ping timeout: 240 seconds]
Chiliparrot has joined #nixos
vandenoever has joined #nixos
vandenoever has joined #nixos
<{^_^}> [nixpkgs] @adamse opened pull request #81357 → ghc: use ld.gold on linux for GHC 8.8.3 → https://git.io/JvgRU
vandenoever has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
<koleesch_> hello
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<koleesch_> i'm installing nixos on an old laptop from me. I get the message "warning: The option 'networking.enableIntel3945ABGFirmware' defined in '...' has been renamed to 'hardware.enableRedistributableFirmware'".
nerdmaxx has quit [Quit: leaving]
maddo has joined #nixos
<koleesch_> After the installation do i need to do something based on this message?
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<etu> koleesch_: Find the location where you have networking.enableIntel3945ABGFirmware set and replace it with hardware.enableRedistributableFirmware
<etu> koleesch_: For now it's fine, because it's aliased. So it will work. But it won't work forever :)
<{^_^}> [nixpkgs] @domenkozar closed pull request #81357 → ghc: use ld.gold on linux for GHC 8.8.3 → https://git.io/JvgRU
<koleesch_> etu: thx
<ar> /3
iyzsong has quit [Ping timeout: 255 seconds]
iyzsong- has joined #nixos
Baughn has quit [Ping timeout: 240 seconds]
iyzsong has joined #nixos
iyzsong- has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #81356 → spago: unbreak from upgrade to ghc-8.8.2 → https://git.io/JvgB7
<{^_^}> [nixpkgs] @cdepillabout pushed 6 commits to haskell-updates: https://git.io/JvgRV
knupfer has quit [Ping timeout: 248 seconds]
niso__ has quit [Remote host closed the connection]
niso has quit [Remote host closed the connection]
niso_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81358 → phoronix-test-suite: 9.2.1 -> 9.4.0 → https://git.io/JvgR1
o1lo01ol1o has joined #nixos
<koleesch_> hmmmm it seems to be no grub is installed during my installation
<koleesch_> in the documentation for installation there is no seperate point to install grub...
<koleesch_> do i have to install grub manually?
anohigisavay has joined #nixos
JonReed has joined #nixos
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
rot13 has quit [Quit: WeeChat 2.7-dev]
jgeerds has joined #nixos
cinimod_ has joined #nixos
rot13_ has joined #nixos
rot13_ is now known as rot13
niso has joined #nixos
<cinimod_> Can anyone tell me why `splitmix` is ignoring `jailbreak`? https://gist.github.com/idontgetoutmuch/e7a1ff7fef92cd8ceedf593f8fd19287
<cinimod_> It even ignores the explicit `doJailbreak` on line 33 :(
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81360 → powerstat: 0.02.21 -> 0.02.22 → https://git.io/Jvg0W
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
chloekek has joined #nixos
wavirc22 has joined #nixos
<jackdk> cinimod_: doJailbreak can't see through conditionals
<jackdk> that's usually the problem but I haven't checked
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/Jvg0X
<{^_^}> [nixpkgs] @peti pushed 0 commits to haskell-updates: https://git.io/Jvg01
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
dm9 has joined #nixos
zupo has joined #nixos
ixxie has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
kdedev[m] has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « ShellCheck: record the URL of the upstream issues our patches fix »: https://git.io/JvgEZ
o1lo01ol1o has quit [Ping timeout: 255 seconds]
__monty__ has joined #nixos
energizer` has quit [Remote host closed the connection]
__monty__ has quit [Quit: BRB irc config troubles.]
Chiliparrot has quit [Remote host closed the connection]
u0_a121 has joined #nixos
<cinimod_> Can anyone tell me why `splitmix` and `foo` are not getting built when I try `nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/19.09.tar.gz`: https://gist.github.com/idontgetoutmuch/46371ed51043a7dd9fa25ab5bb6ba67b
mexisme_ has joined #nixos
<cinimod_> The `sha`s are deliberately wrong and this is the first time I am trying to build this commit
__monty__ has joined #nixos
mexisme_ has quit [Ping timeout: 240 seconds]
thc202 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #81361 → docker-slim: 1.26.1 -> 1.27.0 → https://git.io/JvgEP
<JonReed> cinimod_: Try changing the fake hash (like one letter).
<{^_^}> [nixpkgs] @marsam merged pull request #81315 → buildah: 1.14.0 -> 1.14.1 → https://git.io/JvgTy
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgEX
<{^_^}> [nixpkgs] @marsam merged pull request #81343 → certigo: 1.11.0 -> 1.12.1 → https://git.io/JvgcC
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgED
Diogo has quit [Quit: Ping timeout (120 seconds)]
<cinimod_> JonReed: I did but the package still doesn't get built
u0_a121 has quit [Ping timeout: 240 seconds]
Diogo has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #81360 → powerstat: 0.02.21 -> 0.02.22 → https://git.io/Jvg0W
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgEd
markus1189 has quit [Ping timeout: 255 seconds]
markus1189 has joined #nixos
b has joined #nixos
<JonReed> cinimod_: Dunno, then. Nix tends to cache things. It can do it when sha matches something it already fetched. But if that's not it, then it might be something else.
kleisli has quit [Ping timeout: 265 seconds]
kleisli has joined #nixos
kleisli has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nlewo merged pull request #81352 → [nixpkgs/nixos/doc/manual/configuration/modularity] lack environment.systemPackages option in the example → https://git.io/JvgBJ
<{^_^}> [nixpkgs] @nlewo pushed commit from @sepiabrown to master « nixos/manual: add environment.systemPackages option in an example »: https://git.io/JvguO
cosimone has joined #nixos
cosimone has quit [Client Quit]
cosimone has joined #nixos
<MasseR> Don't know if it's related, but on Haskell ecosystem invalid packages are silently ignored. If you for example forget the {} after callHackage
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mmatthieu> Hi everyone ! Is anybody succeeded in using the `next` browser ? Here it starts, loads pages but UI is blank.
ixxie has joined #nixos
chloekek has quit [Ping timeout: 255 seconds]
ixxie has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @fatpat opened pull request #81363 → new package scaleft-1.41.0 → https://git.io/Jvgu5
Thra11 has joined #nixos
anohigisavay has quit [Quit: Konversation terminated!]
<cinimod_> I am doing `nix-garbage-collect` to see what happens - I doubt this the optimal nix way of doing things
cosimone has quit [Remote host closed the connection]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy merged pull request #81240 → viu: upgrade cargo fetcher and cargoSha256 → https://git.io/JvzXN
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @bhipple to master « viu: upgrade cargo fetcher and cargoSha256 (#81240) »: https://git.io/Jvgzv
<Thra11> I tried to do an automatic `git bisect run` to find out which commit broke a package build. However, I think it's just found me a commit which broke a dependency (fixed by a later commit). Anybody have any tricks for using git bisect with nixpkgs?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a83ffc02d4c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
JonReed has quit [Ping timeout: 260 seconds]
<cinimod_> I am in nix hell :( I think I preferred cabal hell
<Thra11> Looks like if my test script returns 125, it will be interpretted as `git bisect skip`. So the question is can I tell the difference between a `nix build ` which failed because of a dependency and a `nix build` where all the dependencies built successfully, but the final build failed?
dhess has quit [Remote host closed the connection]
chloekek has joined #nixos
dhess has joined #nixos
<LnL> yeah you can use that to skip the unrelated cases
<{^_^}> [nixpkgs] @ggreif opened pull request #81364 → wasmtime: bump to v0.12.0 → https://git.io/Jvgzq
werner291 has joined #nixos
cosimone has quit [Remote host closed the connection]
<Thra11> Does `nix build`'s exit code tell me anything useful? I can't find any mention of it in the docs
cosimone has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko pushed 3 commits to master: https://git.io/JvgzG
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #79762 → noto-fonts{,-extra,-cjk}: update → https://git.io/JvCfJ
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #79776 → source-han-{sans,serif,mono}: {update,refactor,init} → https://git.io/JvCUn
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/JvgzC
erictapen has quit [Quit: leaving]
<Thra11> Ah. found it in the realise bit of the nix-store manpage: 100 == generic build failure, 101 == timeout, 102 == hash mismatch, 104 == non deterministic check. Don't think any of these can help me.
<Thra11> LnL: Do you know of any way to programmatically tell the difference, or am I going to have to do the each build and manually mark it as good, bad or skip?
orivej has quit [Ping timeout: 260 seconds]
<manveru> cinimod_: you ever tried haskell.nix?
<manveru> LnL: do you perhaps have an example of using vaultenv with systemd? i've been researching a lot about the nicest approach... but the token based auth doesn't seem very suitable for nixos, maybe using certs might be better?
cosimone_ has joined #nixos
<__monty__> cinimod_: What's the problem?
cosimone has quit [Ping timeout: 240 seconds]
dhess_ has joined #nixos
vykook has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
<Thra11> Is there a way to ask nix to build all foo's dependencies, but not foo itself?
logzet has joined #nixos
dhess has quit [Ping timeout: 272 seconds]
<gchristensen> nix-shell with --run "exit" ?
cosimone_ has quit [Ping timeout: 240 seconds]
monadplus has joined #nixos
cosimone_ has joined #nixos
<cinimod_> __monty__: https://gist.github.com/idontgetoutmuch/859100849cba18927e498f9d523a1bc6 does not build the packages `foo` and `bar`
<monadplus> Hi, I couldn't find the answer to why this shell.nix (https://github.com/monadplus/python-nix/blob/master/shell.nix) is failing with a segmentation fault on `$ nix-shell`...
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<monadplus> The issue is related to LD_LIBRARY_PATH but I am not sure what's the problem ...
vykook has joined #nixos
cosimone has joined #nixos
<Thra11> gchristensen: That's a good idea. Is it -A (not -p) for dependencies only?
<gchristensen> yea
vykook has quit [Client Quit]
<Thra11> Cool. So I can run that, if it fails, return 125, if it succeeds, try to build the package itself :)
cosimone_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #81365 → nixos/https-dns-proxy: system level support for DNS over HTTPS → https://git.io/JvgzS
vykook has joined #nixos
<__monty__> cinimod_: Well you're definitely missing some callPackage calls around foo and bar.
<{^_^}> [nixpkgs] @pvgoran opened pull request #81366 → Pykms fix logging → https://git.io/Jvgzd
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d8e6050fcb8 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
vykook has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos
<{^_^}> [nixops] @grahamc pushed to start-with-types « state: type »: https://git.io/Jvggk
vykook has joined #nixos
kloenk has quit [Ping timeout: 272 seconds]
malSet has quit [Ping timeout: 260 seconds]
cosimone_ has joined #nixos
<cinimod_> At least it builds random-1.2 but fails to build split mix-0.0.4
<cinimod_> splitmix
cosimone has quit [Ping timeout: 255 seconds]
shibboleth has joined #nixos
vykook has quit [Ping timeout: 255 seconds]
<__monty__> cinimod_: Do you need to get these from github? It's quite a bit easier to get versions from hackage if they're released.
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<cinimod_> Yes because I am trying to fix random number generation in Haskell
<cinimod_> The idea is to get nix to find all the dependencies of `random` and then build them giving me a list of what failed to build
malSet has joined #nixos
mexisme_ has joined #nixos
kloenk has joined #nixos
cosimone_ has quit [Client Quit]
<LnL> manveru: I don't follow
<cinimod_> __monty__ but afaics it's not jailbreaking so I have spent the morning trying to find out why
<manveru> LnL: i'm just wondering how you're using vault, i guess :)
<manveru> looking for some best practices
<__monty__> cinimod_: Where are you doing any jailbreaking? I only see dontCheck.
vykook has joined #nixos
<cinimod_> __monty__: A lot of the breakages are upper bounds problems so I want to jailbreak every package that is dependent on `random`
<LnL> manveru: vautlenv is more useful for short running commands, with services you generally want closer integration
mexisme_ has quit [Ping timeout: 272 seconds]
<manveru> so envconsul?
<__monty__> cinimod_: Does it matter you're jailbreaking everything but random there.
<__monty__> ?
chloekek has quit [Ping timeout: 265 seconds]
<LnL> manveru: that's the same approach AFAIK
<manveru> pretty much, yeah
<manveru> but i don't see any other options of integrating systemd with vault...
jybs has quit [Read error: Connection reset by peer]
<LnL> manveru: if secrets are injected in the environment outside of the service they can't rotate without restarting everything
<manveru> yes, but if the service isn't vault-aware, there's not much one can do :P
<LnL> yeah, depends
vykook has quit [Ping timeout: 260 seconds]
<LnL> manveru: as for tokens, you want to use a proper auth backend like eg. approle but that still produces tokens
<manveru> yeah, i tried approle, but you still need some way to get the initial secret id into the service
<LnL> initial secret_id?
<manveru> yes
<gchristensen> no idea if this is the right thing, but in the past I've added an option like --vault-token-file ~/.vault-token
<manveru> or you run approle without secret_id... just using the cidr whitelisting?
kloenk has quit [Read error: Connection timed out]
<LnL> well you'll always need to bootstrap this somehow
kloenk has joined #nixos
evils has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #81368 → [20.03] openssh: 8.1p1 -> 8.2p1 → https://git.io/Jvgg2
<manveru> i'll dig into it a bit more until i have clearer questions :)
vykook has joined #nixos
monadplus has quit [Ping timeout: 240 seconds]
<LnL> but with eg. secret_id_file -> agent -> .vault-token -> service you have the role secret on disk but the service can't interact with it directly
<LnL> you can go further and also refresh the secret but at some point you still need trust
<manveru> yeah
<manveru> so i guess the root token still ends up on the deployer machines
<gchristensen> it doens't have to, it depends on howyou deploy
<LnL> hm?
<gchristensen> for example, if yo udeploy to EC2 you can use the metadata service to bootstrap the trust
<manveru> and packet? :)
<gchristensen> no good answer there :( they have taken a nice step though: https://github.com/packethost/vault-plugin-secrets-packet one step closer
W1lkins has quit [Quit: Bye]
<LnL> I personally don't care as much about fixing the second level, being able to rotate secrets and revoke access on role level is already _way_ better than most other setups
<manveru> i guess that's very true :)
<manveru> gotta start somewhere
vykook has quit [Ping timeout: 240 seconds]
<manveru> anyway, thanks a lot for your time, i'll do that for now
chloekek has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #81369 → nixos/acme: apply chmod and ownership unconditionally → https://git.io/Jvgg1
<LnL> hm, I just had an idea. I wonder if the vault agent could refresh the secret_id with secret_id_num_uses=1
<LnL> that way everything rotates nicely but as soon as something fishy happens the cycle breaks
iyzsong- has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
<cinimod_> __monty__: > Does it matter you're jailbreaking everything but random there.
<cinimod_> Not really
<{^_^}> [nixpkgs] @pvgoran opened pull request #81370 → bup: 0.29.2 -> 0.29.3 → https://git.io/JvggF
vykook has joined #nixos
o1lo01ol1o has joined #nixos
malSet has quit [Ping timeout: 255 seconds]
malSet has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
vykook has quit [Ping timeout: 265 seconds]
malSet has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « wob: 0.6 -> 0.7 »: https://git.io/Jvg2L
<{^_^}> [nixpkgs] @mweinelt opened pull request #81371 → nixos/acme: renew after rebuild and on boot → https://git.io/Jvg2t
vykook has joined #nixos
malSet has joined #nixos
ZaraChimera has joined #nixos
monadplus has joined #nixos
shafox has joined #nixos
malSet has quit [Ping timeout: 255 seconds]
vykook has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81372 → python37Packages.goocalendar: 0.6 -> 0.7.0 → https://git.io/Jvg2G
vykook has joined #nixos
iyzsong- has quit [Quit: ZNC 1.7.1 - https://znc.in]
vykook has quit [Ping timeout: 258 seconds]
teto has joined #nixos
malSet has joined #nixos
dhess_ is now known as dhess
<gchristensen> hey dhess can you test my other PR?
<dhess> which one
<gchristensen> dhess: I re-did the 2->3 PR https://github.com/NixOS/nixops/pull/1232
<{^_^}> nixops#1232 (by grahamc, 15 hours ago, open): 2-to-3: Start with types
<dhess> sure
<gchristensen> this one has 100% less guesswork :P
<gchristensen> mm... 95% less guesswork :)
vykook has joined #nixos
<dhess> did the previous one have issues?
<gchristensen> I kept running into a hard-to-squash bug trying to sort None with other things.
<gchristensen> so I started adding types, then realized maybe mypy would have had a better solution to my other problems (byte + str) ... which it did
<dhess> oh thank god I made a branch of my own NixOps mini-fork before merging your previous 2to3 PR :)
jgeerds has quit [Ping timeout: 260 seconds]
<dhess> this should be relatively easy, gimme a few min
<gchristensen> yay
<dhess> clean merge, that's a start :)
<gchristensen> yay
vykook has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @cdepillabout opened pull request #81373 → haskellPackages.stack: get building with ghc882 → https://git.io/JvgaZ
<dhess> ok here goes
<gchristensen> fingers-crossed-intensifies.gif
<dhess> I started with the most critical deployment
cosimone has joined #nixos
<dhess> j/k ;)
<dhess> deploy worked, now reboot
<dhess> all good
<dhess> lol
<dhess> ok I'll try a few others
<gchristensen> woooo
eeva has joined #nixos
<dhess> meanwhile
<dhess> I've been making custom ISOs and EC2 images for awhile now, no issues. It's based on how NixOS's release.nix does it in nixpkgs
<dhess> anyway a recent nixpkgs change broke it in a strange way. Anyone seen an error like this? https://gist.github.com/dhess/19bee5debd7bb8b5be5cbadef24cbb23
<dhess> here's an example of how I'm creating EC2 images: https://gist.github.com/dhess/6369074e5b877ba7e49aa91e1f14b02e
<gchristensen> hm
<dhess> I get the same error whether it's EC2 or ISO
<dhess> this started breaking about.. 2020-02-13
malSet has quit [Ping timeout: 260 seconds]
<gchristensen> maybe disallowedReferences
Baughn has joined #nixos
<dhess> Looks like it was cc1ae9f21b9e0ce998e706a3de1bad0b5259f22d
<dhess> in nixpkgs
<dhess> well not that specific commit, but it started happening once I started using that rev
<dhess> disallowedReferences, que es?
<{^_^}> [nixpkgs] @FRidh pushed 173 commits to staging-next: https://git.io/Jvga8
<{^_^}> [nixpkgs] @FRidh pushed 174 commits to staging: https://git.io/JvgaB
<dhess> previous good rev was 57ed5db343f7883c90c8a5a6b771216690842723
vykook has joined #nixos
<dhess> I think... I might have been having some other "expected a string got a set" or similar error with that version, also related to making ISOs/EC2 images
malSet has joined #nixos
ixxie has joined #nixos
<dhess> ok yeah pretty sure 57ed5db343f7883c90c8a5a6b771216690842723 was the last good build
vykook has quit [Ping timeout: 265 seconds]
<dhess> gchristensen: ok I've done a couple of deploys now, a reboot, used include/exclude, all looks good to me!
<gchristensen> ! thanks! can you say so on the PR?: )
vykook has joined #nixos
<dhess> yeah
kleisli has joined #nixos
<excelsiora> What do I need to know to contribute? I'm already pretty good with core Python.
mexisme_ has joined #nixos
<gchristensen> hmm if you check out my branch from https://github.com/NixOS/nixops/pull/1232 and run nix-shell, run "mypy --report-html ./report nixops" then open ./report/index.html it'll show untyped areas
<{^_^}> nixops#1232 (by grahamc, 16 hours ago, open): 2-to-3: Start with types
cosimone has quit [Remote host closed the connection]
<gchristensen> add some types where you can make a good guess as to what they are, run mypy to verify, and PR? :)
cosimone has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
<dhess> gchristensen: I don't see any references to disallowedReferences anywhere that would involve udev or stage-1-init
<gchristensen> not sure then sorry :/
vykook has quit [Ping timeout: 255 seconds]
<gchristensen> excelsiora: ^ did you see my reply?
ixxie has quit [Ping timeout: 255 seconds]
<excelsiora> gchristensen: hm... I'll see what I can do. I suppose it has its own nix defaults, right?
<excelsiora> nice.
<gchristensen> excelsiora: this person is working on some of their very strict mypy rule set: https://twitter.com/TheWizardTower/status/1233751761099182080 which you could work on too, but I think just adding types where there are currently absolutely none would be a very good way to go
vykook has joined #nixos
Uniaika has joined #nixos
<Uniaika> hello there! I'm facing quite a lot of "stack smashing" crashes on nix utilities (nix-env, nix-shell…)
<Uniaika> Is there a way to know what could cause them?
<Uniaika> (and how to avoid them, of course)
drakonis has quit [Quit: WeeChat 2.7.1]
bhipple has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/4f8bc8e10bf (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
vykook has quit [Ping timeout: 240 seconds]
Rusty1 has joined #nixos
Soo_Slow has joined #nixos
zupo has joined #nixos
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @aanderse merged pull request #81180 → perlPackages.TextLorem: init at 0.3 → https://git.io/JvzZ3
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvgVZ
monadplus has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #81121 → perlPackages.Applify: init at 0.21 → https://git.io/JvuKB
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvgVl
aveltras has quit [Quit: Connection closed for inactivity]
eyJhb has joined #nixos
eyJhb has joined #nixos
eyJhb has quit [Changing host]
oida has quit [Ping timeout: 240 seconds]
oida has joined #nixos
vykook has joined #nixos
jgeerds has joined #nixos
<tokudan> assuming I've got a function definition like this, is there an easier way to write stdenv=stdenv? defition: { stdenv, fetchFromGitHub, cc65 ? (import ./cc65.nix {stdenv = stdenv; fetchFromGitHub = fetchFromGitHub;})}:
<gchristensen> inherit stdenv
<vaibhavsagar> Are we planning to ship 20.03 with GHC 8.8 by default or 8.6? https://twitter.com/OriginalPeti/status/1233733677110235137?s=19
<gchristensen> 8.6 I think vaibhavsagar
vykook has quit [Ping timeout: 260 seconds]
<tokudan> gchristensen, so that part becomes cc65 ? (import ./cc65.nix {inherit stdenv, fetchFromGitHub;})
<{^_^}> [nixpkgs] @aanderse merged pull request #80883 → crispyDoom: 5.6.4 -> 5.7 → https://git.io/Jv0im
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvgVw
<vaibhavsagar> thanks for clarifying gchristensen
<tokudan> ah, that actually works: cc65 ? (import ./cc65.nix {inherit stdenv fetchFromGitHub;})
<gchristensen> yeah, tokudan
<tokudan> thanks gchristensen :)
<gchristensen> yep!
<vaibhavsagar> I would prefer 8.8 but I realise the LTS was just released and it might be too new to put in a NixOS stable release
<tokudan> i tried inherit but couldn't figure out how to inherit both at the same time ^^
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @bhipple opened pull request #81375 → pueue: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgVK
<__monty__> vaibhavsagar: For more flexibility you should check out haskell.nix, the nixpkgs infra is really focused on shipping software that happens to require building with a GHC, not haskell development per se. Caveat, LTS-15 isn't supported until some changes that should land soon™.
vykook has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/cf6477076b4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<vaibhavsagar> __monty__: the default version that's specified for the release also determines what's cached :)
<vaibhavsagar> __monty__: I've been using the NixOS Haskell infrastructure for a couple of years now, I think it works great even if that isn't the intended purpose
<__monty__> vaibhavsagar: Sure, caching's something haskell.nix currently kinda lacks. It's the future though : )
dansho has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @bhipple opened pull request #81376 → webmetro: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgV9
<vaibhavsagar> __monty__: I'll believe it when it gets bundled with nixpkgs :)
cosimone has quit [Quit: Terminated!]
vykook has quit [Ping timeout: 240 seconds]
<dhess> Hi vaibhavsagar!
<vaibhavsagar> Hi dhess!
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #81350 → ocamlPackages.ppx_deriving: 4.4 -> 4.4.1 → https://git.io/Jvg8A
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgVF
vykook has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #81372 → python37Packages.goocalendar: 0.6 -> 0.7.0 → https://git.io/Jvg2G
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgVh
<{^_^}> [nixpkgs] @bhipple opened pull request #81377 → routinator: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgVj
phreedom has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #81378 → system-syzygy: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvgwf
phry has joined #nixos
phry is now known as _phry
<_phry> Hi there!
<_phry> I'm suddenly getting attribute 'linuxPackages_5_1' missing when doing a nixos-rebuid. Have I missed some announcment or something?
vykook has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #81379 → cargo-web: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgwG
<{^_^}> [nixops] @TheWizardTower opened pull request #1233 → Start with types → https://git.io/JvgwZ
Uniaika has left #nixos [#nixos]
phreedom has joined #nixos
o1lo01ol1o has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #81380 → wasm-pack: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvgwn
vykook has joined #nixos
<symphorien> _phry: end of life linux versions are removed from nixpkgs. you should switch to 4.19 or 5.4 or latest
<_phry> symphorien 5_4 doesn't seem to be addressable from my nixpkgs
<_phry> Currently there's nix linuxPackages 5_whatever available when I query for it in my nix repl. And knowing my kernel version is kind of important for me, because I have to apply a patch
<symphorien> oh latest is 5.4 but there is no 5.4
<symphorien> strange
<_phry> it seems to be in the nixpkgs repo, but not in the current release channel o_O
<{^_^}> [nixpkgs] @bhipple opened pull request #81381 → rx: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgwR
<{^_^}> [nixops] @grahamc merged pull request #1233 → Start with types → https://git.io/JvgwZ
<{^_^}> [nixops] @grahamc pushed 6 commits to start-with-types: https://git.io/Jvgw0
<_phry> but yeah, apparently that's a 5.4 kernel, so I'll have to patch against that one.
<dhess> Anyone around who's using buildkite regularly with Nixpkgs?
<dhess> nix/nixpkgs
<gchristensen> I do, but leaving for several hours
<dhess> cool let's chat about it when you have a chance
vykook has quit [Ping timeout: 256 seconds]
<pingiun> how can I install just certain packages from the unstable channel?
<{^_^}> [nixpkgs] @bhipple opened pull request #81382 → gleam: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgwP
<dhess> whoa, my haskell.nix example project actually evaluated on my Hydra
<dhess> it only took.. 2 days?
<__monty__> pingiun: unstable = import <unstable> {};, then unstable.package wherever you want to reference it.
<pingiun> ah of course
_phry has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #81383 → contrast: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvgw9
ddellacosta has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #81384 → Pipewire 3.0 → https://git.io/JvgwF
<pingiun> if I add the unstable channel, will the nixos channel still be used by default?
knupfer has joined #nixos
cole-h has joined #nixos
<pingiun> __monty__: I need to add the channel as root to be able to use that in my configuration.nix right?
vykook has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #81385 → git-backup: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvgrv
<{^_^}> [nixpkgs] @aanderse merged pull request #79829 → perlPackages.OpenAPIClient: init at 0.24 → https://git.io/JvCB6
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jvgrf
<{^_^}> [nixpkgs] @marsam opened pull request #81386 → libvmaf: 1.3.15 -> 1.5.1 → https://git.io/Jvgrk
vykook has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81388 → python27Packages.pymupdf: 1.16.10 -> 1.16.11 → https://git.io/Jvgrq
dsg has quit [Quit: leaving]
dsg has joined #nixos
vykook has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #81375 → pueue: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgVK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgrC
orivej has joined #nixos
kleisli has quit [Ping timeout: 240 seconds]
<__monty__> pingiun yes to both question.
<{^_^}> [nixpkgs] @marsam merged pull request #81370 → bup: 0.29.2 -> 0.29.3 → https://git.io/JvggF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to release-19.09: https://git.io/Jvgrg
o1lo01ol1o has joined #nixos
xelxebar has quit [Ping timeout: 240 seconds]
vykook has quit [Ping timeout: 260 seconds]
xelxebar has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
smolck has joined #nixos
<smolck> Hello! Has anyone built Remacs (https://github.com/remacs/remacs) with a nix derivation? I'm trying to build the necessary derivation, but it's rustup nightly requirement has me stumped.
<cole-h> You might be interested in https://github.com/mozilla/nixpkgs-mozilla/
* genesis search a tool for create freedesktop icon hierarchy
<{^_^}> [nixpkgs] @marsam merged pull request #81385 → git-backup: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvgrv
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvgr9
<smolck> @cole-h Yeah, here's what I've got so far: https://gist.github.com/smolck/f1b2d71181b45c62398860473c8b44c2
<smolck> Problem is, it needs the rustup command available
<smolck> And that overlay doesn't provide it
<cole-h> Then why not use the rustup from nixpkgs?
<cole-h> Latest version is 1.21.1, which is in nixpkgs
<smolck> Well, I've tried that, but I need nightly installed
<cole-h> Why can't you have both?
<smolck> I get permissions errors
<{^_^}> [nixpkgs] @marsam merged pull request #80872 → alsaUtils: 1.2.1 -> 1.2.2 → https://git.io/Jv0oX
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgrH
<smolck> I'll post them, one sec
<{^_^}> [nixpkgs] @marsam merged pull request #80867 → alsaPlugins: 1.2.1 -> 1.2.2 → https://git.io/Jv0rI
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgrQ
mexisme_ has joined #nixos
kleisli has joined #nixos
<smolck> @cole-h It fails in the build phase: ```Checking Rust toolchain install ...error: could not create home directory: '/homeless-shelter/.rustup'error: caused by: Permission denied (os error 13)Remacs currently requires Rust toolchain version nightly-2020-01-08.Run 'rustup install nightly-2020-01-08'.builder for
<smolck> '/nix/store/lc6hf8kcgkklrdb1cs9449yjviacjv97-remacs.drv' failed with exit code 1error: build of '/nix/store/lc6hf8kcgkklrdb1cs9449yjviacjv97-remacs.drv' failed(use '--show-trace' to show detailed location information)```
<{^_^}> [nixpkgs] @marsam merged pull request #80912 → lsscsi: 0.30 -> 0.31 → https://git.io/Jv0At
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgrF
<smolck> Saying it needs nightly . . .
<bhipple> smolck: you probably need to do something like `export HOME=.` or `export HOME=$TMPDIR`
<smolck> Okay, I'll try that real quick
<bhipple> By default, the nix builder will set $HOME to a directory that doesn't exist (/homeless-shelter)
<smolck> Yeah. Where should I put the export line?
<bhipple> if you toss the HOME into a tmpdir in preConfigure or something you might have better luck
<bhipple> Something like: preConfigure = "export HOME=.";
<smolck> Hmm, that doesn't work
<smolck> Same error
<smolck> Well, almost. No permissions error but still says it needs rustup nightly
<smolck> version 2020-01-08
<bhipple> Ah yeah, I was only looking at fixing the permission error for $HOME :)
<smolck> ;)
<smolck> It's all good
<smolck> Hmm, so after putting `rustup install nightly-2020-01-08` in preconfigure with the home dir changed I get this:
<smolck> ```info: syncing channel updates for 'nightly-2020-01-08-x86_64-unknown-linux-gnu'error: could not download file from 'https://static.rust-lang.org/dist/2020-01-08/channel-rust-nightly.toml.sha256' to './.rustup/tmp/yxi80qaeual6b2zt_file'error: caused by: failed to make network requesterror: caused by:
<smolck> https://static.rust-lang.org/dist/2020-01-08/channel-rust-nightly.toml.sha256: error trying to connect: failed to lookup address information: Name or service not knownerror: caused by: failed to lookup address information: Name or service not knownbuilder for '/nix/store/wq9cllwsck1ik14fh442yj7l779k7dsq-remacs.drv' failed with exit code 1error:
<{^_^}> [nixpkgs] @bhipple opened pull request #81389 → cargo-generate: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvgoe
<smolck> build of '/nix/store/wq9cllwsck1ik14fh442yj7l779k7dsq-remacs.drv' failed(use '--show-trace' to show detailed location information)```
<cole-h> I think you should be able to specify `rustToolchain = "nightly-2020-01-08";`
<bhipple> In general, you shouldn't be running `rustup` in Nix; you should instead configure it to have the right rust compilers out of the gate
<cole-h> Where, I have no idea.
mexisme_ has quit [Ping timeout: 272 seconds]
<smolck> Yeah, I'd prefer not to run rustup for sure.
<bhipple> so the fact that it's running suggests to me that it thinks it's missing something it should have, and is trying to fill the gap
vykook has joined #nixos
<smolck> @cole-h I think I know where to do that, saw it while I was searching for how to fix this
<smolck> Great, I think that might work
<{^_^}> [nixpkgs] @marsam merged pull request #80839 → libite: 2.1.0 -> 2.1.2 → https://git.io/Jv00M
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvgot
<smolck> Nope, didn't work
<smolck> Did install nightly though :)
<{^_^}> [nixpkgs] @bhipple opened pull request #81390 → cargo-xbuild: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgoY
<smolck> Maybe I can specify rustup's toolchain?
<smolck> So that it has nightly available to it?
maxdevjs has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #81291 → amiri: 0.111 -> 0.112 → https://git.io/JvzA4
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvgo3
<bhipple> Depending on why you're looking at remacs, you may also be interested in gccemacs: https://github.com/NixOS/nixpkgs/issues/75288
<{^_^}> #75288 (by bhipple, 11 weeks ago, open): Package request: libgccjit (for trying gccemacs)
<smolck> Interestingly, `rustup` seems to only be needed in https://github.com/remacs/remacs/blob/master/autogen.sh, so maybe I could modify the file to remove that requirement?
<bhipple> gccemacs has some pretty huge performance improvements. I'd be interested in helping get it packaged in something like the NUR emacs-overlay :D
<smolck> Really?
<bhipple> Of course, if you're fiddling with remacs just as a way to learn Rust for fun, gccemacs has nothing to offer
vykook has quit [Ping timeout: 258 seconds]
<smolck> I was just looking for better performance, and was curious, so I'm willing to try gccemacs
<{^_^}> [nixpkgs] @marsam merged pull request #81295 → fnotifystat: 0.02.03 -> 0.02.05 → https://git.io/JvzpU
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgoB
_deepfire has joined #nixos
<smolck> Got a way to install it?
<smolck> Like a derivation or something
<bhipple> gccemacs is definitely the thing you should be looking at for performance. Also if you haven't already go to emacs27, which has libjanson support for native JSON serialization/deserialization
<bhipple> nah as mentioned in that github issue ticket, I haven't gotten past packaging libgccjit yet, but after that the emacs portion should be trivial
phreedom has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #81391 → cargo-inspect: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvgog
<bhipple> If you take a shot at it please do post on the issue; I can help push it along
<bhipple> Once we get something stably working, we could package it up in the https://github.com/nix-community/emacs-overlay
<smolck> Okay. So what's the issue exactly?
<smolck> Can't install libgccjit
<smolck> ?
<bhipple> Need to build a package for libgccjit, yeah
<smolck> Shouldn't be that hard in theory, right?
<NemesisD> do you all think it would be possible to keep both my system and home-manager nix configs in a git repo in my home dir and then symlink to /etc/nixos?
<bhipple> as in package it separately out of gcc, get to the point that we can run `nix-build -A libgccjit` and have it pass, then from there it should be trivial to make an gccemacs overlay :)
<smolck> Couldn't we just install libgcc and extract it somehow?
<smolck> That looks like what we need ;)
vykook has joined #nixos
<smolck> Great find!
<bhipple> ^ Here's how far I've gotten. You need to pass --enable-host-shared to libgcc, which impacts performance, so it's not appropriate to check it into the "main" libgcc package inside nix; it should be a sidecar package called libgccjit specifically
<bhipple> I haven't gotten it to fully build yet, though
<smolck> Oh lol that yours, my bad hehe
<bhipple> :D
<smolck> What's stopping the buid?
<bhipple> Give it a try and see, it's been a week or two since I've poked at it
<{^_^}> [nixpkgs] @teto merged pull request #81388 → python27Packages.pymupdf: 1.16.10 -> 1.16.11 → https://git.io/Jvgrq
<{^_^}> [nixpkgs] @teto pushed commit from @r-ryantm to master « python27Packages.pymupdf: 1.16.10 -> 1.16.11 »: https://git.io/JvgoV
phreedom has joined #nixos
<bhipple> IIRC it was missing some configure flags; if you look at the "real" gcc library packages they're quite complicated
<bhipple> so figuring out which of those configure flags we have to extract requires some effort
<cole-h> Might also be interesting to look at the old, closed PR: https://github.com/NixOS/nixpkgs/pull/13400
<{^_^}> #13400 (by bendlas, 4 years ago, closed): gcc5: add libgccjit language
<{^_^}> [nixpkgs] @bhipple opened pull request #81392 → cargo-watch: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgoM
<bhipple> Yeah, that's referenced in https://github.com/NixOS/nixpkgs/issues/75288 and a good source of inspiration
<{^_^}> #75288 (by bhipple, 11 weeks ago, open): Package request: libgccjit (for trying gccemacs)
<cole-h> Oh, whoops, missed that because GH shrunk the URL to just the numbers :D
<bhipple> smolck: if you make any progress on it please post on issue #75288 to coordinate; I'll do the same.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/75288 (by bhipple, 11 weeks ago, open): Package request: libgccjit (for trying gccemacs)
<smolck> bhipple: Will do
<smolck> Not sure how much I can help here though
<cole-h> All you gotta do is get it building. It's easy!
<bhipple> Well, you can at least subscribe to the thread for updates :)
v88m has joined #nixos
<smolck> @cole-h Lol xD
<smolck> Watch it build first try ;)
vykook has quit [Ping timeout: 255 seconds]
<smolck> bhipple: What have they done in gccemacs to get the perf benefits?
<smolck> I saw something about native lisp, but didn't investigate
<bhipple> Despite the name, libgccjit is not just a JIT compiler, and can do AOT compilation to native assembly
<bhipple> gccemacs pre-compiles all the elisp to native assembly code (as opposed to elisp byte code)
<smolck> That does sound fast
<smolck> So it's basically emacs but with native assembly elisp?
<bhipple> https://www.reddit.com/r/emacs/comments/e2vzu7/natively_compiled_elisp_gccemacs/ there are some threads about it on reddit, the emacs mailing list, and in the guy's webpage describing it
<bhipple> yeah
<bhipple> precisely
<excelsiora> are there any books on nix?
<smolck> excelsiora: There is https://nixos.org/nix/manual/
<cole-h> ;)
LysergicDreams has quit [Ping timeout: 248 seconds]
<bhipple> The closest thing that reads like a from-first-principles bottom-up book walkthrough is the nix-pills ^
waleee-cl has joined #nixos
<excelsiora> k, I was aware of those, but wasn't sure best place to start, so pills...
<bhipple> nix pills for sure
LysergicDreams has joined #nixos
<smolck> Who knew gcc takes forever to compile lol
<smolck> Well, gccjit
<bhipple> Assuming you're just trying to learn about Nix in general. If you're trying to install NixOS, the NixOS manual, or if you're trying to do something specific like "how do I build Rust packages in NixPkgs" (the nixpkgs manual) etc.
<bhipple> yeah it does, hence why it's so painful to get a failure at the last minute :D
<bhipple> I got past all the really fast up-front failures, at least
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<smolck> Yeah
<smolck> Maybe it'll work now. I hope ;)
<{^_^}> [nixops] @TheWizardTower opened pull request #1234 → Start with types → https://git.io/JvgKL
<bhipple> I have to run, but I wish you luck; I'll try to take another look at it later this weekend too!
<smolck> Okay. Thanks for all the help!
<excelsiora> is this overview wrong on any major (or minor) points?: https://www.linuxinsider.com/story/85289.html
vykook has joined #nixos
<smolck> I skimmed it, didn't see anything really blatant
<smolck> I'd still recommend using the manual if your installing NixOS though
<smolck> If you're not afraid of the terminal I'd go with the live image that doesn't have the display manager
<smolck> (BTW, I'm still fairly new to Nix/NixOS, so not like an expert or anything)
gilescope[m] has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #81393 → cargo-fuzz: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgKO
<NemesisD> is there an alternative way to install a package from pip if it isn't in the python packageset? i'm not entirely sure why it isn't in there
<{^_^}> [nixpkgs] @bhipple opened pull request #81394 → cargo-udeps: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgKB
vykook has quit [Ping timeout: 256 seconds]
Uniaika has joined #nixos
<Uniaika> Hi again.
<{^_^}> [nixpkgs] @ciil opened pull request #81395 → rstudio: 1.2.1335 -> 1.2.5033 → https://git.io/JvgKz
<Uniaika> I would like to report that `nix` crashes with stack smashing error on Fedora 31
<Uniaika> Should I simply open a bug on GitHub?
vykook has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #81396 → util-linux: use $bin output for umount → https://git.io/JvgKK
<{^_^}> [nixpkgs] @primeos merged pull request #80902 → wayvnc, neatvnc: init at 0.1.0 → https://git.io/Jv0HX
<{^_^}> [nixpkgs] @primeos pushed 4 commits to master: https://git.io/JvgKi
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #81397 → rustup: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgK1
vykook has quit [Ping timeout: 240 seconds]
<jonreeve[m]> Anyone know how to add a package from GitHub?
<Uniaika> jonreeve[m]: for GH repos that provide it, you can do something along the lines of
<jonreeve[m]> I made a shell.nix file for my Haskell project using `cabal2nix --shell . > shell.nix` but now I want to use a version of a haskell package from GitHub which isn't yet on Hackage
<Uniaika> $ nix-env -iA hie-core-ghc865 -f https://github.com/hercules-ci/hie-core-nix/tarball/master
<Uniaika> ah
<Uniaika> that's different
<Uniaika> although for that specific case I think I would fallback on stack's way to do things :/
justanotheruser has quit [Ping timeout: 260 seconds]
judson_ has quit [Remote host closed the connection]
judson_ has joined #nixos
linarcx has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #81398 → newsboat: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgKF
linarcx has joined #nixos
dm9 has quit [Quit: WeeChat 2.7.1]
<jonreeve[m]> What does this error message mean? `error: cannot auto-call a function that has an argument without a default value ('mkDerivation')`
Izorkin has quit [Ping timeout: 265 seconds]
iceychris[m] has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #79452 → ifconfig-parser and jc: init → https://git.io/JvnLH
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvgKx
smolck has quit [Remote host closed the connection]
justanotheruser has joined #nixos
Izorkin has joined #nixos
judson_ has quit [Ping timeout: 256 seconds]
maxdevjs has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #81399 → tiny: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvg6e
<{^_^}> [nixpkgs] @bhipple opened pull request #81400 → click: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvg6J
<{^_^}> [nixpkgs] @basvandijk opened pull request #81401 → release-19.09: qemu: fix URL for the patch for CVE-2019-13164 → https://git.io/Jvg6T
<{^_^}> [nixpkgs] @mmilata opened pull request #81402 → nixos/firejail: add example for wrappedBinaries → https://git.io/Jvg6k
<{^_^}> [nixpkgs] @basvandijk merged pull request #81401 → release-19.09: qemu: fix URL for the patch for CVE-2019-13164 → https://git.io/Jvg6T
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to release-19.09: https://git.io/Jvg6I
bhipple has quit [Ping timeout: 255 seconds]
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
lord| has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #81149 → pythonPackages.gtts: init at 2.1.1 → https://git.io/Jvupg
<{^_^}> [nixpkgs] @jonringer pushed commit from @unode to master « pythonPackages.gtts: init at 2.1.1 »: https://git.io/Jvg6Z
vykook has joined #nixos
opthomasprime has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81403 → python27Packages.rasterio: 1.1.2 -> 1.1.3 → https://git.io/Jvg6B
zupo has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
vykook has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #80552 → pythonPackages.astroquery 0.3.10 -> 0.4 → https://git.io/JvBlH
<{^_^}> [nixpkgs] @jonringer pushed commit from @xbreak to master « pythonPackages.astroquery 0.3.10 -> 0.4 »: https://git.io/Jvg6R
LysergicDreams has quit [Ping timeout: 260 seconds]
drew has joined #nixos
drew is now known as Guest86710
<Guest86710> @infinisil I'm having an issue adding all-hies to shell.nix. Do you have a second to check out my shell.nix file?
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
LysergicDreams has joined #nixos
<teto> Guest86710: show us
Guest86710 is now known as drew__b
<drew__b> ok let me link a pastebin
<cinimod_> Can anyone tell me why `splitmix` is still giving errors about bounds? I thought by ` jailbreak = true;` it would at least try to build? https://gist.github.com/idontgetoutmuch/2142452009435f931cc7ac3a6a930f4f
<drew__b> I'm not using NixOS (im on arch with nix installed) so I don't have that file he mentions
<drew__b> /etc/nixos/configuration.nix
<drew__b> that leads to the following error
<drew__b> @teto
vykook has joined #nixos
<clever> cinimod_: on line 21, random is getting its deps from that 2nd nixpkgs, and ignoring this overlay
<clever> cinimod_: you want to override the main pkgs.cabal2nix, to sever the link and make hsuper.callCabal2nix not depend on random
<clever> cinimod_: you can also do that by just not overriding pkgs.haskellPackages, rename the attr on line 3, and cabal2nix wont notice your overlay entirely
<cole-h> drew__b: Here's my
abathur has joined #nixos
<drew__b> looking
<drew__b> @cole-h does this use your system cabal?
<drew__b> or does it install cabal with the project?
<abathur> has anyone run into needing to pass PS1 through a wrapper script? it looks like by default bash shebangs (at least, perhaps other shells) eat PS1 if they aren't interactive
<cole-h> drew__b: I don't have anything Haskell installed globally, so what you see there is what I use for Haskell
vykook has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @Elyhaka closed pull request #75435 → fprintd, libfprint : update to 1.90.1 → https://git.io/Je9Oz
<{^_^}> [nixpkgs] @Elyhaka reopened pull request #75435 → fprintd, libfprint : update to 1.90.1 → https://git.io/Je9Oz
<cole-h> So, it installs cabal for use inside that shell
Izorkin has quit [Ping timeout: 248 seconds]
<drew__b> ok, and stack as well?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MichaelRaskin has joined #nixos
Izorkin has joined #nixos
<cole-h> > haskellPackages.ghcWithHoogle (p: with p; [ brittany cabal-install stack ])
<cole-h> Yes
<drew__b> that seems to install 865 versions of stack and cabal
<cole-h> ;)
<drew__b> any idea why that is?
<{^_^}> "<derivation /nix/store/59fbrc5vymdnw9j48wwjnljhwy4wy7ac-ghc-8.8.2-with-packages.drv>"
<abathur> or, I could rephrase, *since they aren't interactive*, they eat PS1, but if I fabricate a wrapper with a bash shebang using --noprofile --norc -e -i, it'll let PS1 through
<cole-h> Because you might not have updated your channels recently? If you're using unstable, `haskell-updates` to LTS 15.1 landed yesterday
<drew__b> this project is on 864
<drew__b> and idea how to specify that in the shell.nix?
<cinimod_> clever: if I do that then my overrides have no effect?
<{^_^}> [nixops] @TheWizardTower closed pull request #1234 → Start with types → https://git.io/JvgKL
<clever> cinimod_: yeah, myHaskellPackages = ....
<cole-h> None, sorry. Does it not work if you update your channels?
<clever> cinimod_: it will have no effect on cabal2nix, and you must use pkgs.myHaskellPackages to be affected
vykook has joined #nixos
<drew__b> im just going to abandon nix for this project
<drew__b> i dont understand it enough
monadplus has joined #nixos
<cinimod_> clever: my jail is still not being broken though: https://gist.github.com/idontgetoutmuch/2142452009435f931cc7ac3a6a930f4f#file-shell-nix-L32
zupo has joined #nixos
<clever> cinimod_: you still need to remove the 2nd nixpkgs on line 21
<cinimod_> jonreeve[m]: did you solve your problem of getting sources from GitHub?
<clever> cinimod_: thats breaking the overlay
<{^_^}> [nixops] @TheWizardTower opened pull request #1235 → Start with types rebase → https://git.io/Jvgiv
<{^_^}> [nixpkgs] @andir merged pull request #81099 → smartmontools: 7.0 -> 7.1 and devicedb updated to latest → https://git.io/JvuR1
<{^_^}> [nixpkgs] @andir pushed 3 commits to master: https://git.io/Jvgif
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81404 → python27Packages.orderedset: 2.0.1 -> 2.0.3 → https://git.io/JvgiJ
vykook has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @NinjaTrappeur opened pull request #81405 → nixos/networkd: add RoutingPolicyRules-related options → https://git.io/JvgiT
sigmundv__ has joined #nixos
<infinisil> drew__b: Are you familiar with Nix expressions?
<drew__b> very informally
<drew__b> basically I want to get HIE working with this repo https://github.com/data61/fp-course
<drew__b> they provide shell.nix and other tooling files
<drew__b> and I can't get it to work with hie
<infinisil> drew__b: I can tell you that the reason https://pastebin.com/KPnfXf2r doesn't work is because environment.systemPackages is a NixOS attribute. In a random shell.nix it doesn't make any sense
<drew__b> i see
<drew__b> any plans on adding instructions to the README similar to what @cole-h has?
<drew__b> i.e. installation for non nixOS users?
<clever> cinimod_: line 11, you forgot to callCabal2nix the new random
<clever> cinimod_: line 25-29, you want ps.random and friends
<clever> cinimod_: line 36, you want myHaskellPackages
<infinisil> drew__b: Yeah maybe, I've wanted something similar for a while
<drew__b> that would be pretty helpful TBH
<infinisil> drew__b: Does it work with what cole-h suggested?
<drew__b> well it definitely enters a nix-shell
<drew__b> and installs stuff
<drew__b> however I cannot get it to work with that repo
<drew__b> as in work, I mean HIE fails
<drew__b> i run `hie-wrapper --debug`
<drew__b> if you want to reproduce. Basically
<drew__b> 1. clone repo
<drew__b> 2. run ./support/copy-tools.sh (something like that, just autocomplete)
<drew__b> 3. Edit the shell.nix to be what cole-h has (but using hie 864)
<drew__b> then enter a nix-shell
<drew__b> and open the project in your editor
<drew__b> i had to add an hie.yaml, but that still didn't work otu
elux has joined #nixos
mexisme_ has joined #nixos
<infinisil> You haven't mentioned the error yet
<elux> anyone having install unstable channel at the moment? im getting Error: Failed copying /nix/store/6xqkgnj1hjgbg3jvxvzl74g924vw1lzj-luajit-2.1.0-beta3-luv-1.34.1-1/luv-1.34.1-1-rocks/luv/1.34.1-1/lib/libluv.so.1 to /nix/store/6xqkgnj1hjgbg3jvxvzl74g924vw1lzj-luajit-2.1.0-beta3-luv-1.34.1-1/lib/lua/5.1/libluv.so.1
<infinisil> (which is the main thing I'm interested in)
<drew__b> ok let me do it again, i killed that pane
<drew__b> it goes on, but that's the basic idea
<drew__b> this project is using ghc 854 (i'm pretty sure)
PulBhaBa has joined #nixos
<drew__b> if i change the cradle to use stack instead, i get a different error actually
<infinisil> Usually there are also other errors reported on stderr
mexisme_ has quit [Ping timeout: 256 seconds]
<infinisil> That does sound like it might be https://github.com/Infinisil/all-hies/issues/32
<{^_^}> Infinisil/all-hies#32 (by Jasagredo, 15 weeks ago, open): Error in emacs: can't load .so/.DLL for libm.so.6 due to GLIBC_2.29
<drew__b> i get that all the time
<drew__b> usually if i haven't build the project recently
<infinisil> I didn't have the time to investigate this error
<infinisil> Or the motivation hah
PulBhaBa_ has joined #nixos
<drew__b> this project might be a good chance to test it out quickly
<tokudan> how do I include the literal _text_ ${abc} in a string in a nix expression? or in other words: how do I prevent nix from interpreting that as "insert variable abc here"?
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<srk> > 'x ''${abc} y'
<{^_^}> error: syntax error, unexpected $undefined, at (string):284:1
<cole-h> infinisil: I don't think any non-NixOS-specific installation steps are necessary... Maybe just a `shell.nix` example. The only real difference is s/environment.systemPackages/buildInputs/
<srk> > 'x \\${abc} y'
<{^_^}> error: syntax error, unexpected $undefined, at (string):284:1
<tokudan> srk, ''${ did the trick, thanks :)
<srk> oo :) good
ddellacosta has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<srk> > "x ''${abc} y"
<{^_^}> undefined variable 'abc' at (string):284:8
<srk> weird
philr has quit [Ping timeout: 240 seconds]
vykook has joined #nixos
<emily> > { test1 = "x \${abc}"; test2 = "x $${abc}"; }
<{^_^}> { test1 = "x ${abc}"; test2 = "x $${abc}"; }
<{^_^}> [nixpkgs] @lopsided98 opened pull request #81406 → buildbot: 2.6.0 -> 2.7.0 → https://git.io/Jvgi2
<emily> looks like \${ does it
<emily> for double-quoted strings
<{^_^}> [nixops] @grahamc merged pull request #1235 → Start with types rebase → https://git.io/Jvgiv
<{^_^}> [nixops] @grahamc pushed 18 commits to start-with-types: https://git.io/JvgiV
knupfer has quit [Ping timeout: 240 seconds]
shafox has quit [Remote host closed the connection]
phreedom_ has joined #nixos
PulBhaBa has quit [Remote host closed the connection]
<tokudan> emily, I'm inside ''whatever''
<emily> yeah, then ''${...} is the right thing
o1lo01ol1o has joined #nixos
PulBhaBa_ has left #nixos ["https://quassel-irc.org - Chat comfortably. Anywhere."]
<srk> emily++
<{^_^}> emily's karma got increased to 11
phreedom has quit [Ping timeout: 240 seconds]
kleisli has quit [Ping timeout: 240 seconds]
* srk failing at grep .. git grep -- '\\\\\'\\\\\\'\$'
<samueldr> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<samueldr> ,escape"
<{^_^}> " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
<srk> hah :D
<samueldr> when you get deep in quotations, you may want to instead use antiquotation to use another form of escaping
<tokudan> i usually just add backslashes till it works ;)
<samueldr> ''${"''sample nix string''"}''
<samueldr> > ''${"''sample nix string''"}''
vykook has quit [Ping timeout: 240 seconds]
<{^_^}> "''sample nix string''"
<samueldr> (yes, the example is extremely contrived)
o1lo01ol1o has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<cinimod_> clever: I have to cook dinner - thanks - I'll try later
drew__b has quit [Quit: WeeChat 2.7.1]
o1lo01ol1o has joined #nixos
<{^_^}> [nixops] @grahamc pushed to start-with-types « diff: fixme -> to-done: type hint on nixops.deployment.Deployment »: https://git.io/Jvgib
vykook has joined #nixos
<jonreeve[m]> <cinimod_ "jonreeve: did you solve your pro"> Not really. I guess I just want a way to say: get me these packages from Hackage, and these from GitHub, and put them all together in a haskell development environment
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d195a68f87c (from 78 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<cinimod_> jonreeve[m]: `splitmix = hsuper.callHackage "splitmix" "0.0.3" {};`
<cinimod_> or something like that - sorry I am in the middle of cooking dinner
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<cinimod_> jonreeve[m]: or something like the above
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
niso_ has joined #nixos
vykook has quit [Ping timeout: 260 seconds]
knupfer has joined #nixos
andymandias_ has quit [Ping timeout: 272 seconds]
andymandias has joined #nixos
<Baughn> I made an attempt at setting -march for my platform.
<Baughn> Then I tried just recompiling everything *without* that.
<Baughn> But either my machine is consistently miscompiling Perl, or else there's a bug somewhere which causes a TimeDate test to fail... but not on the compiler farm.
Diogo has quit [Quit: The Lounge - https://thelounge.chat]
Diogo has joined #nixos
vykook has joined #nixos
<samueldr> Baughn: we're feb 29th, is it *today* you're building?
<samueldr> Baughn: maybe there *is* a bug like e.g. trying to get Date(current_year + 1, current_month, current_day)
opthomasprime has left #nixos [#nixos]
<samueldr> which is hilarious if it's a timedate library's tests that are failing on such a trivial and regularly reoccuring date
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
<LnL> could also be the host's timezone
dingenskirchen1 has quit [Client Quit]
dingenskirchen has joined #nixos
JonReed has joined #nixos
vykook has quit [Ping timeout: 258 seconds]
vykook has joined #nixos
<{^_^}> [nixops] @grahamc pushed to nixops-plugins-types « Try to expose a py.typed output »: https://git.io/JvgP5
ddellacosta has quit [Ping timeout: 256 seconds]
<Baughn> samueldr: So, this is the test: https://github.com/gbarr/perl-TimeDate/blob/master/t/date.t
<Baughn> It doesn't appear to ever read the current time.
<Baughn> But I'll try again tomorrow.
vykook has quit [Ping timeout: 255 seconds]
chloekek has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Kiwi closed pull request #81322 → haskellPackages.hookup: fix build → https://git.io/Jvgqq
<elux> who broke nixos unstable channel...? builder for '/nix/store/nv873vikr2nrm02f0lmsicp1lz49yg85-luajit-2.1.0-beta3-luv-1.34.1-1.drv' failed with exit code 1
<samueldr> elux: if it's pushed to a channel, the channel itself has tested and is valid
<samueldr> elux: though, it can happen that dependencies that are not part of the tested subset break
<samueldr> which I think is what is happening here
<samueldr> neovim is my best guess
<samueldr> #81206
<{^_^}> https://github.com/NixOS/nixpkgs/issues/81206 (by mweinelt, 1 day ago, open): neovim install fails with missing libluv.so.1
vykook has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
Soo_Slow has quit [Quit: Soo_Slow]
zupo has joined #nixos
<teto> the libluv has some flaws that we are trying to properly fix to clear the neovim issue
<balsoft> Hi, does anybody know why does grub forcefully copyies kernels and initrd's to `/boot` if it's on another partition? Shouldn't it be able to just mount the root(`/nix/store`) partition and boot from there?
<{^_^}> [nixpkgs] @veprbl merged pull request #81051 → libyamlcpp: actually build shared libraries → https://git.io/JvumW
<{^_^}> [nixpkgs] @veprbl pushed commit from @lopsided98 to master « libyamlcpp: actually build shared libraries (#81051) »: https://git.io/JvgXu
<cole-h> teto: Is there a tracking issue to follow along with, aside from the one on nixpkgs?
<{^_^}> #80528 (by doronbehar, 1 week ago, open): luaPackages.luv: cleanup build
abathur has quit [Ping timeout: 258 seconds]
abathur has joined #nixos
cosimone has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #81147 → perlPackages.JSONValidator: 3.18 -> 3.23 → https://git.io/Jvupv
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvgXo
vykook has quit [Ping timeout: 240 seconds]
<cole-h> teto++
<{^_^}> teto's karma got increased to 4
<cole-h> Missed that somehow :^)
<JonReed> How can I debug why NixOS doesn't start a graphical session in QEMU? When the machine starts I'm presented with a login console. If I login as root, I can see via `systemctl status display-manager.service` that display manager is running. Yet, I'm in console. It could be I'm missing something very basic, because I'm used to NixOS logging me into a
<JonReed> desktop on my normal machine and in VM's I used console before.
<{^_^}> [nixpkgs] @primeos opened pull request #81407 → wayland-protocols: 1.18 -> 1.20 → https://git.io/JvgX1
<JonReed> When I login as user, `systemctl --user status graphical-session.target` shows "inactive (dead)". I can't figure out how to check GPU memory in QEMU and if perhaps this is a resource issue, but I don't think it is. Running `systemctl start graphical-session.target` still leaves me in console, even though the service starts.
<JonReed> `systemctl --user start graphical-session.target` *
boxscape has joined #nixos
vykook has joined #nixos
drakonis has joined #nixos
MasseR has quit [Quit: The Lounge - https://thelounge.chat]
MasseR has joined #nixos
teto has quit [Quit: WeeChat 2.7.1]
o1lo01ol1o has joined #nixos
vykook has quit [Ping timeout: 260 seconds]
<JonReed> Of course, just the moment I ask the question I realize what to try. It appears that xorg not running `echo $DISPLAY` is nothing and `ps -aux | grep xorg` shows nothing as well. Hopefully, I'll be able to figure out why.
hasanzia has joined #nixos
hasanzia has quit [Client Quit]
vykook has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/71113dbc692 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
phreedom_ has quit [Remote host closed the connection]
phreedom has joined #nixos
mexisme_ has joined #nixos
<{^_^}> [nixops] @grahamc pushed to start-with-types « Revert "diff: fixme -> to-done: type hint on nixops.deployment.Deployment" »: https://git.io/Jvg1v
justanotheruser has quit [Ping timeout: 240 seconds]
dtz11 has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « python3Packages.ics: 0.6 -> 0.7 »: https://git.io/Jvg1k
vykook has quit [Ping timeout: 256 seconds]
`slikts has quit [Quit: No Ping reply in 180 seconds.]
vykook has joined #nixos
<Thra11> How do I 'fetch' a local directory as `src`?
<cole-h> Just use `src = insert path here;`?
`slikts has joined #nixos
`slikts has quit [Changing host]
`slikts has joined #nixos
<symphorien> the path must not be quoted and start with / or ./
ShaRose has quit [Quit: I appear to have left for some reason.]
<Thra11> cole-h, symphorien: Ok. Thanks. And that will refetch whenever the sources change?
<symphorien> yes
<symphorien> it is checked on every evaluation (which may make it slow if the directory is large)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shibboleth has joined #nixos
vykook has quit [Ping timeout: 255 seconds]
shibboleth has quit [Excess Flood]
shibboleth has joined #nixos
mexisme_ has quit [Ping timeout: 272 seconds]
toppler has quit [Remote host closed the connection]
toppler has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
<evanjs> infinisil: ohhh I wonder if some of my paths being gc'ed is due to things under config/new-modules being double imported. Have you had issues with e.g. new-modules/dev not being required by anything, thus being gc'ed on nix-collect-garbage?
iqubic has quit [Remote host closed the connection]
vykook has joined #nixos
monadplus has quit [Ping timeout: 256 seconds]
vykook has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos
nerdmaxx has joined #nixos
<{^_^}> [nixpkgs] @smaret opened pull request #81409 → [ZHF] pythonPackages.astroquery 0.3.10 -> 0.4 → https://git.io/JvgMn
<JonReed> If I see NixOS showing "Started X11 Server", then it means that it NixOS was on its way to booting me into the graphical session, right? NixOS boots me into console, running either `ps -aux | grep xorg` and `ps -e | grep tty` does not show xorg. It must mean that xorg was started by `display-manager.service` but was then killed for whatever
<JonReed> reason, right?
<cole-h> Does NixOS still dump Xorg logs to /var/log/Xorg.*.log? If so, you should check those
Guest2075611 has joined #nixos
jonten has joined #nixos
<Baughn> balsoft: It can't assume that /nix/store is always readable by the bootloader. A symlink would only work if /boot is the same partition as everything else, and that's unusual. Especially recently, given UEFI boot prevents it.
<{^_^}> [nixpkgs] @jtojnar reopened pull request #81332 → libgit2-glib: 0.28.0.1 -> 0.99.0.1 → https://git.io/JvgOx
teto has joined #nixos
never_released has joined #nixos
<balsoft> Baughn: GRUB can mount ext4/btrfs/zfs, right? Why not just mount the store partition and use that?
<JonReed> cole-h: I can't find `/var/log/Xorg*`. I would love to find any logs. `journalctl --unit display-manager.service` shows "Started X11 Server" as one of the last entries.
orivej has quit [Ping timeout: 258 seconds]
<Baughn> balsoft: For one thing, the default bootloader isn't grub.
konobi has quit [Quit: konobi]
<Baughn> The kernel is tiny. You're right that this optimization could sometimes be made, but it isn't worth the extra complexity.
konobi has joined #nixos
<manveru> JonReed: check /var/log/X.0.log ?
<Baughn> Oh, and grub *can't* mount most ZFS filesystems. Its driver isn't up to date, so anything created recently, or upgraded, won't work.
<JonReed> manveru: `ls /var/log` shows `btmp faillog journal lastlog private wtmp`. Nothing else is there.
<{^_^}> [nixpkgs] @evanjs opened pull request #81410 → postman: 7.18.0 -> 7.19.1 → https://git.io/JvgMr
<manveru> that's not good...
<abathur> I spelunked in the Nix python builder long enough to figure out how to take some of that work and collapse these down into a single wrapper.
<abathur> It didn't, as I suspected, fix the issue at hand. Even with a single wrapper, the PS1 still isn't passing through to bin/osh.
<abathur> I think I did figure out what's going on, though.
<abathur> Your wrappers use a `/bin/sh` shebang. I'm guessing whatever provides your /bin/sh is provided by a non-bash shell that doesn't block PS1 (IIRC it's probably dash?). Nix patches /bin/sh to nix-installed bash (and, AFAIK, it does so because of /bin/sh portability issues like this).
<abathur> ```
<abathur> # Nix shells
<abathur> $ env -i PS1="test" /nix/store/0c3vnmk18qj4q82srw27i7m763iznwfm-mksh-52/bin/mksh -c 'echo $PS1'
<abathur> test
vykook has joined #nixos
<abathur> $ env -i PS1="test" /nix/store/6ma26h5ipq1bj3bny6if34v4374wj2fb-dash-0.5.8/bin/dash -c 'echo $PS1'
<abathur> test
<abathur> $ env -i PS1="test" /nix/store/6qxm90a0xizaw6vgc40924a4cfmv3h73-bash-4.4-p23/bin/bash -c 'echo $PS1'
<abathur> $ env -i PS1="test" /nix/store/w32iv3j9bffwi379hhqfnxyqaq2ynrll-python2.7-oil-undefined/bin/osh -c 'echo $PS1'
hax404 has quit [Quit: WeeChat 2.7.1]
<abathur> # stock macOS shells
<abathur> $ env -i PS1="test" /bin/sh -c 'echo $PS1'
<samueldr> abathur: :/
<drakonis> hi
<abathur> $ env -i PS1="test" /bin/bash -c 'echo $PS1'
<abathur> $ env -i PS1="test" /bin/csh -c 'echo $PS1'
<drakonis> can you pastebin that
<abathur> test
<cole-h> ,paste abathur
<{^_^}> abathur: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<abathur> $ env -i PS1="test" /bin/tcsh -c 'echo $PS1'
<abathur> test
<abathur> $ env -i PS1="test" /bin/ksh -c 'echo $PS1'
<drakonis> i dont think he can see that
<abathur> test
<manveru> too late :)
<abathur> $ env -i PS1="test" /bin/zsh -c 'echo $PS1'
<abathur> test
<abathur> ```
<abathur> ack
<abathur> sorry
<abathur> :(
<abathur> In a bit of a pickle. I'm setting up nix-based CI for the oil shell project. Debugging a test that breaks in Nix but not existing non-nix CI. The test sets PS1, runs commands in oil's `osh` shell, and checks the output--but non-interactive bash (and thus, any Nix-built/patched wrapper) apparently unsets PS1.
<cole-h> Wowza
<balsoft> Baughn: This came up in the context of security. `/nix/store` is assumed to be immutable and also can be checked for correctness pretty easily. This is not the case for the copied kernels. It's simpler for an attacker to change `/boot` than to change athing in store.
<drakonis> at least you didnt get nuked by sigyn
<cole-h> That's the most amount of text by one person I've ever seen in IRC
<abathur> sorry, I just thought I'd copied, and hadn't, and pasting in weechat auto-sent it all
<drakonis> cole-h: i've seen more
<drakonis> weechat actually asks if you want to send the batch
<abathur> I meant to just send the latter
<cole-h> Weechat prompts me if I paste more than 1 line, yeha
<Baughn> balsoft: If that's your goal, then I would recommend signing your kernel. Make use of the TPM chip.
<abathur> it didn't, I must be missing a setting
<JonReed> weechat loves multilines
<drakonis> weird
<balsoft> Baughn: Thanks, I'll pass this onto the person asking :)
<Baughn> balsoft: Changing /nix/store is pretty easy, by the way.
<evanjs> yeah glad it does, I would've been kicked so many times if it didn't :D
<cole-h> abathur: weechat.look.paste_max_lines = 1
<abathur> :)
<Baughn> It's mounted read-only to prevent accidents. It most certainly isn't a security measure.
<abathur> cole-h: ty
xeifu has joined #nixos
<balsoft> Baughn: I know, the person asking has made some measures to prevent anyone from getting RW access to it, presumably.
<balsoft> Baughn: anyways, thanks for the answers.
hax404 has joined #nixos
monadplus has joined #nixos
<Baughn> balsoft: It all seems pretty odd. I'm not sure what you'd be defending against -- given root access, there's no difference in difficulty between changing the two.
<Baughn> And if you lack root, then you can't change either.
<Baughn> The TPM chip can defend against physical access to a degree, but there are better ways to prevent that. Like guards.
vykook has quit [Ping timeout: 240 seconds]
<balsoft> I don't know their reasoning, maybe it's an XY problem.
<Baughn> Maybe. Security is full of snake oil.
zupo has joined #nixos
<JonReed> Does the default QEMU VM generated by NixOS has enough resources to run an xorg session? I suspect my mysterious xorg problems are related to some resource usage, but I can't figure out how to either check how much VRAM Qemu VM has nor set more vram. I tried giving the QEMU_OPTS `-device VGA,vgamem_mb=256`, but this makes VM not boot at all, it
<JonReed> greets me with the screen saying "Guest has not initialised the display (yet)".
vykook has joined #nixos
<abathur> cole-h: odd; i have it set; not sure, unless maybe Terminal.app doesn't support the escape sequences it notes
<manveru> JonReed: always works for me without any changes... (not very helpful i know)
<JonReed> manveru: It is very helpful, actually, because now at least I know that it should work.
<manveru> how do you build the image?
<leons> Agree with Baughn. The proper way to defend against any modifications, be it on /boot or elsewhere is to store your cryptographic secrets in the TPM and lock them using PCR values
<leons> However systemd's non-deterministic nature, verifying the userland with PCRs is going to be difficult. Distributions like Alpine do a better job here
<worldofpeace> JonReed: Use virtualisation.memorySize to control memory in your vm, and virtualisation.cores for the cores. Hope that's useful.
<JonReed> manveru: `nix-build '<nixpkgs/nixos>' -A vm -I nixos-config=./configuration.nix`
<JonReed> worldofpeace: Unfortunately, I already set it at 4 gigs and 8 cores :(
<manveru> can you paste the config?
<manveru> s/paste/share
<manveru> i can try reproducing it, if it's not too big
vykook has quit [Ping timeout: 256 seconds]
monadplus has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81411 → python27Packages.smmap: 0.9.0 -> 3.0.1 → https://git.io/JvgD4
<JonReed> @manveru: configuration.nix: https://pastebin.com/UiD69Vjf default.nix: https://pastebin.com/GrN0Cb9E
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JvgDR
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #81182 → src: 1.27 -> 1.28 → https://git.io/Jvzn4
<JonReed> manveru: default.nix just wraps configuration.nix to give qemu a couple new options
fresheyeball has joined #nixos
<fresheyeball> so I am setting up a new system with nixops on packet host
<fresheyeball> and now it wont boot
iqubic has joined #nixos
<fresheyeball> joining the out of band terminal, it shows it hangs on
<fresheyeball> setting up /etc...
mehlon has quit [Quit: Connection closed for inactivity]
jonten has quit [Ping timeout: 260 seconds]
vykook has joined #nixos
<JonReed> Ah, the real command ends up just being `nix-build` and then `/nix/store/<ouput-of-nix-build>/bin/run-nixos-vm`. The previous one I pasted was what I used before wrapping it in default.nix
monadplus has joined #nixos
<fresheyeball> how can I debug this?
<fresheyeball> what change could I make the would cause this to occur?
ShaRose has joined #nixos
dashkal has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
<fionera> i had this issue with a missing opengl context when i ran on unstable. apparently I am not the only one. https://github.com/NixOS/nixpkgs/issues/80936
<{^_^}> #80936 (by shyim, 5 days ago, open): Kitty does not start more
<fionera> looking into the commit between 1909 and unstable regarding opengl
__monty__ has quit [Quit: leaving]
bhipple has joined #nixos
jonten has joined #nixos
vykook has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #81412 → tree-sitter.builtGrammars: build parser libraries → https://git.io/JvgDo
Rusty1 has quit [Remote host closed the connection]
xeifu has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #81358 → phoronix-test-suite: 9.2.1 -> 9.4.0 → https://git.io/JvgR1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgDX
<{^_^}> [nixpkgs] @avh4 opened pull request #81413 → elm-format: 0.8.2 -> 0.8.3 → https://git.io/JvgD1
vykook has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #81299 → forkstat: 0.02.12 -> 0.02.13 → https://git.io/JvzjC
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgDM
monadplus has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #81403 → python27Packages.rasterio: 1.1.2 -> 1.1.3 → https://git.io/Jvg6B
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgDy
fresheyeball has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @marsam merged pull request #81386 → libvmaf: 1.3.15 -> 1.5.1 → https://git.io/Jvgrk
<{^_^}> [nixpkgs] @marsam pushed 4 commits to master: https://git.io/JvgDb
vykook has quit [Ping timeout: 258 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #81348 → ne: 3.2.1 -> 3.3.0 → https://git.io/JvgWX
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvgyv
o1lo01ol1o has joined #nixos
vykook has joined #nixos
philr has joined #nixos
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #81414 → wofi: 1.0 -> 1.1 → https://git.io/Jvgys
<{^_^}> [nixpkgs] @jonringer merged pull request #80444 → OSMPythonTools: init at 0.2.6 → https://git.io/Jv4Kk
<{^_^}> [nixpkgs] @jonringer pushed commit from @das-g to master « osmpythontools: init at 0.2.6 »: https://git.io/JvgyG
o1lo01ol1o has quit [Ping timeout: 258 seconds]
shibboleth has quit [Quit: shibboleth]
sjuberman has joined #nixos
vykook has quit [Ping timeout: 255 seconds]
<sjuberman> Hey, I've been using nix-darwin in my Mac for a while and I've liked it a lot. So I decided to try NixOS in a VM to see how it might be better. I've hit a snag where NixOS does not allow running pre-packaged binaries to run without pathcing them first.
<sjuberman> Is there really now way to run normal binaries in NixOS?
abathur has quit [Read error: Connection reset by peer]
<sjuberman> I was hoping I could use Nix just to configure my setup (dotfiles/applications/window manger/etc) and the keep my normal workflow
<fionera> you have to patch them first or compile them yourself since the linker works completely different
<fionera> i dont know if there is any other way in nix-darwin since I only use nixos directly on my machine. but for me its that case
<symphorien> you can use steam-run to run many unpatched binaries
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to release-20.03: https://git.io/Jvgyl
<sjuberman> Yeah, it's really a problem when you use things like Bazel on daily basis.
<fionera> downgrading to the kernel from 19.09 didnt help too with the missing gl context
<cole-h> fionera: If you're comfortable with git, a `git bisect` might be useful (using a local clone of nixpkgs)
vykook has joined #nixos
<sjuberman> I tried using steam-run and start my zsh session with it and then run Bazel but I hit problems with Git. Seems like a git/libcurl incompatability.
<fionera> I cant really go away from unstable on the machine since I depend on it with home-manager
<{^_^}> [nixpkgs] @NinjaTrappeur opened pull request #81415 → linux: add policy routing config flag for aarch64 → https://git.io/Jvgya
<hexa-> fionera: you could very well backport sway to an older home-manager version
shizonic111 has joined #nixos
hiroshi[m]1 has joined #nixos
<fionera> hexa-: yeah but thats honestly too much work for me as I dont really know nix yet
<cole-h> To be able to use `<something>` in a Nix file, I just need to have `something=$HOME/something` in my NIX_PATH, right?
<hexa-> fionera: always a first time when you need to get your hands dirty
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #81192 → glances: move from python-module to application → https://git.io/Jvz8J
<{^_^}> [nixpkgs] @jonringer pushed to master « glances: move from python-module to application »: https://git.io/JvgyM
<clever> cole-h: you can also have a /foo in NIX_PATH, and then a /foo/something
vykook has quit [Ping timeout: 240 seconds]
<infinisil> sjuberman: Why can't you use the bazel from nix?
<cole-h> clever: Sorry, I don't understand. Mind giving an example?
<cole-h> Oh, do you mean if I have `/foo` in NIX_PATH, I can access `/foo/something` via `<something>`?
<clever> cole-h: yep
<cole-h> OK, that's pretty cool. Thanks! clever++
<{^_^}> clever's karma got increased to 338
<clever> cole-h: just like #include <something.h> and `-I /foo` would work in gcc
slyfox has quit [Ping timeout: 265 seconds]
mexisme_ has quit [Ping timeout: 240 seconds]
<symphorien> can someone review https://github.com/NixOS/nixpkgs/pull/78046 ?
<{^_^}> #78046 (by symphorien, 5 weeks ago, open): nixos/snapper: automatically create the .snapshots subvolume with correct permissions
nerdmaxx has quit [Quit: Lost terminal]
linarcx has quit [Quit: WeeChat 2.7.1]
wak-work11111 has joined #nixos
<sjuberman> infinisil: I've been trying to get it to work. I prefer using bazelisk(https://github.com/bazelbuild/bazelisk) to bootstrap bazel. The problem is that bazelisk downloads the bazel binary and that does not fly in NixOS
<{^_^}> [nixpkgs] @marsam merged pull request #81389 → cargo-generate: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvgoe
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvgyx
<sjuberman> And the stable NixOS channel has a ancient Bazel version
<{^_^}> [nixpkgs] @marsam merged pull request #81353 → ocamlPackages.ocamlnet: 4.1.6 -> 4.1.7 → https://git.io/JvgBL
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvgyj
<sjuberman> I tried using steam-run but that did not work either. Failed when Bazel tried to clone some git repositories.
<{^_^}> [nixpkgs] @marsam merged pull request #81232 → tensorman: upgrade cargo fetcher and cargoSha256 → https://git.io/JvzPX
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgSk
<{^_^}> [nixpkgs] @marsam merged pull request #81235 → rdedup: upgrade cargo fetcher and cargoSha256 → https://git.io/JvzXq
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgSL
<{^_^}> [nixpkgs] @marsam merged pull request #81247 → miniserve: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvz1F
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgSq
<{^_^}> [nixpkgs] @marsam merged pull request #81250 → lorri: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvz1h
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgSm
<{^_^}> [nixpkgs] @marsam merged pull request #81349 → openfortivpn: 1.11.0 -> 1.12.0 → https://git.io/Jvg8l
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgS3
<{^_^}> [nixpkgs] @marsam merged pull request #81404 → python27Packages.orderedset: 2.0.1 -> 2.0.3 → https://git.io/JvgiJ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgSG
<fionera> is there a way to replace the use of nix-channels with an entry in the configuration.nix?
<{^_^}> [nixpkgs] @marsam merged pull request #81383 → contrast: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvgw9
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgSn
growpotkin has joined #nixos
<Baughn> fionera: Yes, but it will only affect the *next* build.
<{^_^}> [nixpkgs] @jonringer merged pull request #81411 → python27Packages.smmap: 0.9.0 -> 3.0.1 → https://git.io/JvgD4
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.smmap: 0.9.0 -> 3.0.1 »: https://git.io/JvgSW
<fionera> ah hmm sad
<Baughn> A channel is needed to evaluate the file. This probably isn't what you want.
abathur has joined #nixos
vykook has joined #nixos
abathur has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #81393 → cargo-fuzz: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgKO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgS4
abathur has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #81379 → cargo-web: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgwG
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgSR
<{^_^}> [nixpkgs] @veprbl merged pull request #81406 → buildbot: 2.6.0 -> 2.7.0 → https://git.io/Jvgi2
<{^_^}> [nixpkgs] @veprbl pushed commit from @lopsided98 to master « buildbot: 2.6.0 -> 2.7.0 (#81406) »: https://git.io/JvgSE
bhipple has quit [Ping timeout: 240 seconds]
bhipple has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #80588 → hevea: 2.32 -> 2.33 → https://git.io/JvBKA
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgSg
<cole-h> Anybody feeling generous and want to review my qimgv PR? https://github.com/NixOS/nixpkgs/pull/81344
<{^_^}> #81344 (by cole-h, 20 hours ago, open): qimgv: init at 0.8.9
gustavderdrache has joined #nixos
vykook has quit [Ping timeout: 256 seconds]
cinimod_ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @marsam merged pull request #80716 → seafile-shared: 7.0.5 -> 7.0.6 → https://git.io/JvREk
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgSr
<{^_^}> [nixpkgs] @marsam merged pull request #81394 → cargo-udeps: upgrade cargo fetcher and cargoSha256 → https://git.io/JvgKB
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgSo
abathur has quit [Read error: Connection reset by peer]
knupfer has quit [Ping timeout: 240 seconds]
abathur has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #81413 → elm-format: 0.8.2 -> 0.8.3 → https://git.io/JvgD1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvgSH
energizer` has joined #nixos
<fionera> cole-h: sadly bisect doesnt work smh. after the first bad commit it doesnt continue to the next one
<energizer`> does using niv (https://github.com/nmattia/niv) mean not using nixpkgs?
vykook has joined #nixos
<clever> energizer`: the version of nixpkgs you use, is typically set by niv, not $NIX_PATH
<cole-h> fionera: You have to specify a good commit and a bad commit, and keep providing feedback. `git bisect good release-19.09`, `git bisect bad master`, and then start testing. If you run into a bad commit, `git bisect bad`. If it works fine, `git bisect good`
<fionera> yeah did that but it always hangs on the first commit
<cole-h> What do you mean, "hangs"?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9a4d723e436 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<fionera> if i enter bad after the first run it doesnt checkout another commit
<cole-h> teto++ Thanks :)
<{^_^}> teto's karma got increased to 5
<clever> fionera: have you given it both a good and a bad rev?
<clever> fionera: what does `git bisect log` say?
<fionera> yes else it wouldnt start
<energizer`> clever: oh i get it now
<fionera> git bisect start
<fionera> git bisect bad 9a4d723e436d8c1b94782dbff6d2d8dd4bf5dce5
<fionera> # bad: [9a4d723e436d8c1b94782dbff6d2d8dd4bf5dce5] Merge pull request #81182 from r-ryantm/auto-update/src
<fionera> git bisect good ce9f1aaa39ee2a5b76a9c9580c859a74de65ead5
<fionera> # good: [ce9f1aaa39ee2a5b76a9c9580c859a74de65ead5] Merge pull request #81166 from primeos/chromium-backport
<fionera> # bad: [93aabab7605c21f5962df2dffa7fee9ac17ba848] haskell/with-packages-wrapper.nix: remove /bin symlink if it exists
<{^_^}> https://github.com/NixOS/nixpkgs/pull/81166 (by primeos, 2 days ago, merged): [19.09] chromium: 80.0.3987.116 -> 80.0.3987.122 (backport)
<fionera> git bisect bad 93aabab7605c21f5962df2dffa7fee9ac17ba848
<{^_^}> https://github.com/NixOS/nixpkgs/pull/81182 (by r-ryantm, 2 days ago, merged): src: 1.27 -> 1.28
<fionera> off
<fionera> sorry
shah^ has quit []
<fionera> and from there on every bisect bad gives me the same commit
<fionera> in log there is only the 93aa commit
<clever> can you screenshot `git bisect view` ?
<fionera> its empty and only says "no commits selected"
vykook has quit [Ping timeout: 260 seconds]
<cole-h> Oh, I think it's because of merge commits :/
wtuhfm^ has joined #nixos
<clever> The merge base 93aabab7605c21f5962df2dffa7fee9ac17ba848 is bad.
<clever> This means the bug has been fixed between 93aabab7605c21f5962df2dffa7fee9ac17ba848 and [ce9f1aaa39ee2a5b76a9c9580c859a74de65ead5].
<clever> fionera: when i replay the same bisect, it tells me this
<energizer`> what problems am i gonna run into if i try to keep data files in nix?
<fionera> yes and it never changes that
<energizer`> ~100GB
pikajude has quit [Quit: ZNC 1.7.5 - https://znc.in]
<clever> fionera: because git bisect is meant to find where it broke, and if its already fixed, it fails
ixxie has joined #nixos
pikajude has joined #nixos
<energizer`> first off it seems to load everything into memory at once
<clever> energizer`: git doesnt deal with large files very well, even worse if your modifying the file repeatedly
<gchristensen> Nix isn't really intended for that
mexisme_ has joined #nixos
<energizer`> clever: git? did you mean nix?
<clever> energizer`: for nix, you want to use pkgs.fetchurl to download the large data file, then it wont have to hash it each time, and youll get much better performance
vykook has joined #nixos
fresheyeball has joined #nixos
<energizer`> clever: and then i transform the file and save it as an $out
<clever> energizer`: ive done that as well, processing multi-gig files down into a sqlite db and then into output stuff
<energizer`> gchristensen: in theory it seems like a great fit, no?
<cole-h> fionera: Maybe you could try https://github.com/timokau/nix-bisect?
<gchristensen> energizer`: I think yes :)
<clever> energizer`: nix deals with compiling the tools if the source ever changes, and re-generating intermediate data if any of the tools ever change
<clever> energizer`: so its much simpler to manage a complex chain of transformations to the data
<fionera> cole-h: wrong approach... I am not having a compile error. everything builds fine, but in runtime I dont have a opengl context
abathur has quit [Ping timeout: 260 seconds]
<energizer`> clever: exactly what i mean
<fionera> so I have to restart my wayland session everytime to check if it works anyway
<{^_^}> [nixpkgs] @jonringer merged pull request #80755 → python.pkgs.slackclient: 1.2.1 -> 2.5.0 → https://git.io/JvRN3
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/Jvg9s
<energizer`> but clearly there are some practical issues standing in the way
jgeerds has quit [Ping timeout: 240 seconds]