sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
ddellacosta has joined #nixos
magnetophon has quit [Ping timeout: 245 seconds]
<andrewzah> arcnmx: that fixed it!
Ariakenom has quit [Quit: Leaving]
philipcristiano has quit [Ping timeout: 252 seconds]
r0bby has quit [Ping timeout: 252 seconds]
<andrewzah> the other generation issue for crates-io.nix is with dotenv's feature
<andrewzah> crateBin = (if features."dotenv"."0.14.1"."cli" then [{ name = "dotenv"; } ] else []);
dukedave has quit [Ping timeout: 252 seconds]
<andrewzah> that leads to error: attribute 'cli' missing, at /home/andrew/Programming/Rust/danmuji/crates-io.nix:1477:20
joehh has joined #nixos
philipcristiano has joined #nixos
r0bby has joined #nixos
sorear has quit [Ping timeout: 276 seconds]
freeman42y has joined #nixos
r0bby has quit [Excess Flood]
ctp has quit [Ping timeout: 252 seconds]
dukedave has joined #nixos
r0bby has joined #nixos
ctp has joined #nixos
sorear has joined #nixos
freeman42y has quit [Max SendQ exceeded]
freeman42x has quit [Ping timeout: 252 seconds]
freeman42x has joined #nixos
jluttine has quit [Ping timeout: 246 seconds]
freeman42x has quit [Max SendQ exceeded]
freeman42x has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65487 → hackage-packages.nix: gdk_pixbuf -> gdk-pixbuf → https://git.io/fjyoc
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fjyol
m0rphism has joined #nixos
<arcnmx> oh o:
o1lo01ol1o has quit [Ping timeout: 248 seconds]
day|flip has joined #nixos
<mkaito> andrewzah: don't forget to push that fix to your fork (and maybe send a pr to nix-community/carnix and see if you can figure out pijul)
dansho has joined #nixos
<andrewzah> yeah arcnmx do I have permission to integrate that patch into my fork?
<andrewzah> i'm gonna take a stab at the other bugs later
<arcnmx> sure go for it, I'll throw it at nest.pijul once I clean it up slightly
<mkaito> I mean, authorship is going to be lost anyway because the author of carnix insists on pijul, so...
<mkaito> unless arcnmx wants to author a pijul patch himself
<andrewzah> someone needs to write a git-to-pijul converter :-)
<mkaito> I can't even get pijul itself to compile for me /shrug
<mkaito> I'd rather do patches over email, than any of this nest/hub nonsense.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjyoB
Chiliparrot has quit [Ping timeout: 264 seconds]
iyzsong has joined #nixos
WilliamHamilton has quit [Remote host closed the connection]
justanotheruser has joined #nixos
andrewzah has quit [Quit: WeeChat 2.5]
tsrt^ has quit []
___laika has quit [Ping timeout: 244 seconds]
___laika has joined #nixos
MmeQuignon has quit [Ping timeout: 258 seconds]
MmeQuignon has joined #nixos
[Leary] has joined #nixos
Lears has quit [Remote host closed the connection]
selfsymmetric-mu has quit [Remote host closed the connection]
day|flip has quit [Ping timeout: 258 seconds]
m0rphism has quit [Ping timeout: 245 seconds]
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #65467 → openscenegraph: 3.6.3 -> 3.6.4 → https://git.io/fjygJ
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjyo5
day|flip has joined #nixos
day|flip has quit [Quit: ERC (IRC client for Emacs 26.1)]
day|flip has joined #nixos
<{^_^}> [nixpkgs] @arcnmx opened pull request #65488 → passff-host: fix native messaging manifest path → https://git.io/fjyoF
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
<{^_^}> [nixpkgs] @aanderse merged pull request #65450 → ccextractor: init at 0.88 → https://git.io/fjyR7
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjyoN
freeman42x has quit [Read error: Connection reset by peer]
freeman42x has joined #nixos
Acou_Bass has joined #nixos
freeman42y has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @arcnmx opened pull request #65489 → bukubrow: 2.4.0 -> 5.0.0 → https://git.io/fjyKe
<{^_^}> [nixpkgs] @samueldr merged pull request #61806 → memtest86-efi: backport to 19.03 → https://git.io/fj44v
<{^_^}> [nixpkgs] @samueldr pushed 4 commits to release-19.03: https://git.io/fjyKv
jluttine has joined #nixos
<{^_^}> [nixpkgs] @samueldr merged pull request #65456 → dragon-drop: git-2014-08-14 -> 1.1.0 → https://git.io/fjyE4
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fjyKU
webster23_ has quit [Ping timeout: 248 seconds]
MmeQuignon has quit [Ping timeout: 272 seconds]
tmaekawa has joined #nixos
<kalbasit> grahamc[m]: is there a way to use NixOS/nixpkgs/doc as-is from outside nixpkgs for our own documentation? So far I had to copy/paste the Makefile/default.nix to our project
amfl has quit [Read error: Connection reset by peer]
amfl has joined #nixos
hcs^ has joined #nixos
[rg] has joined #nixos
<[rg]> looking for a way to handle binary packages on an external drive, will nix help here?
amfl has quit [Quit: WeeChat 1.6]
amfl has joined #nixos
dansho has quit [Ping timeout: 245 seconds]
<samueldr> kalbasit: some kind of buildDocbookJustLikeNixOSDoes?
<kalbasit> samueldr: yep
<samueldr> not as of now, though I, too, would like that
<kalbasit> I'm thinking something like `buildManual { root = ...; lib = ...; version = "..." }`
<kalbasit> samueldr: That would be awesome to have
<samueldr> yes
<[rg]> does nixos support the linux heirachy in any wya?
<hyper_ch> it still uses /etc - sort of
<[rg]> ok, cool, so how does it handle package use for superusers?
<[rg]> a store for people in a certain group?
daurnimator has joined #nixos
<daurnimator> How can I get urxvt terminfo on my nixos machine?
<Ashy> [rg]: the nix pills is worth a quick read
ddellacosta has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
johnny101m has quit [Quit: -a- Connection Timed Out]
johnny101m has joined #nixos
<{^_^}> [nix] @thomasjm opened pull request #3009 → Add pname and version to nix-env -q --json → https://git.io/fjyKu
tomberek has joined #nixos
freeman42y has quit [Quit: Leaving]
TallerGh` has joined #nixos
<[rg]> anyone running nix on a server? I'd like tohear the experience
TallerGh` has quit [Remote host closed the connection]
<simpson> [rg]: Yes. Also, to answer your earlier questions in more detail, there's no LSB or FHS by default, and references into the Nix store are not unforgeable, just hard to guess.
<[rg]> simpson: thanks, do you have lsb configured for the server
<simpson> [rg]: Nope. LSB isn't like a toggle; it's a feature of FHS user environments, a specific trick in nixpkgs for making FHS-compliant chroots. The idea is that bad/old/closed-source software can be put into a chroot where there's FHS and LSB, but most software shouldn't need it. What are you building?
<[rg]> not building anything just yet but I imagine older scripts and programs have some reliance on this stuff
THFKA4 has quit [Quit: WeeChat 2.4]
<simpson> Sure. In general, older code is not very good and needs to be rewritten, even without considering Nix.
<simpson> The good news is that Nix is relatively conservative and many of the fixes that a package might need inside nixpkgs would also be good fixes to send upstream.
<[rg]> sweet
<daurnimator> How do I find the current default include directories for gcc?
<simpson> daurnimator: $(gcc -print-search-dirs)? What are you trying to do?
<daurnimator> simpson: a frequent flow for me is to `grep -r SOME_IDENTIFIER /usr/include` to figure out which headers deal with a certain symbol
<simpson> daurnimator: Aha. I know that feeling. There might be some slicker trick to it, but I'd use something like the above to ask GCC for its opinion.
<daurnimator> mmmm. not finding a way to make that work well
Supersonic has quit [Ping timeout: 276 seconds]
Supersonic has joined #nixos
hcs^ has quit []
tsrt^ has joined #nixos
englishm has quit [Excess Flood]
englishm has joined #nixos
aanderse has quit [Quit: ZNC 1.7.3 - https://znc.in]
aanderse has joined #nixos
liberiga has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/112f522d48c (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
LysergicDreams has quit [Ping timeout: 245 seconds]
LysergicDreams has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/16144baa1ec (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
joehh has quit [Ping timeout: 245 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #65490 → zfs: fix kernel module cross-compile → https://git.io/fjy64
___laika has quit [Ping timeout: 244 seconds]
nzombie has joined #nixos
[rg] has quit [Quit: [rg]]
mexisme_ has joined #nixos
nzombie has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
palo1 has joined #nixos
Lukas3043 has joined #nixos
<Lukas3043> Hey Its me again, i still have problems running teamspeak
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
___laika has joined #nixos
andrei has joined #nixos
domogled has quit [Quit: domogled]
day|flip has quit [Quit: ERC (IRC client for Emacs 26.1)]
Drakonis has quit [Quit: WeeChat 2.4]
liberiga has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #65436 → linkerd: init at 2019-07-26 → https://git.io/fjy80
<{^_^}> [nixpkgs] @kalbasit pushed commit from @Gonzih to master « linkerd: init at 2019-07-26 (#65436) »: https://git.io/fjy6d
<Lukas3043> infinisil clever Teamspeak is more usable now, but it still crashes when trying to open the filemanager to change avatar
dansho has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #65491 → amass: 2.9.11 -> 3.0.25 → https://git.io/fjyiI
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #65492 → castget: init at 1_2_4 → https://git.io/fjyim
___laika has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
endformationage has quit [Quit: WeeChat 2.5]
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #65340 → mpd-mpris: init at 0.2.3 → https://git.io/fjDKa
<{^_^}> [nixpkgs] @kalbasit pushed commit from @doronbehar to master « mpd-mpris: init at 0.2.3 (#65340) »: https://git.io/fjyiZ
<{^_^}> [nixpkgs] @virusdave opened pull request #65493 → games/crawl: add support for MacOS/Darwin builds for Dungeon Crawl → https://git.io/fjyin
<{^_^}> [nixpkgs] @kalbasit merged pull request #65491 → amass: 2.9.11 -> 3.0.25 → https://git.io/fjyiI
<{^_^}> [nixpkgs] @kalbasit pushed to master « amass: 2.9.11 -> 3.0.25 (#65491) »: https://git.io/fjyic
johnny101m has quit [Ping timeout: 248 seconds]
mexisme_ has quit [Ping timeout: 264 seconds]
b has quit [Quit: Lost terminal]
johnny101m has joined #nixos
zupo has joined #nixos
FRidh has joined #nixos
domogled has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
owickstrom has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 106 commits to staging-next: https://git.io/fjyiw
logzet has joined #nixos
revtintin has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @FRidh pushed 108 commits to staging: https://git.io/fjyiP
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fjyiX
<{^_^}> [nixpkgs] @7c6f434c merged pull request #65368 → wine-{unstable,staging}: 4.9 -> 4.12.1 → https://git.io/fjDFs
<{^_^}> [nixpkgs] @7c6f434c merged pull request #65493 → games/crawl: add support for MacOS/Darwin builds for Dungeon Crawl → https://git.io/fjyin
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjyi1
<Lukas3043> is there a way to install NixOS offline? I would like to clone my setup to my second PC but i dont want to download it all again...
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to master: https://git.io/fjyiS
___laika has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #65479 → libuv: 1.30.0 -> 1.30.1 → https://git.io/fjywo
<{^_^}> [nixpkgs] @FRidh pushed commit from @rvolosatovs to staging « libuv: 1.30.0 -> 1.30.1 »: https://git.io/fjyiQ
rsoeldner has joined #nixos
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh pushed to master « wire-desktop: fix evaluating on other platforms »: https://git.io/fjyiF
<{^_^}> [nixpkgs] @virusdave opened pull request #65494 → games/crawl: use static config for data files on darwin → https://git.io/fjyib
alex`` has joined #nixos
<{^_^}> [nixpkgs] @arcnmx opened pull request #65495 → cargo: remove darwin hack → https://git.io/fjyiA
andrei has quit [Quit: andrei]
linarcx has joined #nixos
linarcx has quit [Client Quit]
___laika has quit [Ping timeout: 272 seconds]
Lukas3043 has quit [Remote host closed the connection]
emilsp has quit [Read error: Connection reset by peer]
Lukas23594087 has joined #nixos
asheshambasta has joined #nixos
emilsp has joined #nixos
chloekek has joined #nixos
<{^_^}> [nixpkgs] @FRidh opened pull request #65496 → Staging next → https://git.io/fjyPJ
<{^_^}> [nixpkgs] @FRidh closed pull request #65496 → Staging next → https://git.io/fjyPJ
linarcx has joined #nixos
gyroninja__ has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 68 commits to staging-next: https://git.io/fjyPU
<{^_^}> [nixpkgs] @FRidh opened pull request #65497 → Staging next → https://git.io/fjyPT
<gyroninja__> Does anyone know an alternative to 'shellHook = "export PATH="`pwd`/bin"' inside of my shell.nix that works with lorri/direnv?
<gyroninja__> Right now it adds /build/bin to my path
<gyroninja__> So really, I'm looking for an alternative to `pwd` which would resolve to the location of my shell.nix
<{^_^}> [nixpkgs] @Ma27 merged pull request #64715 → xonsh: 0.9.6 -> 0.9.8 → https://git.io/fjXZt
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjyPI
WhVrS2hV has joined #nixos
<WhVrS2hV> according to NixOS wiki when installing fzf (https://nixos.wiki/wiki/Fzf) I should add several lines to my `.bashrc/.zshrc`. Is there a way to do this more declaratively?
vmandela has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #65498 → gnupatch: apply patches for CVE-2019-1363 and CVE-2019-13638 → https://git.io/fjyPt
___laika has joined #nixos
<ar> WhVrS2hV: have you heard of https://nixos.wiki/wiki/Home_Manager?
linarcx has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jojosch opened pull request #65499 → teamspeak_client: 3.1.10 -> 3.3.0 → https://git.io/fjyPO
domogled has quit [Ping timeout: 245 seconds]
<WhVrS2hV> ar: yes, I actually just tried it out, but I'm getting the following output when adding the required `.zshrc` to my `home.nix` - https://paste.ubuntu.com/p/pXKktBZSzZ/
yuken has joined #nixos
<yuken> Huh. Fedora Skyblue seems Nix-inspired with some of its idea.
linarcx has joined #nixos
<Lukas23594087> i used nix-infect ... how do i login?
Hail_Spacecake has quit [Remote host closed the connection]
Hail_Spacecake has joined #nixos
<gyroninja__> Lukas23594087: It looks like the script grabs ssh keys from your previous install out of /root/.ssh/authorized_keys
<Lukas23594087> .....
<Lukas23594087> damnit
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/16144baa1ec (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<Lukas23594087> and how do i clone my setup?
<gyroninja__> What do you mean?
<Lukas23594087> i have NixOS installed on Lap1 and want to transfer the installation on Lap2
<Lukas23594087> like, clone the OS
<andi-> Lukas23594087: nix-copy-closure --to Lap2 /run/current-system
<andi-> and then copy the stateful (config, data, …) to the machine and do a regular rebuild switch
ambro718 has joined #nixos
<Lukas23594087> it wants a hostname from me
<Lukas23594087> do i have to do this over ssh?
aswanson has quit [Quit: WeeChat 2.4]
<Lukas23594087> do i have to have NixOS on Lap2 already?
___laika has quit [Ping timeout: 248 seconds]
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @volth closed pull request #65043 → perlPackages: update → https://git.io/fj1Fr
<aveltras> Lukas23594087: if you're trying to install nixos on a server, you might have a look at nixops
<aveltras> Lukas23594087: once nixos-infect has run, it looks like an easier way of managing the configuration
<Lukas23594087> yeah i figured that out but now i want to clone my NixOS to another computer without downloading everything again
<aveltras> i use a github repo for this
linarcx has quit [Quit: WeeChat 2.5]
linarcx has joined #nixos
linarcx has quit [Client Quit]
<Lukas23594087> how that?
<aveltras> here's my repo https://github.com/aveltras/nix
<aveltras> i basically clone this in mmy home directory
<aveltras> and point the /etc/nixos/configuration.nix to it
<{^_^}> [nixpkgs] @edef1c merged pull request #65453 → sshguard: do not create ipset in post-start → https://git.io/fjy00
<{^_^}> [nixpkgs] @edef1c pushed 2 commits to master: https://git.io/fjyPz
magnetophon has quit [Ping timeout: 245 seconds]
linarcx has joined #nixos
<Lukas23594087> but i need to install nixOS on target pc for that
<aveltras> the entry point is in the "hosts" folder, which includes all the machine specific config (basically what would be i,n hardwareconfigratio,n.nix
<aveltras> ye
asymptotically has joined #nixos
<Lukas23594087> that makes no sense
<Lukas23594087> again, i want to clone the whole OS not just the config
<aveltras> is it just a problem because of download times ?
linarcx has quit [Client Quit]
<{^_^}> [nixpkgs] @edef1c pushed commit from @wahjava to release-19.03 « sshguard: do not create ipset in post-start [backport #65453] »: https://git.io/fjyPg
linarcx has joined #nixos
<Lukas23594087> no not just that, i have also compiled stuff
<Lukas23594087> can i create an image of the actual system?
<aveltras> im not sure there's anything specific to nixos if you want to clone the whole thing
<aveltras> never done this so i cant help you here
<Lukas23594087> :(
<aveltras> but you can reinstall nixos on your other computer
<aveltras> and then copy the content of the store i think
WhVrS2hV has quit [Remote host closed the connection]
<Lukas23594087> is there any other way to install nixos offline
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « way-cooler: fix eval »: https://git.io/fjyP2
<{^_^}> [nixpkgs] @Ma27 merged pull request #65386 → prometheus-varnish-exporter: 1.4 -> 1.5 → https://git.io/fjyeV
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjyPV
<{^_^}> [nixpkgs] @FRidh pushed to staging « way-cooler: fix eval »: https://git.io/fjyPr
<aveltras> you may investigate how to do it for a linux install i think, again i dont think there's anything nixos specific here
magnetophon has joined #nixos
owickstrom has quit [Quit: Connection closed for inactivity]
markus1189 has quit [Ping timeout: 272 seconds]
<Lukas23594087> well, i know how to do this in Arch
<Lukas23594087> i just copy the root to the target but i need to manually install a bootloader
<Lukas23594087> Arch can do that easily but i dont know about NixOS
<Lukas23594087> i mean how do i even install grub
<{^_^}> [nixpkgs] @Ma27 merged pull request #64913 → Remove unmaintained npm2nix; node2nix is now → https://git.io/fj1fw
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjyPX
<{^_^}> [nixpkgs] @bfortz opened pull request #65500 → bitwig-studio: 3.0 -> 3.01 → https://git.io/fjyPM
markus1189 has joined #nixos
<maralorn> Lukas23594087: You can just copy root. And then use some part of the nixos-install procedure to install the bootloader.
vmandela has left #nixos ["Leaving"]
<maralorn> Someone here has to know the command. I haven‘t done an install in quite some time. But I think it should be apparent from the install section of the nixos manual.
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<maralorn> It‘s most certainly doable without a lot of downloads.
revtintin has quit [Quit: WeeChat 1.9.1]
Izorkin has joined #nixos
<Lukas23594087> think i found it https://nixos.wiki/wiki/Bootloader
<{^_^}> [nixpkgs] @k0ral opened pull request #65501 → qutebrowser: 1.6.3 -> 1.7.0 → https://git.io/fjyPF
Izorkin_ has joined #nixos
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #65502 → pythonPackages.configshell: Add urwid to deps → https://git.io/fjyPN
Izorkin has quit [Ping timeout: 258 seconds]
Izorkin_ is now known as Izorkin
<{^_^}> [nixpkgs] @FRidh closed pull request #65501 → qutebrowser: 1.6.3 -> 1.7.0 → https://git.io/fjyPF
LysergicDreams has quit [Ping timeout: 245 seconds]
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @basvandijk merged pull request #60367 → kernelshark: init at 0.9.8 & trace-cmd: 2.6 -> 2.8.3 → https://git.io/fjGcq
<{^_^}> [nixpkgs] @basvandijk pushed 9 commits to master: https://git.io/fjyXM
<{^_^}> [nixpkgs] @FRidh merged pull request #65035 → pythonPackages.fipy: init at 3.3 → https://git.io/fj1Hl
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to master: https://git.io/fjyXd
<{^_^}> [nixpkgs] @4z3 opened pull request #65503 → exim: 4.92 -> 4.92.1 → https://git.io/fjy1v
Lukas23594087 has quit [Remote host closed the connection]
Marcin-Oleksiak has joined #nixos
LysergicDreams has quit [Ping timeout: 245 seconds]
LysergicDreams has joined #nixos
erictapen has joined #nixos
m0rphism has joined #nixos
init_6 has joined #nixos
hamishmack has quit [Ping timeout: 246 seconds]
asheshambasta has quit [Ping timeout: 276 seconds]
astrofog has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #65502 → pythonPackages.configshell: Add urwid to deps → https://git.io/fjyPN
<{^_^}> [nixpkgs] @FRidh pushed commit from @JohnAZoidberg to master « pythonPackages.configshell: Add urwid to deps »: https://git.io/fjyDr
mq32 has left #nixos ["Leaving"]
<{^_^}> [nixpkgs] @FRidh merged pull request #65503 → exim: 4.92 -> 4.92.1 → https://git.io/fjy1v
<{^_^}> [nixpkgs] @FRidh pushed commit from @4z3 to master « exim: 4.92 -> 4.92.1 »: https://git.io/fjyDP
<{^_^}> [nixpkgs] @FRidh pushed to master « doc: fix phases to include installCheckPhase »: https://git.io/fjyDd
<{^_^}> [nixpkgs] @FRidh pushed 32 commits to staging-next: https://git.io/fjyyT
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fjyyM
MmeQuignon has joined #nixos
liberiga has quit [Ping timeout: 260 seconds]
Okinan has quit [Quit: Konversation terminated!]
enuiarte has joined #nixos
erictapen has quit [Ping timeout: 246 seconds]
__monty__ has joined #nixos
enuiarte has quit [Ping timeout: 250 seconds]
johnny101m has quit [Ping timeout: 272 seconds]
<aveltras> anyone having trouble when login into gnome recently ? it takes a long time
<aveltras> seems to be because of a user service
eof has quit [Quit: eof]
<{^_^}> [nixpkgs] @markuskowa merged pull request #65476 → bspwm: 0.9.7 -> 0.9.8 → https://git.io/fjyVh
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjy9K
eof has joined #nixos
webster23_ has joined #nixos
noudle has joined #nixos
Thra11 has quit [Quit: WeeChat 2.5]
<Ashy> aveltras: i had fprintd cause my fedora laptop to take 30-60 seconds to wake up from lockedscreen/sleep recently
<Ashy> aveltras: uninstalling fprintd was the "fix"
<aveltras> Ashy: is this enabled by default ? cause i dont know what fprintd is
anon has joined #nixos
anon is now known as Guest69420
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
Ariakenom has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/aeeb30a3b29 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4fb6c029869 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
zupo has joined #nixos
erictapen has joined #nixos
<__monty__> What's the proper way to remove /nix/var/nix/profiles/per-user/root/channels from my NIX_PATH, since I'm on a single-user install anyway?
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
Lukas4452 has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/aeeb30a3b29 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<Lukas4452> teamspeak constantly crashes again, help
dermetfan has joined #nixos
dermetfan has quit [Client Quit]
<tilpner> __monty__: Setting nix.nixPath is one way to do that
orivej has joined #nixos
<__monty__> tilpner: Seems like that'd allow me to mess up though. Not keeping track of updates to the nixPath. I'd rather root's channels not get added in the first place on a single-user install.
<tilpner> __monty__: You _may_ be able to base your new value off of options.nix.nixPath.default
<__monty__> Hmm, reading this (https://github.com/NixOS/nixpkgs/issues/40165) I figured I'd try running sudo nix-channel --update but that started building a home-manager derivation. Why would nix-channel --update ever build a derivation? And why would root have anything to do with my home-manager setup? Is that because of nix-darwin?
<{^_^}> #40165 (by wizzup, 1 year ago, closed): warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring
erictapen has quit [Ping timeout: 248 seconds]
erictapen has joined #nixos
<tilpner> I've heard that before, hold on
ng0 has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
<tilpner> Sorry, can't find it
LysergicDreams has quit [Ping timeout: 245 seconds]
abathur has joined #nixos
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #65504 → mongodb: fix build on aarch64 → https://git.io/fjyHU
<__monty__> Uh, oh. Maybe running `sudo nix-channel --update` was a bad idea? http://ix.io/1PPs
init_6 has quit []
MmeQuignon has quit [Ping timeout: 258 seconds]
abathur has quit [Ping timeout: 272 seconds]
puck has quit [Excess Flood]
puck has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #65421 → nim: 0.20.0 -> 0.20.2 → https://git.io/fjyct
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fjyHq
magnetophon has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
puckipedia has joined #nixos
puck has quit [Read error: Connection reset by peer]
puckipedia is now known as puck
LysergicDreams has quit [Ping timeout: 245 seconds]
puck has quit [Remote host closed the connection]
puck has joined #nixos
___laika has joined #nixos
LysergicDreams has joined #nixos
___laika has quit [Ping timeout: 258 seconds]
domogled has joined #nixos
magnetophon has joined #nixos
<Lukas4452> i need help with updating teamspeak
WilliamHamilton has joined #nixos
<WilliamHamilton> how do I build a package from a nixpkgs git clone?
<tilpner> WilliamHamilton: nix-build dev/nixpkgs -A hello
<tilpner> Where dev/nixpkgs is the path to your checkout
<WilliamHamilton> tilpner thanks, and can I also do nix-env?
<WilliamHamilton> if I want that to be installed in my profile?
<Lukas4452> how do i build a nix file i downloaded from github
<tilpner> nix-env -f dev/nixpkgs -iA hello
<tilpner> Lukas4452: Depends on the file
<eyJhb> Lukas4452: I normally do, nix-shell -I nixpkgs=path-to-your-local-cloned-nixpkgs/ teamspeak_client
<Lukas4452> its incredibly outdated and i want to help updating it
betawaffle has joined #nixos
<tilpner> That will require a callPackage
<tilpner> But if you intend on sending a PR with your changes, you should not update and test this file independently
<tilpner> Fork and clone nixpkgs, update the file there, test it, send a PR
<Lukas4452> ai ai sir
<__monty__> Hmm, I messed up the permissions on my store by running `sudo nix-channel --update^C` on a single-user install. How do I fix the permissions on my store? nix-store --verify --check-contents didn't fix anything.
orivej has quit [Ping timeout: 245 seconds]
WilliamHamilton has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @edef1c merged pull request #65485 → nixos/taskserver: crl file is optional → https://git.io/fjyrd
<{^_^}> [nixpkgs] @edef1c pushed 2 commits to master: https://git.io/fjyHR
zupo_ has joined #nixos
dansho has quit [Quit: Leaving]
hmpffff has joined #nixos
zupo has quit [Ping timeout: 258 seconds]
shibboleth has joined #nixos
polman has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
polman has joined #nixos
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
domogled has quit [Ping timeout: 244 seconds]
Lukas4452 has quit [Remote host closed the connection]
WilliamHamilton has joined #nixos
<WilliamHamilton> I installed qjackctl after trying to follow the instructions on the nixos wiki for jack. But I get:
<WilliamHamilton> 09:19:19.805 jackdbus -dalsa -dhw:0 -r48000 -p1024 -n2Cannot connect to server socket err = No such file or directoryCannot connect to server request channel
<WilliamHamilton> when I try to start jack
<WilliamHamilton> is there a more up to date guide I should follow?
Lukas4452 has joined #nixos
noudle has quit []
<hodapp> what magical tools does Nix provide me to help show how exactly a derivation included some specific version of a library?
<hodapp> looks like a transitive dependency
<tilpner> hodapp: nix why-depends
<hodapp> thanks
xkapastel has joined #nixos
linarcx has quit [Quit: WeeChat 2.5]
linarcx has joined #nixos
shibboleth has quit [Quit: shibboleth]
<Lukas4452> can someone update teamspeak? i have huge problems cloning the repo
<__monty__> What's the problem? It takes a while because it's pretty big.
<__monty__> You *could* do a shallow clone but tbh that's asking for trouble.
WilliamHamilton has quit [Remote host closed the connection]
Piece_Maker has joined #nixos
Acou_Bass has quit [Ping timeout: 258 seconds]
Piece_Maker is now known as Acou_Bass
hoijui has joined #nixos
Acou_Bass has quit [Ping timeout: 258 seconds]
magnetophon has quit [Ping timeout: 248 seconds]
qqlq has joined #nixos
<{^_^}> [nixpkgs] @akirak opened pull request #65505 → emacs-libvterm: 2019-04-28 -> 2019-07-22 → https://git.io/fjyHh
Guest97477 is now known as fgaz
Thra11 has joined #nixos
Hail_Spacecake has quit [Remote host closed the connection]
Acou_Bass has joined #nixos
Hail_Spacecake has joined #nixos
iyzsong has quit [Ping timeout: 264 seconds]
magnetophon has joined #nixos
endformationage has joined #nixos
eagle2com has joined #nixos
LysergicDreams has quit [Ping timeout: 272 seconds]
johnny101m2 has joined #nixos
LysergicDreams has joined #nixos
<yorick> how do I boot with degraded raid1?
eagle2com has quit [Ping timeout: 248 seconds]
<andi-> yorick: you just boot?
Acou_Bass has quit [Ping timeout: 258 seconds]
<andi-> The raid device should come up even with just one backing device
Lukas4452 has quit [Remote host closed the connection]
<yorick> andi-: Timed out waiting for device /dev/disk/by-label/nixos, trying to mount anyway.
<yorick> andi-: it mounts in alpine
<yorick> but not in the nixos stage1
orivej has quit [Ping timeout: 248 seconds]
puck has quit [Remote host closed the connection]
<ajs124> yorick: you can boot with boot.shell_on_fail and try to manually force assembly with mdadm
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kp__ has joined #nixos
puck has joined #nixos
<yorick> andi-: ajs124: it seems that the device is still there, it just does not get symlinked to /dev/disk/by-label/nixos
knupfer has joined #nixos
<magnetophon> I'm making a pkg with "find bin -type f | while read filename; do chmod +x $filename; done" in the installPhase, but the files don't end up executable. "echo $filename" instead of "chmod +x $filename" seems fine though... any ideas?
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
ddellacosta has joined #nixos
zupo has joined #nixos
<symphorien> find $out/bin instead of find bin ?
knupfer has quit [Ping timeout: 264 seconds]
<m1cr0man> Folks I'm having a weird issue trying to build a nodejs package. I have the derivation all set up but for some reason I have to run the build twice to get it to work. It's as if some dependency of the derivation is contaminating the build environment if they need to built first. I guess, is there a way for me to reset the environment before the installPhase?
polman has quit [Ping timeout: 244 seconds]
polman has joined #nixos
<magnetophon> symphorien: Yes, that was it! Thanks!
ayerhart has quit [Quit: ayerhart]
polman has quit [Ping timeout: 272 seconds]
ddellacosta has quit [Ping timeout: 245 seconds]
polman has joined #nixos
hoijui has quit [Quit: Leaving]
ayerhart has joined #nixos
<eraserhd> How can I conditionally set options that might not exist? I'm making a module for both NixOS and nix-darwin, and I want to set one option in nix-darwin that doesn't exist in NixOS.
<eraserhd> `mkMerge [ (mkIf ...) (mkIf ...) ]` apparently still checks options.
<eraserhd> Using `if` causes infinite recursion.
<tilpner> eraserhd: This feels like a bad idea, but builtins.hasAttr options.foo.bar "quux" is a thing
<eraserhd> tilpner: ahh, that actually doesn't seem _too_ bad.
magnetophon has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/aeeb30a3b29 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
astrofog has quit [Remote host closed the connection]
linarcx has quit [Quit: WeeChat 2.5]
zupo has joined #nixos
Acou_Bass has joined #nixos
zupo has quit [Client Quit]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9897956d362 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
crmlt has joined #nixos
zupo has joined #nixos
crmlt has quit [Client Quit]
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/fjy7I
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-19.03: https://git.io/fjy7L
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dasJ opened pull request #65506 → nixos/stage-1: Add xfs_repair to the initrd → https://git.io/fjy73
zupo has joined #nixos
<das_j> Hmm, how are mdadm raids in stage 1 assembled?
<das_j> I cannot find any mdadm --assemble stuff
<{^_^}> [nixpkgs] @dasJ closed pull request #64791 → matrix-appservice-irc: Init at 0.12.0 → https://git.io/fjXin
<{^_^}> [nixpkgs] @dasJ opened pull request #65507 → blobmoji: Init at 2019-06-14-Emoji-12 → https://git.io/fjy7c
emilsp has quit [Read error: Connection reset by peer]
emilsp has joined #nixos
<yorick> das_j: it seems to do something with etc/mdadm.conf
<{^_^}> [nixpkgs] @dasJ opened pull request #65508 → nodePackages.matrix-appservice-irc: Init → https://git.io/fjy74
<pie_> something that really grinds my gears is hour long builds that fail on tests that im trying to fix
<pie_> can i somehow separate running tests into a separate derivation
<das_j> yorick: Hm, damn it. Thank you
<ajs124> or maybe udev? how about 64-md-raid-assembly.rules das_j, yorick
<das_j> ajs124: Thanks :) No back to learning!
<das_j> s/No/Now/
<yorick> das_j: I literally had my raid array not being assembled during boot just an hour ago, let me know what you learn
<das_j> yorick: Did you need to force the assembly manually?
<yorick> das_j: yeah, did it once in alpine I think
<das_j> yorick: My goal was to create some kernel option like mdadmForceAssembly
<__monty__> Hmm, `tput: unknown terminal "xterm-kitty"` is preventing the activation of my home-manager configuration but `infocmp xterm-kitty` shows I *do* have the terminfo. Has anyone run into this?
<__monty__> pie_: That'd be awesome. Would work wonders with the haskell infra's dontCheck.
___laika has joined #nixos
<{^_^}> [nixpkgs] @dasJ opened pull request #65509 → pythonPackages.pyTelegramBotAPI: Init at 3.6.6 → https://git.io/fjy7z
<pie_> __monty__: this has been a massive peeve of mine for a while
<{^_^}> #9281 (by bennofs, 3 years ago, closed): Separate derivation for haskell tests?
<{^_^}> #26400 (by FRidh, 2 years ago, open): Python: run tests in separate derivation
<pie_> also still annoyed at people closing issues that still exit
<pie_> exist
<pie_> __monty__: im guessing the problem is you cant really edit the nix script because that changes the inputs and now youre stuck rebuilding everything again ?
___laika has quit [Ping timeout: 245 seconds]
<pie_> i guess you could have the test suite have separate inputs and you could apply those changes back to the original when youre done
pereira_alex has joined #nixos
pereira_alex has quit [Remote host closed the connection]
<pie_> i just want something that works right now for https://github.com/NixOS/nixpkgs/pull/64047/files though, even if its hacky :/
<{^_^}> [nixpkgs] @dasJ closed pull request #44629 → fusiondirectory: Init at 1.2.3 → https://git.io/fND7F
<__monty__> pie_: Can't you use the regular python tools to run the tests, bypassing nix during development?
fulgjon has joined #nixos
sstteeffaann has joined #nixos
Marcin-Oleksiak has quit [Quit: WeeChat 0.4.2]
<{^_^}> [nixpkgs] @alpmestan opened pull request #65510 → ghc: always use ld.gold → https://git.io/fjy7K
<{^_^}> [nixpkgs] @dasJ opened pull request #65511 → fusiondirectory: Init at 1.3 → https://git.io/fjy76
Makaveli7 has joined #nixos
<sstteeffaann> hi. I wanted to have a try at ghcjs, but I don't seem to manager to install it. In my default.nix file I have tried with the pkgs haskellPackages.ghcjs-base, haskellPackages.ghcjs-dom, reflex, and haskellPackages.miso. But none of them brought me an launchable command ghcjs to launch $ ghcjs -o Main.hs with the exmaples got from the web. In the lat
<sstteeffaann> est clone of nixpkgs, there is a compiler/ghcjs, but I cannot nixos.ghcjs alone doesn't seem to be recognize. Any idea what nixos package should I use ? I plan to experiment with it.
<pie_> __monty__: i thought of that but i think the point is im trying to get nix to pass the tests
<pie_> __monty__: well actually ok i suppose i could
<pie_> __monty__: just use nix-shell
<pie_> (i actually dont have much of an idea how python tests work so time to figure it out..)
<__monty__> Yeah, was gonna suggest that but couldn't find a testPhase in your nix expression.
<pie_> ill probably just look at the python builder stuff
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
<pie_> __monty__: ok i have a dumb problem, if i run buildPhase is complains about no makefile but if i look at whats in env and run that it works
<{^_^}> [nixpkgs] @mmahut opened pull request #65513 → jormungandr: init at 0.3.1 → https://git.io/fjy7D
Acou_Bass has joined #nixos
<__monty__> pie_: You're not forgetting to run the other phases, right? Like preConfigure?
<pie_> i just ran unpackphase but python doesnt even have a configurephase? :V
<pie_> its been a few weeks since i poked at this heh
<pie_> s/python/python packages
<{^_^}> [nixpkgs] @basvandijk merged pull request #60500 → thanos: init at 0.6.0 & NixOS module → https://git.io/fjZTE
<{^_^}> [nixpkgs] @basvandijk pushed 13 commits to master: https://git.io/fjy7y
<pie_> ok https://bpaste.net/show/VaOA explains that at least
MmeQuignon has joined #nixos
<pie_> meanwhile yes i need to run the configurePhase..
<__monty__> Hmm, when /nix/var/nix/profiles/per-user/root/channels is in my NIX_PATH, darwin-rebuild gives a warning about that path not existing, which is right (I'm on a single-user install) BUT if I remove that path from NIX_PATH darwin-rebuild errors because file 'darwin' couldn't be found in the Nix search path...
<__monty__> How can adding a non-existent path to NIX_PATH make <darwin> resolve?
<pie_> i still have to run the buildphase manually though
<pie_> __monty__: maybe its getting farther?
turion has joined #nixos
<pie_> ah but you said warning..
<__monty__> Yeah, it works as long as that's on my NIX_PATH.
<__monty__> Even though "that" doesn't exist.
<__monty__> Does adding a path also add parent paths or something?
<arcnmx> hm, quick a poll for function args: enableY or YSupport?
<turion> Y.enable
<turion> (I'm potentially missing context here, though)
<__monty__> Hmm, enableY suggests to me it'll be always on. While YSupport suggests I could make the program use Y or not depending on an option.
<turion> Ah :) yeah, what __monty__ says sounds reasonable to me fwiw
<turion> People often complain that every new programming language ships with their own crappy package manager, and that they should use nix instead. To that I ask: Is there a completely nonintrusive way to install nix that doesn't require any root access, or any meddling with / ? (Because otherwise it's pretty obvious to me why noone uses nix for such a task.)
<__monty__> turion: You can use a custom location for /nix afaik. Though you lose the binary cache.
<arcnmx> Hm, seems like a subtle distinction considering enableY is still exposed as an option and thus can be turned off, so not sure I follow what's meant by it will always be on?
<simpson> turion: In those situations, usually the programming language *also* needs to have its language-specific package manager installed by a superuser, or otherwise build an entire userland from scratch under their userdir. So it's not clear why the existing situation is somehow preferable to Nix.
<arcnmx> Do you expect a derivation to break if you enableSomething to false?
<turion> __monty__: Why does that mean you'd lose the cache?
Makaveli7 has quit [Quit: WeeChat 2.5]
<__monty__> arcnmx: As in, enableY = true, hardcodes the Y=true option in the config, enableY = false hardcodes Y=false. While YSupport just means Y is built and available but it depends on how you use the program whether or not it'll ever get used.
<simpson> turion: Because everything is built with "/nix" in mind, not "/home/simpson/nix" or etc.
<turion> Oh ok, these paths are hard coded in the packages in the binary cache...
<__monty__> simpson: Neither pip nor cabal require superuser privileges.
<__monty__> turion: Yep, and things like patchElf aren't a good enough solution because you don't get to create space in the binaries or some such technicality.
<simpson> __monty__: Both of them require superuser privileges in order to install certain dependencies when compiling native code. This is a common weakness of many languages which rely on C compilers in the ambient environment. (IOW, numpy.)
<__monty__> simpson: Sure but that's a small-ish caveat.
<turion> simpson: Yes, and telling your local admin to install this or that package is still more probable to succeed than telling them to create /nix and start daemons that will write to it and allow every user access to them
<simpson> turion: BTW, my POV is that I'm a language designer and I'd rather ensure that my language can natively blend with Nix than build yet another crappy package manager.
<simpson> turion: I *am* my local admin, and I already convinced him. Just, y'know, go for it.
<__monty__> I agree on that point though. If I were to develop a language I'd look into having nix be its package manager.
<turion> In principle I totally agree. For me it's great to go that way. But I'll lose *all* windows users and many other users if I only distribute my libraries that way
<__monty__> I think the overlap of language dev and knows nix is just too small so far.
<__monty__> Windows users should be using WSL for development already though >: )
<simpson> Aha, the true problem: Windows support. That is a showstopper for Nix right now, AIUI. In the past, my coping strategies have included slushies and a convenient absence of genuine Windows users.
<turion> simpson: Yes, native libraries and programming language package managers is usually a great pain. And one thing that nix is awesome at. If only stack wouldn't suck as much as it does...
knupfer has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7b63f7a737e (from 87 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<simpson> turion: Have you seen nix-bundle? It is a PoC that demonstrates how one could distribute arbitrary Nix-built apps: https://github.com/matthewbauer/nix-bundle
<sethetter> I've heard in most cases that when developing a haskell project with nix, it's better to go with cabal over stack, but I've also seen the `buildStackProject` function which seems like using stack would be just as nice and easy. What are the main tradeoffs here?
domogled has joined #nixos
<arcnmx> Hm, is there anyone trusted around who could trigger a darwin build for #63759 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63759 (by arcnmx, 4 weeks ago, open): rls: fix darwin build
<adisbladis> Huh? Native dependencies being a small-ish caveat? Have you tried developing python apps in the last decade?
<turion> simpson: Yeah, that's great for the binary at the end, but I want to distribute the library
<adisbladis> It's a massive headache
<simpson> turion: I'm remembering a few decades ago when finding DLLs of LAME was an effortful task. Are you trying to figure out which distros to package for? Or is this for your CI/nightlies/etc?
<turion> simpson: CI is certainly important. I want to be sure that if I can build and test then everyone can with the instructions I put in the readme. But it's also an issue how to include native libs properly
<turion> sethetter: Given that the documentation for nix + cabal is close to nonexistent afaik, you basically lose all newbies if you go that way. E.g. I often have projects involving Gloss/OpenGL, and it's really hard to find a predictable recipe for other users to even run the demo app in my project
<adisbladis> For any spare time projects I'd just leave windows users to fend for themselves. It's too weird of an OS to support.
<turion> adisbladis: Yes, I go that far myself, although it's sad :(
<turion> It bugs me the most when I include samples of my work in a job application and I imagine my vaguely technical interviewer not being able to even install the thing
<turion> stack will have the funniest hickups depending on the version, the previously executed commands, and current wheather. But when I ask non-nixos people to install my thing via cabal+nix, most of them will shy away. Even some nixos users don't/can't do it.
<__monty__> sethetter: I think it's just that stack's an unnecessary, can only get in your way, extra moving prat.
<__monty__> *part
<sethetter> turion: yeah documentation across the board is a bit lacking, making the decision even more tough.
<adisbladis> __monty__: Maybe a prat too? ;)
<__monty__> So that approach is more for people who want to use nix with projects developed by a team using stack.
___laika has joined #nixos
<turion> __monty__: Half a year ago stack seemed like the most reproducible way to distribute my projects. I mean, for cabal I had to set up CI with all major GHC versions and juggle around dependency versions forever until everything would work.
<turion> Improving over that is an enormous achievement for stack, I find
<__monty__> turion: We're talking about nix+cabal though, not just cabal.
ddellacosta has joined #nixos
<__monty__> So cabal will be using stackage+head.hackage+everything-on-hackage-not-yet-covered.
<turion> __monty__: Yeah, but I have to cater for the majority of users as well, who won't use nix
<{^_^}> [nixpkgs] @vbgl opened pull request #65516 → ocamlPackages.lambdasoup: init at 0.6.3 → https://git.io/fjy5U
<sethetter> __monty__: interesting. FWUI, one of the benefits of stack is that it can resolve needed dependency versions -- does nix provide anything like this?
<turion> sethetter: nix piggybacks on stackae
<sethetter> Oh nice! That's good to know
<turion> *stackage
<turion> I think stackage is one of the best things that happened to the haskell ecosystem
<__monty__> sethetter: Stack does the opposite of resolving versions. That's what cabal does. Stack relies on fixed package sets with one version per package.
<turion> __monty__: So cabal has become stackage-aware?
<__monty__> I agree, stackage is great. Stack, not so much. Mostly because of the hurt it caused the community.
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/fjy5T
<__monty__> turion: Not at all. But when using cabal with nix it's restricted to those packages.
<turion> Fair enough
<{^_^}> [nixpkgs] @vcunat merged pull request #65406 → gnutls: 3.6.8 -> 3.6.9 → https://git.io/fjyLy
<turion> Which already is one of the most important features that stack has: using stackage ;)
<adisbladis> __monty__: How did it hurt the community?
<turion> Obviously if nix+cabal can do that, the difference isn't that big anymore. The only 2 advantages that stack has for me over cabal+nix are: 1) I'm used to stack 2) More people in the world can use stack. Obviously 1) is not an important reason, but 2) to me is. When I put my project on github or gitlab and I don't offer a stack.yaml, fewer people will be able to use it.
<turion> adisbladis: stack people seem to drift towards not supporting nix, afaikt
<___laika> say im updating the expressions needed to build package X, and i bump package Y past a major version change as a part of that. should i put the new version of Y under a different name to avoid breaking old packages that depend on it?
<___laika> if not, is there an easy way to test i havent broken a bunch of packages by bumping a transitive dependency?
johnny101m has joined #nixos
<aleph-> Hey aside from nix-env -e, is there another way to remove a package?
<___laika> looks like `nox` is what im looking for for point 2
wfranzini has quit [Remote host closed the connection]
<__monty__> aleph-: Depends on how it was installed. Do you use
<__monty__> ,declarative
<{^_^}> There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
<__monty__> Any of these?
wfranzini has joined #nixos
johnny101m2 has quit [Ping timeout: 245 seconds]
<aleph-> Oh cool. Somehow killed my system
<{^_^}> [nixpkgs] @arcnmx opened pull request #65517 → duc: optional x11/cairo → https://git.io/fjy5Y
johnny101m2 has joined #nixos
<aleph-> So apparently nix-store --delete -ignore-livedness on the path to an old version of discord deleted my init binary amongst others
<aleph-> Fsck. Alright how to recover from this...
<__monty__> Why would you use nix-store --delete rather than garbage-collection?
<gchristensen> yeah --ignore-liveness is a bad option. how did you come across it?
<aleph-> Because garbage collection wasn't removing it
<aleph-> gchristensen: Eh SO. Was looking up ways to force remove a package since something has been subtly broken on my system for a while but I've been too lazy to fix it wrt removing packages
<__monty__> Then it was probably still in a generation and you should've deleted said generation.
<gchristensen> ouch
<aleph-> Welp guess I need to reinstall. Sigh
<gchristensen> well you can probably roll back to an older version in the boot loader
<gchristensen> what *exactly* did you run?
<aleph-> The above nix-store command on the exact path to a discord 0.5 binary
<aleph-> Already tried rolling back three generations?
<gchristensen> via reboot?
johnny101m has quit [Ping timeout: 268 seconds]
<aleph-> Yep
<gchristensen> ouch
<gchristensen> well, maybe go further :P
<aleph-> Wow I broke this in a neat way
<aleph-> 10 generations and nada
<gchristensen> "Careful with that! I just recursively deleted my entire system and had to recover from the install USB. – Jeff Jul 16 at 3:28"
<aleph-> And there's no way for a single user mode because no init
ddellacosta has quit [Ping timeout: 245 seconds]
<aleph-> Yeah it's dead. Time to grab a live cd and just copy stuff over to my secondary
<gchristensen> no need to erase your computer, just do another nixos-install with the existing partitions
johnny101m has joined #nixos
<aleph-> Yep, what I was planning on.
<gchristensen> cool
<gchristensen> it would be really nice if that answer didn't include a footgun
johnny189 has joined #nixos
johnny101m2 has quit [Ping timeout: 248 seconds]
<c00w> Anyone here have tensorflow or openscad working?
<__monty__> It's like nix's equivalent of rm -rf / but without the confirmation dialog.
<gchristensen> it is rm -rf's equivalent of --no-preserve-root
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
johnny101m has quit [Ping timeout: 248 seconds]
bakakuna has joined #nixos
<aleph-> Heh fun
<gchristensen> I have never used it. I should try it.
<sstteeffaann> @gchristensen doing a nixos-install with the latest working confuguration should ork like a breath or there may be some problem. I remember I always try to start from a minimal configuration when doing nixos-install, then only after reboot I git pull my final configuration. But your remark makes me think I could go straight at the second step. Woul
<sstteeffaann> d you nixos-install a complex (but valid) configuration.nix ?
<aleph-> Should see if mine works
<gchristensen> sstteeffaann: I do :)
<sstteeffaann> argh, that a thing to try next time then :-)
<gchristensen> please do. anything in NixOS's modules should work fine just like that. if they don't, it is a bug
<ajs124> We just build a custom ISO with our config repo included.
bakakuna has quit [Ping timeout: 244 seconds]
<ajs124> That way, you always have your config, if you need to reinstall.
<kraem> i have been successful with doing a nixos-generate-config and nixos-install on my existing configuration several times - no problem there
<aleph-> Hmm, reminds me. Wonder if the system 76 kernel modules ever got upstreamed
<{^_^}> [nixpkgs] @jokogr opened pull request #65518 → vlc: use wrapQtAppsHook → https://git.io/fjy5R
<samueldr> to nixos or the kernel?
<aleph-> Nixos
<aleph-> Since otherwise I'll need to find and add that so my fans work properly
<aleph-> gchristensen: So once booted to a live cd do I just need to remount /boot and /etc/NixOS and run nixos-install?
<samueldr> I know I told you to understand it, and then upstream it :)
<samueldr> aleph-: same mounts as when you installed
Acou_Bass has joined #nixos
<samueldr> so sounds right
<aleph-> samueldr: Yeahhhh.
<kraem> aleph-: yep
<aleph-> I forgot the upstream bit
<aleph-> Just need to go dive into my IRC logs to rebuild it
iqubic has joined #nixos
<__monty__> Why would adding a non-existent path to NIX_PATH enable darwin-rebuild to find <darwin> and <nixpkgs>?
<aleph-> Hmm, or it's not in my irc. log.
<iqubic> Does anyone know how to make Eye Of Gnome print an image without maintaining the current aspect ratio? Whenever I change one dimension of the output, the other changes too. I'd like to be able to set both of them independantly.
<aleph-> gchristensen: So I run nixos-install it won't wipe my current disk? Just do a reinstall of my current config?
<aleph-> Bootstrapped with the needed missing pieces of the configuration
orivej has joined #nixos
<gchristensen> aleph-: nixos-install doesn't do much more than copy your system's closure over
<kraem> it will reinstall everything you've declared in your config
<aleph-> Gotcha just wanted to be certain
<aleph-> Take me an age to back stuff up
<kraem> better be safe than sorry by asking :)
<gchristensen> (also, wouldn't hurt to back up :))
<aleph-> Also true. :p
<sstteeffaann> and what about user's ? would nixos-installl wipe the exisitng users home folders, or their cache etc..
<sstteeffaann> just asking
<srhb> sstteeffaann: It will not.
<sstteeffaann> good
<srhb> sstteeffaann: Barring some differing import paths and setting up the bootloader, nixos-install is pretty much the same as nixos-rebuild boot
<gchristensen> unless they were made imperatively
<srhb> gchristensen: Not even then.
<gchristensen> oh col
<srhb> At least, as far as I know, home directories are never wiped.
<gchristensen> definitely not
<gchristensen> but their entry is the passwd db?
<srhb> Good question.
<{^_^}> [nixpkgs] @Gerschtli opened pull request #65519 → gitignore-vim: init at 2014-03-16 → https://git.io/fjy5i
<srhb> I would assume the code that alters passwd is the same as nixos-rebuild, really.
<gchristensen> probaly so
<{^_^}> [nixpkgs] @Gerschtli opened pull request #65520 → vim-tmux: init at 2019-03-22 → https://git.io/fjy5P
<{^_^}> [nixpkgs] @Gerschtli opened pull request #65521 → vim-hybrid-material: init at 2018-11-12 → https://git.io/fjy5X
<gchristensen> especially since nixos-install doesn't even create an /etc/passwd
<gchristensen> >..I think.
<srhb> Heh :P
noogie has quit [Ping timeout: 245 seconds]
<gchristensen> erasing your / every boot lets me forget some things.
<{^_^}> [nixpkgs] @Mic92 merged pull request #65520 → vimPlugins.vim-tmux: init at 2019-03-22 → https://git.io/fjy5P
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjy59
<{^_^}> [nixpkgs] @Mic92 merged pull request #65521 → vimPlugins.vim-hybrid-material: init at 2018-11-12 → https://git.io/fjy5X
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjy5H
fendor has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
linarcx has joined #nixos
fusion809 has quit [Remote host closed the connection]
fendor has quit [Client Quit]
<{^_^}> [nixpkgs] @vcunat pushed commit from @andir to staging-next « gnupatch: apply patches for CVE-2019-1363 and CVE-2019-13638 »: https://git.io/fjy5Q
<{^_^}> [nixpkgs] @vcunat merged pull request #65498 → gnupatch: apply patches for CVE-2019-1363 and CVE-2019-13638 → https://git.io/fjyPt
<aleph-> Hmm this is an annoying error. So running nixos-install after mounting my drives. After it finishes building and dl'ing it errors out with: "FileNotFoundError: [Errno 21] No such file or dir /nix/var/nix/profiles/system-127-link/kernel"
<{^_^}> [nixpkgs] @vcunat pushed commit from @andir to staging-19.03 « gnupatch: apply patches for CVE-2019-1363 and CVE-2019-13638 »: https://git.io/fjy5F
noogie has joined #nixos
johnny189 has quit [Ping timeout: 246 seconds]
johnny101m has joined #nixos
fgaz is now known as fgaz_
fgaz_ is now known as fgaz
<aleph-> Hmm. So what is the cause of this...
<pie_> __monty__: so...i did this but like, no actual tests seem to run, it just exits?: https://bpaste.net/show/9_z1
johnny101m2 has joined #nixos
MmeQuignon has quit [Ping timeout: 248 seconds]
<__monty__> pie_: Not that familiar either. We have test[_*] targets in a makefile, never really looked into it.
MmeQuignon has joined #nixos
erictapen has quit [Ping timeout: 245 seconds]
<aleph-> Hmm, guess it's looking for it in /nix which isn't where my /nix is
<aleph-> Maybe a bind mount will fix it
Drakonis has joined #nixos
<__monty__> Looks like for us the relevant commands are `py.test tests` and running doctests.
johnny101m has quit [Ping timeout: 276 seconds]
<aleph-> And bind mount is a poor idea as well.
knupfer has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
* aleph- grumbles
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @mmahut opened pull request #65522 → openscad: Use qt5's own mkDerivation → https://git.io/fjydt
MmeQuignon has quit [Ping timeout: 248 seconds]
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @yvesf opened pull request #65523 → librecad-git: add -git version that supports qt5 → https://git.io/fjyd3
<sstteeffaann> @aleph maybe totally irrelevant suggestion, but I think it is the kind of error I have when I use an untrusted user to try to generate the nixos-config
<clever> sstteeffaann: you can rerun nixos-generate-config at any time to update hardware-configuration.nix
<sstteeffaann> in such case sudo nixos-rebuild ... gets me rid of the error, maybe there's an access right issue.
<aleph-> sstteeffaann: This is as root
<aleph-> So I doubt it?
<aleph-> Trying to resetup via nixos-install
<clever> aleph-: did you run nixos-generate-config inside a container?
<aleph-> It's looking for a generation that doesn't exist under /nix/ but does exist under /mnt/nix
<aleph-> clever: Nope, do I need to?
<clever> aleph-: no, just commenting that it can make things worse
<aleph-> Ah then no
<{^_^}> [nixpkgs] @etu merged pull request #65330 → dablin: init at 1.11.0 → https://git.io/fjDag
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjydG
<clever> it detects that your building under a container, sets boot.isContainer = true; and that removes "kernel"
<{^_^}> [nixpkgs] @etu merged pull request #65329 → dabtools: init at 20180405 → https://git.io/fjDak
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjydZ
<aleph-> Yeah didn't do that
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> aleph-: nixos-install runs everything under a chroot, so the /nix its refering to can be the /mnt/nix/
<aleph-> Just mounted my partitions at /mnt and /mnt/boot and ran nixos-install.
<aleph-> Huh... odd
<clever> aleph-: is isContainer present anywhere in the cfg?
<aleph-> Because I verified the /nix/var/nix/profiles/system-127-link exists.
<aleph-> Nope
<clever> aleph-: try `nixos-enter --root /mnt` and then `nix-store --verify --check-contents`
zupo has joined #nixos
<aleph-> Sec
<pie_> __monty__: hm thanks anyway. i think i figured out how to run the tests manually but thats not great
dftxbs3e has quit [Ping timeout: 250 seconds]
<pie_> i mean individual tests
MmeQuignon has quit [Ping timeout: 248 seconds]
<colemickens> I am in the middle of rebuilding the world on my laptop... and I ran out of space.
<colemickens> How do I GC without deleting the 90% of my new profile that I built?
MmeQuignon has joined #nixos
<infinisil> --delete-older-than
<colemickens> Can I manually GC the existing profiles somehow, without it yankng everything else that is in the store but not held by a GC root?
<infinisil> Ah wait, it might not be gcrooted yet
<aleph-> clever: So far good, just a single hash that was different for a user-environment.
<pie_> __monty__: alternative solution...search PRs? :P https://github.com/wxWidgets/Phoenix/pull/1135/files
<infinisil> colemickens: Ah yeah you can, e.g. with `sudo nix-env -p /nix/var/nix/profiles/system --delete-generations {541..596}`
<clever> aleph-: any differences can mean corruption or filesystem failures
<aleph-> Ah fsck
etrepum has quit [Read error: Connection reset by peer]
<infinisil> colemickens: Oh but then gc will probably still delete all new ungcrooted things..
<__monty__> pie_: 👍
etrepum has joined #nixos
<clever> aleph-: either something had root at the wrong time and modified something it shouldnt have, or the fs is failing, or an improper shutdown corrupted something
digitalgrease has quit [Read error: Connection reset by peer]
<aleph-> Sigh. So what would be my path forward? Just backup data and rebuild?
digitalgrease has joined #nixos
<clever> aleph-: nix can repair this stuff easily, lets wait for verify to finish first
<aleph-> Nod
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7b63f7a737e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
v0d1ch has quit [Read error: Connection reset by peer]
v0d1ch has joined #nixos
wgh has quit [Quit: leaving]
willghatch has joined #nixos
<pie_> __monty__: sorry, im so bad at this
Guest69420 has quit [Ping timeout: 245 seconds]
<colemickens> infinisil: if the manual command only deletes the paths referenced by those profiles, then its fine.
<colemickens> infinisil: I'm tweaking mesa, so the big stuff will be completely new anyway.
<aleph-> clever: Alright finished, got a "warning: not all errors were fixed"
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d3433f71a98 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<clever> aleph-: was the only failure a user env?
<aleph-> Fixed two python libs, env-manifest and user-env it looks like
Guest69420 has joined #nixos
<aleph-> Nothing else
<clever> aleph-: doesnt explain the missing kernel
<gchristensen> aleph-: when you reinstalled, you kept your /nix right?
johnny101m has joined #nixos
<clever> aleph-: try running `nixos-rebuild boot` within the `nixos-enter` shell
<aleph-> Sec
<aleph-> clever: Same issue
<aleph-> Can't find that kernel despite the path existinf
<aleph-> existing*
<clever> aleph-: ls -l that path, from within nixos-enter
<aleph-> gchristensen: Yeah I didn't delete anything. Just mounted and nixos-installed
<gchristensen> hmm
<aleph-> Ah that nix store path it points to is dead
<clever> aleph-: ls -lh /nix/var/nix/profiles/system-127-link
dftxbs3e has joined #nixos
johnny101m2 has quit [Ping timeout: 246 seconds]
<aleph-> Yes? I did that, it points to a nix store path that no longer exists
<clever> aleph-: can you paste the output to me
<gchristensen> aleph-: might should delete all the paths in /nix/var/nix/profiles which don't link to anything valid anymore, then do a nix-collect-garbage
<clever> gchristensen: that could break the current profile link
<gchristensen> yeah... well they already reinstalled once, so maybe collecting garbage and trying another reinstall would be good.
<clever> it should be possible to repair the profiles
FRidh has quit [Quit: Konversation terminated!]
<aleph-> Hmm, okay so can't boot sshd so I can't SSH in. And DNS resolver is down as well since systemd isn't started
johnny101m2 has joined #nixos
<infinisil> colemickens: Well, that manual command doesn't do a gc
<clever> aleph-: if you nixos-enter, what does `ls -lh /nix/var/nix/profiles/system-127-link` point to?
<infinisil> colemickens: It just deletes the gc roots
<colemickens> infinisil: :) I just realized as much
<aleph-> clever: Yeah trying to get that without having to manually type it out.
<aleph-> Sigh fine, let me key it in
<pie_> __monty__: woohoo tests are DOSing my WM rn :D
johnny101m has quit [Ping timeout: 252 seconds]
ambro718 has joined #nixos
<pie_> yay for xephyr
* pie_ goes off to get food while tests run
<aleph-> /nix/store/9j9cr9gi1ndias2qa1v1gdgff0izc923r-nixos-system-nixos-18.09.git.4dd9cd3
<clever> aleph-: aleph- ls -lh /nix/store/9j9cr9gi1ndias2qa1v1gdgff0izc923r-nixos-system-nixos-18.09.git.4dd9cd3
<aleph-> clever: ^
<aleph-> clever: Yes I did that, it doesn't exist.
<aleph-> Dead path
<clever> aleph-: ls -lh /nix/var/nix/profiles/system
johnny101m has joined #nixos
<aleph-> Points to system-203-link
johnny101m2 has quit [Ping timeout: 245 seconds]
<gchristensen> clever: I'll leave it to you :)
<___laika> is there any easy way to get a nix shell for the build environment of a package expression im working on including source? without cloning manually?
<clever> aleph-: does 203's target exist? why did the error says 127?
Yakulu has left #nixos ["Error from remote client"]
<aleph-> 203s target does exist
<aleph-> And not a clue why it does
johnny101m2 has joined #nixos
Yakulu has joined #nixos
<clever> aleph-: /nix/var/nix/profiles/system/bin/switch-to-configuration boot
<___laika> an ocaml build is insisting that a dependency is missing, but i cant see how it would be
oida has quit [Remote host closed the connection]
<___laika> so i want to drop into the repl and see what is there
<aleph-> Nope, same error.
<clever> ___laika: if you run `nix-shell /nix/store/foo.drv` it will drop you into that builds env
<clever> aleph-: oh, i know why
<___laika> clever++
<{^_^}> clever's karma got increased to 161
<clever> aleph-: its doing over every generation of nixos, to put rollback options into grub
<aleph-> Ugh
domogled has quit [Ping timeout: 258 seconds]
<clever> aleph-: easily fixed
<clever> aleph-: nix-env --profile /nix/var/nix/profiles/system --delete-generations 127
<aleph-> Okay done. Try a nixos-rebuild boot now?
<clever> aleph-: yep
<aleph-> Or switch-to-configuration boot?
das_j has quit [Quit: "Bye!";]
<clever> aleph-: either one
johnny101m has quit [Ping timeout: 248 seconds]
<clever> aleph-: switch-to-configuration would be faster
<{^_^}> [nixpkgs] @zimbatm merged pull request #65417 → google-cloud-sdk: 241.0.0 -> 255.0.0 → https://git.io/fjyGH
<{^_^}> [nixpkgs] @zimbatm pushed commit from @sveitser to master « google-cloud-sdk: 241.0.0 -> 255.0.0 (#65417) »: https://git.io/fjydP
<aleph-> Sigh.. system-128-link now...
<Baughn> clever: Oh hey. Any tips for making nixos-rebuild work offline?
<aleph-> Can I remove a range of generations?
<clever> 2019-07-28 16:33:03 < infinisil> colemickens: Ah yeah you can, e.g. with `sudo nix-env -p /nix/var/nix/profiles/system --delete-generations {541..596}`
<Baughn> aleph-: With a tiny bit of shell scripting
<clever> aleph-: bash can expand a range for you
<aleph-> Yeah I was planning on it if nix didn't have a built in
<aleph-> Kk
das_j has joined #nixos
<kraem> how can one query for available generations?
<clever> Baughn: the install tests in nixos use system.extraDependencies to bake extra storepaths into the install media
MmeQuignon has quit [Ping timeout: 246 seconds]
<clever> kraem: nix-env --list-generations
<clever> kraem: possibly with a --profile to tell it which profile to list them from
wfranzini has quit [Remote host closed the connection]
<Baughn> clever: nixos-rebuild seems to try to hit the cache even if nothing at all has changed, though.
wfranzini has joined #nixos
<clever> Baughn: another option is to just skip nixos-rebuild
<aleph-> Alright removed up to 202 inclusive and it worked. Do I just reboot?
<aleph-> Or is there another step?
<kraem> clever: i've got no per user profiles installed, only system-wide configs
<clever> Baughn: behind the scenes, all it does is build (import <nixpkgs/nixos> {}).system and then run result/bin/switch-to-configuration boot
<clever> kraem: then you want nix-env -p /nix/var/nix/profiles/system --list-generations
<clever> aleph-: that may be all you need
niksnut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #65524 → gn: 20181031 -> 20190726 → https://git.io/fjydS
fresheyeball has joined #nixos
MmeQuignon has joined #nixos
<kraem> clever: thanks, been thinking about that one for a while
<fresheyeball> hey out there
<fresheyeball> I am having troubling building my haskell project, and could just use a rubber duck
<fresheyeball> Setup: can't find source for Static in dist/build/static/static-tmp, prelude,
<fresheyeball> test/core, test/static
<fresheyeball> all of the sudden I get this error for building one of my test suites
<clever> Baughn: if you prebuild the system attr, you can just ${system}/bin/switch-to-configuration {switch|boot} in a shell script
<fresheyeball> any idea why that might happen? it builds fine inside the nix-shell
<fresheyeball> omg I found it
<aleph-> clever: Yeah that did it. Thanks mate
<fresheyeball> thanks again IRC, sometimes just having a place to ask is all that is really needed
<Baughn> clever: Ah, this is to let me do configuration changes offline though.
<Baughn> I won't know what they _are_ up-front.
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MmeQuignon has quit [Ping timeout: 248 seconds]
MmeQuignon has joined #nixos
<sstteeffaann> @fresheyeball in the Pragmatic Programmer, a book from the late 90's, there's a technique called The Rubber Duck. After some time on a bug, install a rubber duck on your desk, and explain him your concern. The fact of explaining the problem to someone else will make you sumup things up , and use different neuron circuitry I think, which often makes
<sstteeffaann> you accept the problem from a novel and more rigourous point of view, which can makes you find the issue. https://en.wikipedia.org/wiki/Rubber_duck_debugging
<sstteeffaann> fresheyeball so yes sometimes all we need to do is ask or explain the issue
<clever> Baughn: ah, then you want to just idsable the cache
<{^_^}> [nixpkgs] @bjpbakker opened pull request #65525 → firejail: allow wrapping .desktop applications → https://git.io/fjydh
<clever> Baughn: the problem is that the config changes your offline, modify storepaths, and nixos-rebuild is dumb and checking for those paths on a cache
<clever> Baughn: nixos-rebuild --option substituters '' will disable the cache entirely
<fresheyeball> sstteeffaann: plus this is where people like clever hang out. and so just being in the channel makes me more comfortable
dl4mfo has joined #nixos
<sstteeffaann> yes :-) it is even 100000 better
<gchristensen> the people in the channel is what got me to stay, for sure
<Baughn> clever: Ahh. Right, of course. I suppose it would be a nice improvement to throw in a maximum backoff time on that.
risson_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @samueldr opened pull request #65526 → qt5*: Enforce strict compatible version paths → https://git.io/fjyFk
risson has joined #nixos
infinisil-m has joined #nixos
sstteeffaann has quit [Remote host closed the connection]
<pie_> im looking for an example of something that needs x11 for its tests
<pie_> nvm, grepped nixpkgs for xvfb-run
fendor has joined #nixos
srid6390803 has quit [Read error: Connection reset by peer]
srid6390803 has joined #nixos
iqubic` has joined #nixos
iqubic` has left #nixos [#nixos]
iqubic has quit [Ping timeout: 276 seconds]
mexisme_ has joined #nixos
MmeQuignon has quit [Ping timeout: 268 seconds]
MmeQuignon has joined #nixos
linarcx has quit [Quit: WeeChat 2.5]
MmeQuignon has quit [Ping timeout: 244 seconds]
MmeQuignon has joined #nixos
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
<{^_^}> [nixpkgs] @samueldr merged pull request #65486 → multimc: wrapQtAppsHook, add xrandr for lwjgl 2.9.2 → https://git.io/fjyrx
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fjyFa
MmeQuignon has quit [Ping timeout: 248 seconds]
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
MmeQuignon has joined #nixos
Guest69420 has quit [Ping timeout: 246 seconds]
das_j has quit [Remote host closed the connection]
webster23_ has quit [Ping timeout: 264 seconds]
das_j has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @mmahut opened pull request #65528 → nethack: wrapQtApp only in qtMode → https://git.io/fjyFi
asymptotically has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Guest69420 has joined #nixos
<Aleksejs> hello, I have a problem with mdns domains - they work fine everywhere but nixos. In nixos they sometimes work but mostly don't work. Even if local dns name is published by nixos machine itself
<c00w> Did you disable the firewall?
<Aleksejs> no
<{^_^}> [nixpkgs] @worldofpeace pushed to staging-next « wire-desktop: gdk_pixbuf -> gdk-pixbuf »: https://git.io/fjyFy
orivej has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
yuken has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65458 → vdr: fix shebang of svdrpsend → https://git.io/fjyED
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjyFQ
<Aleksejs> any ideas?
grw has joined #nixos
Thra11 has quit [Quit: WeeChat 2.5]
<fulgjon> Hey, I've got a silly question: does every haskell package from hackage that doesn't provide default.nix to build it with nix is being marked as broken?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65522 → openscad: Use qt5's own mkDerivation → https://git.io/fjydt
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjyF7
lambda-11235 has joined #nixos
mvnetbiz_ has joined #nixos
Guest69420 has quit [Quit: WeeChat 2.4]
aswanson has joined #nixos
MmeQuignon has quit [Ping timeout: 272 seconds]
mexisme_ has quit [Ping timeout: 252 seconds]
MmeQuignon has joined #nixos
day|flip has joined #nixos
johnw has quit [Ping timeout: 248 seconds]
day|flip has quit [Client Quit]
MmeQuignon has quit [Ping timeout: 245 seconds]
MmeQuignon has joined #nixos
lovesegfault has joined #nixos
o1lo01ol1o has joined #nixos
alex`` has quit [Ping timeout: 258 seconds]
day|flip has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #65529 → poezio: 0.12 -> 0.12.1 → https://git.io/fjyFj
wfranzini has quit [Remote host closed the connection]
turion has quit [Quit: Leaving.]
wfranzini has joined #nixos
Yakulu has left #nixos ["Disconnected: Replaced by new connection"]
Yakulu has joined #nixos
Xal has quit [Max SendQ exceeded]
Xal has joined #nixos
johnw has joined #nixos
<{^_^}> [nixpkgs] @dasJ opened pull request #65530 → sogo: Init at 4.0.8 → https://git.io/fjybI
`_ has joined #nixos
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @mmahut opened pull request #65531 → openscad: not using qt5 and libsForQt5 directly → https://git.io/fjybt
<das_j> What kind of license would that be? https://github.com/inverse-inc/sope/blob/master/COPYRIGHT
`_ has quit [Client Quit]
__monty__ has quit [Quit: leaving]
<samueldr> "none", but that's not a nixpkgs license, just that this is a copyright notice, and not a license allowing or disallowing
yuken has joined #nixos
Lukas4452 has joined #nixos
Yakulu has left #nixos ["Error from remote client"]
<Lukas4452> i have a problem building the deps for teamspeak, in the .nix file is defined that ts needs quazip but after install ts3client says
<Lukas4452> "libquazip.so: cannot open shared object file: No such file or directory"
<clever> Lukas4452: libquazip.so got renamed within its derivation, which breaks teamspeak
<clever> lrwxrwxrwx 1 clever users 74 Jul 21 19:26 hack/libquazip.so -> /nix/store/g5yvvxgc401zbhrrlnhxglp3y4kmfbbj-quazip-0.8.1/lib/libquazip5.so
<clever> Lukas4452: ive temporarily made this symlink, and then put hack into LD_LIBRARY_PATH
MmeQuignon has quit [Ping timeout: 248 seconds]
<Lukas4452> clever ok, well after the special version i got from you, i got ts working... but it still crashes
ng0 has quit [Quit: Alexa, when is the end of world?]
<Lukas4452> i want to fix that somehow
<c00w> Aleksejs: My memory of this was if I had the firewall turned on it wouldn't work. Does disabling the firewall make it work? I have foo.lan resolving on my network consistently.
<clever> Lukas4452: i need to get around to updating the expr in nixpkgs master to include the latest fixes i have
<Lukas4452> how to apply the hack?
m0rphism has quit [Ping timeout: 248 seconds]
<clever> Lukas4452: run nix-store -qR on teamspeak, find the quazip-0.8.1 path, and make a symlink to its .so file, with a new name
<clever> Lukas4452: and then set LD_LIBRARY_PATH
xkapastel has joined #nixos
chloekek has quit [Ping timeout: 272 seconds]
Okinan has joined #nixos
<Aleksejs> c00w: it didn't affect anything
<c00w> huh
MmeQuignon has joined #nixos
ericsagnes has quit [Ping timeout: 276 seconds]
lovesegfault has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @dasJ opened pull request #65532 → tt-rss-plugin-fever-api: Init at 2.2.0 → https://git.io/fjybC
fendor has quit [Quit: Leaving]
<Lukas4452> is there no way in running the official TS?
<Aleksejs> c00w: I tried to disable firewall but domain still can't be resolved
o1lo01ol1o has quit [Remote host closed the connection]
NightTrain has joined #nixos
mexisme_ has joined #nixos
<Lukas4452> clever is there a hack that runs the standard teamspeak like appimage-run runs AppImages?
<clever> Lukas4452: dont know of one
<c00w> Aleksejs: Any chance you can pull a packet trace and see what dns activity there is?
<c00w> That might let you figure out where the problem is
ericsagnes has joined #nixos
mexisme_ has quit [Read error: Connection reset by peer]
<Aleksejs> c00w: I'm trying to trace trat domain and I'm getting system error right away
mexisme_ has joined #nixos
<Aleksejs> the same error is when I'm trying to ping that domain
o1lo01ol1o has joined #nixos
MmeQuignon has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #65533 → rustc: enable cross-compilation to musl libc → https://git.io/fjybx
Lukas4452 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dasJ opened pull request #65534 → sendxmpp-rs: Init at unstable-2019-03-02 → https://git.io/fjyNI
<slabity> Woops... Anyways, that's the configuration.nix
<infinisil> slabity: Yeah you can't use pkgs in imports
<infinisil> slabity: You need to use `(import <nixpkgs> {}).fetchFromGitLab` or the builtin function `fetchTarball` instead
<infinisil> I recommend the latter
<infinisil> You need to use the tarball url directly with it though
<slabity> That explains it. Thanks infinisil++
<{^_^}> infinisil's karma got increased to 115
erictapen has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #65535 → aggregateModules: fix x-compilation for out-of-tree kernel modules → https://git.io/fjyNs
kori has quit [Quit: WeeChat 2.5]
kori1 has joined #nixos
mbrgm_ has joined #nixos
is_null has quit [Ping timeout: 258 seconds]
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
mexisme has joined #nixos
<{^_^}> [nixpkgs] @dasJ closed pull request #53202 → freerdp: Add support for USB redirection → https://git.io/fhqw1
is_null has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dasJ closed pull request #65534 → sendxmpp-rs: Init at unstable-2019-03-02 → https://git.io/fjyNI
o1lo01ol1o has quit [Remote host closed the connection]
<___laika> infinisil: my "small change" ended up sprawling a little bit, but everything seems to be building :)
<___laika> 13 files changed, 81 insertions(+), 62 deletions(-)
<___laika> infinisil: https://gist.github.com/matthewess/50e3c96a1cf56ef97eac5e14ae26fd56 would you recommend committing all of this at once, or splitting it up into commits by package?
<infinisil> ___laika: One initial commit for adding yourself as a maintainer, and one commit per package update/introduction is the convention, so I recommend doing that :)
<___laika> do people generally append themselves to the maintainer list for packages they touch?
<___laika> or just if they make a Big Change(TM)?
<___laika> also infinisil, do you have a link to a high quality PR i could look at?
<___laika> bonus points if you could point me to a first timer PR tooo
<gchristensen> ___laika: only if you want to take care of it in the future
<infinisil> ___laika: People add themselves as a maintainer if they feel like maintaining the package :P
erictapen has quit [Quit: leaving]
<infinisil> (in nixpkgs)
<___laika> makes sense
<infinisil> A high quality PR..
<___laika> just something for me to cheat off of, heh
<___laika> no worries if nothing comes to mind
<infinisil> Well as an example of a PR that updates packages: #55959
<{^_^}> https://github.com/NixOS/nixpkgs/pull/55959 (by Ralith, 23 weeks ago, merged): Update Vulkan packages
<{^_^}> #65461 (by steshaw, 1 day ago, merged): idrisPackages.sdl2: 2018-01-19 -> 0.1.1
<infinisil> Which has an example of somebody adding themselves to the maintainer list in an initial commit (well I asked them to do so :))
<Ralith> add yourself as a maintainer if you need to take responsibility for a package, which usually happens because you are using it and nobody else has taken responsibility
<infinisil> Package update PR's are generally not that sensitive to quality though, because even if you mess something up, it almost always won't be a problem
<infinisil> Things like functions (e.g. buildFooPackage) or NixOS modules are more sensitive to quality, because they have a publicly facing API, which once created in a bad way, will have to stay backwards compatible in the future
<aanderse> speaking of which... i really need to write an implementation for https://github.com/NixOS/nixpkgs/issues/62073
<{^_^}> #62073 (by aanderse, 9 weeks ago, open): Abstract services.foo.database?
<pie_> #65536
<{^_^}> https://github.com/NixOS/nixpkgs/issues/65536 (by deliciouslytyped, 3 minutes ago, open): Happy 2 ^ 16
<aanderse> :D
<gchristensen> :D
<pie_> time to party