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
<Allen> Thanks. it looks a nice tool as well
<Allen> A new question: How can I know the package name starts with nixos or nixpkgs
<PyroLagus> you mean like nixos.firefox vs nixpkgs.firefox?
o1lo01ol1o has joined #nixos
<PyroLagus> that'd be the channel you're using
ris has quit [Ping timeout: 248 seconds]
<PyroLagus> which is usually nixos on nixos and nixpkgs everywhere else
<Allen> I see. Thanks
vitor has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @danbst opened pull request #62712 → NixOS module system: improve one of error messages → https://git.io/fju2F
o1lo01ol1o has joined #nixos
m0rphism has quit [Ping timeout: 246 seconds]
<o1lo01ol1o> Is there a good, recent guide / project for hydra using build slaves with nixops? Is peti's project still serviceable? (https://github.com/peti/hydra-tutorial)
<{^_^}> [nixpkgs] @Ma27 merged pull request #62710 → nodejs-12_x: 12.3.1 -> 12.4.0 → https://git.io/fju22
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjuav
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjuaf
ghedamat has quit [Quit: Connection closed for inactivity]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
slack1256 has joined #nixos
gxt has quit [Quit: WeeChat 2.4]
gxt has joined #nixos
gxt has quit [Client Quit]
drakonis has quit [Ping timeout: 248 seconds]
Allen has quit [Ping timeout: 256 seconds]
parsnip has left #nixos ["WeeChat 2.4"]
gxt has joined #nixos
slack1256 has quit [Ping timeout: 272 seconds]
judson has quit [Ping timeout: 244 seconds]
zeta_0 has joined #nixos
<zeta_0> hello guys, when i tried to install the emacs packages lsp-treemacs and helm-lsp in home.nix they do not want to install, why is that?
d10n-work has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
Synthetica has quit [Quit: Connection closed for inactivity]
silver has quit [Read error: Connection reset by peer]
sestrella has left #nixos [#nixos]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62674 → lutris: add hicolor theme → https://git.io/fjuRB
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuan
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
thc202 has quit [Ping timeout: 268 seconds]
Elon_Satoshi has quit [Quit: So long, and thanks for all the fish! 2.4 Weechat is best Weechat]
ddellacosta has joined #nixos
o1lo01ol1o has joined #nixos
InFlames has joined #nixos
dansho has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
ddellacosta has quit [Ping timeout: 248 seconds]
freeman42x has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
Copenhagen_Bram has joined #nixos
slack1256 has joined #nixos
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
yurrriq has joined #nixos
<yurrriq> hello, fellow nixers
<yurrriq> I've long wondered how to get `nix add-to-store` to work. I've got some overlays that use buildEnv to generate some dynamic environments (with pinned versions of certain packages), and I don't want to have to build/fetch them every other time I use nix-shell.
<yurrriq> As I understood it, I should be able to invoke some sort of `nix add-to-store` command the adds a gc root, but I can't seem to figure it out at all.
<yurrriq> Any tips, or links to working examples?
<{^_^}> [nixpkgs] @samueldr merged pull request #61726 → refind: allows building for aarch64 → https://git.io/fj89h
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fjuah
zeta_0 has joined #nixos
johnw_ has joined #nixos
npmccallum_ has joined #nixos
duoi has quit [Ping timeout: 250 seconds]
johnw has quit [Ping timeout: 252 seconds]
npmccallum has quit [Ping timeout: 248 seconds]
endformationage has quit [Ping timeout: 248 seconds]
drewr has quit [Ping timeout: 250 seconds]
npmccallum_ is now known as npmccallum
endformationage has joined #nixos
duoi has joined #nixos
v0|d` has joined #nixos
v0|d has quit [Ping timeout: 252 seconds]
drewr has joined #nixos
MmeQuignon has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61639 → dbus: 1.12.12 -> 1.12.14 → https://git.io/fjuVs
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fjuVG
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62624 → redshift: add geoclue config → https://git.io/fjEx9
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuVZ
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62623 → localtime: set geoclue config → https://git.io/fjExS
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuVn
psy3497 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62689 → networkmanagerapplet: 1.8.20 -> 1.8.22 → https://git.io/fjuEE
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuVC
st4ll1_ has joined #nixos
st4ll1 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « unix-tools: default when no provider exists »: https://git.io/fjuV4
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62595 → dropbox: fix tray menu with StatusNotifierItem trays → https://git.io/fjE9S
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuVB
<{^_^}> [nixpkgs] @samueldr opened pull request #62713 → vim/nvim: Backports fix for ACE → https://git.io/fjuV0
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @cstrahan to release-19.03 « dropbox: fix tray menu with StatusNotifierItem trays »: https://git.io/fjuVE
v0|d` has quit [Remote host closed the connection]
v0|d has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62486 → now-cli: 15.0.10 -> 15.3.0 → https://git.io/fjEuc
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuV2
drakonis has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62492 → opera: 58.0.3135.127 -> 60.0.3255.109 → https://git.io/fjEza
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuVw
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62685 → klavaro: 3.05 -> 3.07 → https://git.io/fjuEc
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuVr
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62346 → amazon-ecs-cli: 1.14.0 -> 1.14.1 → https://git.io/fjEqs
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuV6
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61729 → nixos/geoclue2: don't run as root → https://git.io/fj8QH
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuVi
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62430 → gtkwave: 3.3.100 -> 3.3.101 → https://git.io/fjE84
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuVX
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62263 → unit: 1.8.0 -> 1.9.0 → https://git.io/fj01w
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuV1
dminuoso has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62687 → calibre: 3.42.0 -> 3.44.0 → https://git.io/fjuEB
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuVM
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62459 → libebml: 1.3.7 -> 1.3.9 → https://git.io/fjE0I
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuVy
<{^_^}> [nixpkgs] @worldofpeace closed pull request #62368 → calibre: 3.42.0 -> 3.43.0 → https://git.io/fjEYG
petersjt014 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62438 → irqbalance: 1.5.0 -> 1.6.0 → https://git.io/fjE4b
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuVQ
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<{^_^}> [nixpkgs] @teto merged pull request #62669 → Add one latex and one lua LSP server → https://git.io/fjuCK
<{^_^}> [nixpkgs] @teto pushed 4 commits to master: https://git.io/fjuVd
buffet_ has joined #nixos
buffet has quit [Ping timeout: 252 seconds]
Supersonic has quit [Ping timeout: 252 seconds]
Supersonic has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #62670 → pythonPackages.flask-swagger: init at 0.2.14 → https://git.io/fjuCX
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjuVb
toppler`` has quit [Ping timeout: 248 seconds]
detran has joined #nixos
<{^_^}> [nixpkgs] @teto closed pull request #55263 → [WIP] lua: Add more packages from a generated source → https://git.io/fh9Lk
drakonis has quit [Quit: WeeChat 2.4]
drakonis has joined #nixos
toppler`` has joined #nixos
drakonis_ has joined #nixos
mac10688 has joined #nixos
<mac10688> hello
<mac10688> I'm trying to install nixos as a dualboot next to ubuntu
InFlames has quit [Ping timeout: 258 seconds]
<mac10688> I'm following the manual the best I can but when i go to install it says Failed to check file system type of "/boot": No such file or directory
<clever> mac10688: simplest thing is to give nixos full control of /boot/ and then use https://nixos.org/nixos/options.html#boot.loader.grub.extraentr to aextned the grub config
<clever> mac10688: did you mount an FS to /mnt/boot/ ?
<{^_^}> [nixpkgs] @ryantm merged pull request #62454 → ktlint: 0.32.0 -> 0.33.0 → https://git.io/fjER7
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjuVA
<clever> if your using efi, then it must be the efi system partition at /mnt/boot/
<mac10688> i don't know what FS is
<mac10688> i am using efi
<clever> filesystem
InFlames has joined #nixos
<clever> did you make the efi system partition in fdisk?
abathur has quit [Ping timeout: 252 seconds]
<mac10688> no because there's already an efi boot loader i thought
<mac10688> from ubuntu
<clever> you can mount the existing ESP at /mnt/boot/ then
<mac10688> how do I do that?
<mac10688> i've been looking at gparted and fdisk
<clever> can you pastebin the output of `fdisk -l` ?
<mac10688> i think my current EFI loader is at path /dev/nvme0n1p1
<mac10688> ok
slack1256 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed to master « pythonPackages.flask-swagger: disable checkPhase »: https://git.io/fjuVx
<mac10688> dang, i can't access with firefox on live page, even though I have connected to my wifi
<mac10688> on life disk*
<mac10688> i'm on irc from another computer
<clever> mac10688: passwd root ; systemctl start sshd
<clever> then ssh in from that second computer
buckley310 has joined #nixos
<mac10688> ok i'll give that a shot
Rusty1 has joined #nixos
<mac10688> lol i can't believe that actually worked
<o1lo01ol1o> how can I add the config.unFree = true option to this line: with (import <nixpkgs/pkgs/top-level/release-lib.nix> { inherit supportedSystems; });
<clever> o1lo01ol1o: why do you need uufree packages in release-lib.nix?
<clever> mac10688: yeah, /dev/nvme0n1p1 is your ESP, so you want to mount that to /mnt/boot/
<mac10688> I have 2 main drives clever. One is a 250gb ssd and another terabyte hd
<o1lo01ol1o> this is a hydra jobset; it's building a derivation with an unfree license
<mac10688> ok let me see how to do that
<clever> o1lo01ol1o: hydra is configured to never build unfree stuff, because that would then be sharing it to people who didnt agree to the license
<o1lo01ol1o> but this says it's possible: https://github.com/NixOS/hydra/issues/223
<{^_^}> hydra#223 (by mschristiansen, 3 years ago, closed): Allow 'unfree' projects
yurrriq has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1a27474d474 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<mac10688> that took me a step further clever :) I do wonder that. after I typed nixos-install --no-root-passwd. It finished in less than 10 seconds
<mac10688> surely that wasn't the full install
<mac10688> did it already add itself to grub or anything?
<clever> mac10688: it can resume an existing partially done install
<o1lo01ol1o> clever: is there a way to set unFree = true in the jobset or do I need to set it somewhere else?
<mac10688> cool wow that was quick
ddellacosta has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62275 → xorg.xorgserver: 1.20.4 -> 1.20.5 → https://git.io/fj09E
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuwJ
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #62714 → luaPackages.cjson: move to generated → https://git.io/fjuwU
<o1lo01ol1o> clever: cool, thanks
<mac10688> ok cool, i'm at the login screen
<mac10688> and I don't know how to login lol. I guess I better go back to the live installer and really look at the default config
<mac10688> so i can use that config file to set all this up and reinstall right?
<mac10688> it'll just reinstall over itself?
<clever> mac10688: just mount the rootfs and bootfs to the same spot again, and nixos-install will update it
<clever> mac10688: and because of `--no-root-passwd`, you didnt set a root pw
<clever> so you have no way to sign in
o1lo01ol1o has quit [Remote host closed the connection]
Glider_IRC_ has joined #nixos
o1lo01ol1o has joined #nixos
Glider_IRC has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Ping timeout: 252 seconds]
InFlames has quit [Ping timeout: 258 seconds]
alex`` has quit [Ping timeout: 248 seconds]
alex`` has joined #nixos
selfsymmetric-mu has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nix] @matthewbauer opened pull request #2921 → Handle SIGWINCH in main thread → https://git.io/fjuwY
Rusty1 has quit [Quit: Konversation terminated!]
slack1256 has joined #nixos
wfranzini has quit [Remote host closed the connection]
InFlames has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
cyphase has quit [Ping timeout: 272 seconds]
reinhardt has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
<mac10688> ok so i got nixos installed and i'm logged into root. I run systemctl start display-manager now and the display-manager.service isn't found. I understand that this is a barebones OS where I need to take what I need and I'm fine with that. I'm just wondering what's the general idea now. I just keep going back to the global config file and adding new services there and reinstalling with nixos-install?
<{^_^}> [nixpkgs] @matthewbauer opened pull request #62715 → Darwin GL Experiments → https://git.io/fjuwW
palo1 has joined #nixos
slack1256 has quit [Ping timeout: 272 seconds]
<clever> mac10688: did you read the xserver example in configuration.nix?
<clever> mac10688: also, once it boots, you dont need to touch nixos-install
cyphase has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<clever> mac10688: `nixos-rebuild switch` will apply all changes
palo has quit [Ping timeout: 252 seconds]
palo1 is now known as palo
<mac10688> yeah i tried to read it. I'm not terribly familiar with linux jargon. I'm just happy to get it installed. I'm going back to the manual now ^^
<mac10688> thanks for your help clever. I've been stuck the past few days
<mac10688> sleeping on it didn't help, you did though
<clever> mac10688: i just have freakish memory, ive memorized the entire nixos option set
<selfsymmetric-mu> clever: I'm willing to actually believe that.
<colemickens> I'm so sorry
<colemickens> memorizing any of the nix cli tooling seems like a challenge
abaiste^ has quit []
<clever> nix run nixpkgs.yarn nixpkgs.haskellPackages.purescript --arg config '{ allowBroken = true; packageOverrides = pkgs: { haskellPackages = pkgs.haskellPackages.extend (self: super: { purescript = pkgs.haskell.lib.doJailbreak super.purescript; }); }; }'
<clever> colemickens: try parsing this!
tsrt^ has joined #nixos
ghasshee has joined #nixos
tdeo has joined #nixos
Ariakenom has quit [Quit: Leaving]
capisce has joined #nixos
domogled has joined #nixos
polmaan has quit [Ping timeout: 248 seconds]
domogled has quit [Client Quit]
polmaan has joined #nixos
endformationage has quit [Ping timeout: 244 seconds]
oida has quit [Ping timeout: 256 seconds]
oida has joined #nixos
<pie__> maybe we should just pull a karan s'jet with clever
InFlames has quit [Ping timeout: 258 seconds]
Ariakenom has joined #nixos
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #62503 → pmd: 6.14.0 -> 6.15.0 → https://git.io/fjE2G
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « pmd: 6.14.0 -> 6.15.0 (#62503) »: https://git.io/fjurU
Diagon has quit [Quit: Leaving]
domogled has joined #nixos
<selfsymmetric-mu> pie__++
<{^_^}> pie__'s karma got increased to 1
reinhardt has quit [Quit: Leaving]
ghasshee has quit [Ping timeout: 252 seconds]
brejoc has joined #nixos
<{^_^}> [nixpkgs] @teto pushed to master « luaPackages.cjson: move to generated »: https://git.io/fjur4
<{^_^}> [nixpkgs] @teto merged pull request #62714 → luaPackages.cjson: move to generated → https://git.io/fjuwU
<dminuoso> Mmm. So I have a need to contribute to the qt in nixpkgs. It's not quite clear to me how you would even build say qtconnectivity out of the repo itself.
rauno has joined #nixos
emptyflask has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e283999204e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
selfsymmetric-mu has quit [Remote host closed the connection]
<dminuoso> Part of the problem is that pkgs/development/libraries/qt-5/5.12/default.nix is parametrized over cf-private which I dont know how to supply.
hyper_ch2 has joined #nixos
<colemickens> dminuoso: what are you trying to do?
selfsymmetric-mu has joined #nixos
<dminuoso> colemickens: I want to build qt3d
zupo has joined #nixos
tbenst has joined #nixos
erudition has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #62716 → luaPackages.lpeg: 1.0.1 -> 1.0.2 → https://git.io/fjurz
vidbina has joined #nixos
ym555 has quit [Quit: leaving...]
Serus has joined #nixos
shabius has quit [Ping timeout: 258 seconds]
wfranzini has joined #nixos
wfranzini has quit [Client Quit]
wfranzini1 has joined #nixos
wfranzini1 is now known as wfranzini
mighty_vee has quit [Ping timeout: 248 seconds]
mighty_vee has joined #nixos
<colemickens> I don't know how to build it. I can guess at how to build qt3d though. Are you trying to use an app that needs it? Or build an app with it ?
<colemickens> The qt3d sources are in the tree already, just looks like there's not a corresponding qtModule for it (yet)
vidbina has quit [Ping timeout: 248 seconds]
domogled has quit [Ping timeout: 248 seconds]
<mac10688> so i'm at command line and ready to add packages and turn on xserver for nixos but when i nixos-rebuild switch it can't download anything because i'm not connected to the internet
Allen has joined #nixos
<mac10688> am i supposed to connect through command line or is there something in the config that i fix this with?
<mac10688> probably in the config but i didn't see the options
<Allen> Hi all, my local php version in nixos is above 7.0. How can I install php5.6?
InFlames has joined #nixos
<Allen> php version in our server is 5.6, so I hope to test some script with php5.6
<Allen> in my local
<eyJhb> Anybody know if it is possible to specific a in-line ca-cert using networkmanager?
<petersjt014> mac10688: hold on a sec, I'm pretty sure I know this
<petersjt014> I gotta fire up the rasPi I was doing it on tho, gonna be a min
<mac10688> ok thank you petersjt014
<petersjt014> I should ask tho: is it wireless? because if it's wired and not connecting that's something else
<petersjt014> something i'd be less familiar with
<petersjt014> mac10688: I do have the relevant snippet ready if that's the case
<mac10688> wireless
<mac10688> i would like to see the snippet please :)
<dminuoso> colemickens: Yes, but my problem is I want to try and build the nix derivation for it.
<{^_^}> [nixpkgs] @dywedir merged pull request #62678 → ibm-plex: 1.4.1 -> 2.0.0 → https://git.io/fju0F
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjurN
<petersjt014> okay good
<dminuoso> colemickens: But I dont know how to build any of the qt things out of the git repo.
Jackneill has joined #nixos
<dminuoso> colemickens: Ive already written the qt3d module, but I dont know whether patches are needed, whether it works or not..
<petersjt014> you're gonna wann put it in a script, it a bit unwieldly:
<mac10688> oh wow lol, ok
<mac10688> i'll save it to a file and work with it
<petersjt014> wpa_supplicant -B -i infterface_name_here -c <(wpa_passphrase 'ssid_here' 'password_here')
jasongrossman has joined #nixos
<petersjt014> be sure to check ifconfig incase your wireless interface has a weird name
<colemickens> dminuoso: nix-build -A qt5.qtconnectivity
<mac10688> oh that's not bad! let me try that out
schjetne has joined #nixos
thc202 has joined #nixos
<dminuoso> colemickens: Well yes. But Im talking out of the git repo.
reinhardt has joined #nixos
<mac10688> thanks petersjt014 . i saved that to a file. I ran into another issue when working with that about the swap. I'm gonna head to bed and check it out tomorrow
mexisme_ has quit [Ping timeout: 248 seconds]
<petersjt014> one other thing
<{^_^}> [nixpkgs] @teto opened pull request #62717 → Luazip update → https://git.io/fjuov
linarcx has joined #nixos
<petersjt014> you may be able to do a rebuild anyway if you use the --keep-going flag
nschoe has joined #nixos
InFlames has quit [Ping timeout: 258 seconds]
<gentauro> so the NixOS + `stack` is a bit annoying. I mean, I had to install purescript (I always build from GH as I can't rely on `npm`). I ended up modifying my (usual) script to change a value in the `stack.yaml` file like this -> http://paste.debian.net/plain/1086266
<gentauro> but is this the right way to do it?
<gentauro> :|
<colemickens> dminuoso: I don't understand that was executed in the root of the repo
<gentauro> (anybody using NixOS and actually deploying Haskell to prod in here?)
<colemickens> dminuoso: you could do `nix-build -f "https://github.com/nixos/nixpkgs-channels/archives/nixos-unstable.tar.gz" -A qt5.qtconnectivity` if you prefer
<gentauro> well I recognize dminuoso from #haskell :D
<dminuoso> colemickens: You miss the point. Im looking for a workflow how to modify nixpkgs.
<dminuoso> colemickens: Surely people dont just commit changes and *then* nix-build from github.com just to see if things work.
<colemickens> dude, I just said I executed the nix-build command from the root of the git repo
<colemickens> cd nixpkgs; nix-build -A qt5.qtconnectivity
<colemickens> otherwise I don't know what you're asking, I'm sorry.
<mac10688> lol I guess everyone is here to develop haskell
<dminuoso> colemickens: Ohh. I misunderstood, Im sorry. :)
<gentauro> mac10688: :D
<colemickens> np, I could've been more clear. Good luck, I have to hop off :) always good to have more contributors.
<dminuoso> colemickens: Thank you for your help, really appreciate it.
logzet has joined #nixos
ThatDocsLady has joined #nixos
orivej has joined #nixos
<colemickens> dminuoso: I took my laptop to bed :). Just to close the loop here: nix-build will take `-f` as a path to the place to do the build. In this case, it can be implicitly the local directory with a default.nix inside, or a path to a tarball/dir with a default.nix inside.
<{^_^}> [nixpkgs] @vanschelven closed pull request #62666 → python: azure-keyvault: init at 1.1.0 → https://git.io/fjuCv
<colemickens> dminuoso: somehow, the nixpkgs's default.nix output has an attribute set called "qt5" that has an attribute (set) called qtconnectivity and you're telling nix-build ot just build that attribute of the entire nixpkgs tree.
<dminuoso> colemickens: Right. Somehow I was trying to go deeper and build it straight out of the qt directory and couldnt figure out how. But this works like a charm! :)
<colemickens> (I mention this only because I would've found it useful, hopefully its not annoying)
<colemickens> https://nixos.org/nixos/nix-pills/callpackage-design-pattern.html is pretty good to explain why what you were doing won't work.
<colemickens> or rather, it explains the magic by which building the other direction DOES work
<colemickens> (I'd probably only recommend reading the first section for now unless super curious or you've read more of the nix/nixos manuals)
<dminuoso> colemickens: Well I was trying to callPackage the nix derivation, but there were some inputs not straight in the nixpkgs set.
<dminuoso> At any rate, qt3d is building nicely. :)
<colemickens> dminuoso: oh okay, so you had already figured out how it works :)
petersjt014 has quit [Quit: WeeChat 2.4]
knupfer has joined #nixos
<colemickens> I build some packages sort of out-of-tree from nixpkgs and use callPackage still, so I had to learn this recently too. Though I'm not sure if I know how to have handled your particular case. (I don't really like dealing with qt stuff, either in packaging or runtime.)
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
goibhniu1 has joined #nixos
mexisme_ has joined #nixos
<realloc> tilpner: Thank you, I will try that config
fusion809 has quit [Remote host closed the connection]
mexisme_ has quit [Ping timeout: 258 seconds]
Shoubit has joined #nixos
spacefrogg_ is now known as spacefrogg
gentauro has quit [Quit: leaving]
gentauro has joined #nixos
gentauro has quit [Client Quit]
gentauro has joined #nixos
ng0 has joined #nixos
ericsagnes has quit [Ping timeout: 248 seconds]
ericsagnes has joined #nixos
drakonis has quit [Ping timeout: 272 seconds]
vidbina has joined #nixos
drakonis has joined #nixos
<kraem> options - when can I use the regular config files a certain program usually looks at and when should I use the nixOS options in configuration.nix?
<kraem> example: gpg - the only option i'm finding is `programs.gnupg.agent.enable` - should i then install the gnupg as usal, setting everything up manually and then just activate the gnupg agent in configuration.nix if i need it?
MarcWeber has joined #nixos
dwdr has joined #nixos
sigmundv has joined #nixos
toppler`` has quit [Ping timeout: 245 seconds]
johnw_ has quit [Ping timeout: 244 seconds]
Jetien_ has joined #nixos
jackdk has quit [Ping timeout: 272 seconds]
<Shoubit> kraem, it might be worth having a look at using home-manager, it might have the options you want https://github.com/rycee/home-manager/blob/master/modules/services/gpg-agent.nix
<{^_^}> [nixpkgs] @CohenCyril opened pull request #62718 → coqPackages: fix + add multinomials 1.3 + coqeal 1.0.0 → https://git.io/fjuK3
johnw has joined #nixos
toppler`` has joined #nixos
dansho has quit [Quit: Leaving]
knupfer has quit [Ping timeout: 248 seconds]
gyroninja__ has quit [Ping timeout: 258 seconds]
hmpffff has joined #nixos
<lux3> has anyone a working TeamViewer with inbound connections?
ericsagnes has quit [Ping timeout: 248 seconds]
arjen-jonathan has joined #nixos
j4m3s__ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 338 commits to staging-next: https://git.io/fjuK6
Synthetica has joined #nixos
psy3497 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 339 commits to staging: https://git.io/fjuKQ
<{^_^}> [nixpkgs] @danieldk opened pull request #62719 → dockerTools.buildLayeredImage: restore layer sharing → https://git.io/fjuKd
arjen-jonathan has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @ivan opened pull request #62720 → chromium: 74.0.3729.157 -> 75.0.3770.80 → https://git.io/fjuKN
<tobiasBora> I saw some people using "patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$out/bin/myscript" || true"
<tobiasBora> I understand this "patchelf --set-interpreter ${glibc}/lib/ld-linux-x86-64.so.2 "$out/bin/myscript" || true"
Netsu has joined #nixos
<tobiasBora> but I don't understand what is the first thing
<tobiasBora> What does $(cat $NIX_CC/nix-support/dynamic-linker) means?
<{^_^}> [nixpkgs] @vcunat pushed 7 commits to staging: https://git.io/fjuKj
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #62634 → gtk-doc: 1.29 -> 1.30 → https://git.io/fjuvv
phdoerfler has joined #nixos
<Netsu> Is there any documentation to build packages for other package systems by nix?
<Netsu> e.g. portage/brew/deb/rpm etc.?
phdoerfler has quit [Client Quit]
zupo has quit [Ping timeout: 246 seconds]
<adisbladis> tobiasBora: There is a file in "${gcc}/nix-support/dynamic-linker" containing the path to your dynamic linker
<adisbladis> Which is actually the same as ${glibc}/lib/ld-linux-x86-64.so.2
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #62713 → vim/neovim: Backports fix for ACE → https://git.io/fjuV0
<{^_^}> [nixpkgs] @andir pushed 3 commits to release-19.03: https://git.io/fju6s
<Synthetica> Is there a way to get a nix-shell with the build inputs for a package in nixpkgs? I think I someone do that somewhere, but I can't find it anymore
<{^_^}> [nixpkgs] @etu merged pull request #62289 → dapper: init at v0.4.1 → https://git.io/fj05i
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fju6l
<Ashy> Synthetica: that's also something i've been meaning to look up
<Ashy> sure i've seen it somewhere too
Anton-Latukha has joined #nixos
reinhardt has quit [Ping timeout: 244 seconds]
<Ashy> Synthetica: hmm, this might be it: `nix-shell '<nixpkgs>' -A hello`
<tobiasBora> adisbladis: So $NIX_CC contains a path to a folder with lib/lib64, and then patchelf automatically picks the good interpreter here, based I guess on the name of the original interpreter?
<Synthetica> Ashy: Ah, yes, that works! Thank you :)
MmeQuignon has joined #nixos
<adisbladis> tobiasBora: nix-shell '<nixpkgs>' -A hello --run 'echo $NIX_CC/nix-support/dynamic-linker "->" $(cat $NIX_CC/nix-support/dynamic-linker)'
<adisbladis> tobiasBora: Pretty much.
<tobiasBora> adisbladis: why "pretty"? ^^
<adisbladis> An ELF can only have a single interpreter specified. It doesn't need to pick up the original interpreter by name to patch it.
vidbina has quit [Ping timeout: 248 seconds]
inquisitiv3 has quit [Ping timeout: 252 seconds]
<tobiasBora> adisbladis: oh... I though this was pointing to a folder with /lib and /lib64 but it's not. But here, if the file were waiting for another interpreter different from ld-linux-x86-64.so.2, it wouldn't work right?
<tobiasBora> adisbladis: is there any documentation about $NIX_CC?
Arahael has joined #nixos
<tobiasBora> also, what is the recommended method, the NIC_CC/nix-support/... or the {glibc}? I'm not sure to see why we need an extra indirection with NIX_CC
reinhardt has joined #nixos
clacke_movim has left #nixos [#nixos]
arjen-jonathan has quit [Ping timeout: 248 seconds]
__monty__ has joined #nixos
mexisme_ has joined #nixos
ericsagnes has quit [Ping timeout: 258 seconds]
ilmu has joined #nixos
ericsagnes has joined #nixos
sb0 has joined #nixos
civodul has joined #nixos
m0rphism has joined #nixos
ubert has joined #nixos
reinhardt has quit [Ping timeout: 248 seconds]
arjen-jonathan has joined #nixos
mguex has joined #nixos
kisik21 has joined #nixos
<mguex> does somebody here have a mailman 2 module / shareable config, i.e. for pkgs.mailman?
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #62572 → sndio: 1.2.0 -> 1.5.0 → https://git.io/fjEML
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjuiw
arjen-jonathan has quit [Ping timeout: 258 seconds]
ub has joined #nixos
ubert has quit [Ping timeout: 245 seconds]
ThatDocsLady_ has joined #nixos
<{^_^}> [nixpkgs] @fpletz opened pull request #62721 → pam_u2f: 1.0.8 -> 1.0.9 → https://git.io/fjui1
ThatDocsLady has quit [Remote host closed the connection]
<{^_^}> [hydra] @nlewo opened pull request #654 → Allow to search builds by hash → https://git.io/fjuiQ
<{^_^}> [nixpkgs] @vcunat pushed to master « knot-dns: 2.8.1 -> 2.8.2 »: https://git.io/fjui7
wzrd- has joined #nixos
<wzrd-> Hey. Can I install and use Nix as a non-root user? I don't have root access.
inquisitiv3 has joined #nixos
<Taneb> wzrd-: the answer to that I think is "kind of"
<Taneb> If you can get an admin to create the /nix directory with you as the owner, then you can install single user nix
<wzrd-> Ah, hm
<wzrd-> don't think they'd go for that unfortunately
<Taneb> You can also install single user nix with a different store path, but then you can't use any binary caches
<Taneb> I don't know how to do that, though
<wzrd-> no worries
<wzrd-> thanks :)
hmpffff has quit [Quit: nchrrrr…]
<wzrd-> thanks goibhniu1
<{^_^}> [nixpkgs] @xrelkd opened pull request #62722 → cargo-bloat: 0.6.4 -> 0.7.0 → https://git.io/fjuix
fendor_ has joined #nixos
knupfer has joined #nixos
sb0 has quit [Quit: Leaving]
adamantium has joined #nixos
inquisitiv3 has quit [Ping timeout: 248 seconds]
ericsagnes has quit [Ping timeout: 252 seconds]
qubasa_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
tarruda1 has joined #nixos
zupo has joined #nixos
<tarruda1> what initramfs generator is used by nixos?
zupo_ has joined #nixos
<tarruda1> I have a custom dracut module that I use to boot linux distros from arbitrary directories in the filesystem, any pointers on getting it to work on nixos?
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/1a27474d474 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> [nixpkgs] @tokudan opened pull request #62723 → vim: 8.1.1234 -> 8.1.1365 [security] → https://git.io/fjuPZ
zupo has quit [Ping timeout: 248 seconds]
arjen-jonathan has joined #nixos
knupfer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #62724 → vimPlugins: Update → https://git.io/fjuPR
ericsagnes has joined #nixos
MmeQuignon has quit [Ping timeout: 246 seconds]
MmeQuignon has joined #nixos
dahirsch has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
MmeQuignon has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #62485 → nextcloud: 15.0.8 -> 16.0.1 → https://git.io/fjEuO
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjuPo
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #62725 → gotools: 2019-05-24 -> 2019-06-03 → https://git.io/fjuPK
<dahirsch> hi, im trying to manage a debug build of openssh outside of the nix store. after googling around i have found have to override the compile flags. i just have no idea how to "fork" the openssh package into a new package "openssh-debug". im trying to replicate the first approach of https://sandervanderburg.blogspot.com/2014/07/managing-private-nix-packages-outside.html . can someone give me a hint?
hmpffff has joined #nixos
clacke_movim has joined #nixos
fendor_ has quit [Ping timeout: 245 seconds]
knupfer has joined #nixos
<tobiasBora> Hum...
slyfox has joined #nixos
<edef> dahirsch: any reason `enableDebugging openssh` doesn't do what you want?
<tobiasBora> I tried to write a simple derivation for a closed source program that uses autoPatchelfHook. Everything seems to work, but I would like to make sure that it matches the "good practice" of nixos. Especially that the buildinputs/nativebuildinputs are the good one.
<tobiasBora> The derivation is here https://paste.debian.net/1086356/
<tobiasBora> could someone just give it a look and let me know if everything looks good?
<tobiasBora> More precisely, I'm not 100% sure about the place of dpkg
<tobiasBora> On skype page, they put dpkg in buildInput, but for me this is required only at compilation, so it should be in nativeBuildInput. Am I right, or did I missed something?
<dahirsch> edef: this enables debug symbols in the binary. openssh has several debug #ifdefs in its source which enables debug printing. thus i want to create a debug version which has these ifdefs defined
<tobiasBora> I'm also not sure if it's a good practice to specify glibc in buildInputs, because it also seems to work without it, but the program requires some library like libpthread.so.0. What is the "good practice"?
alp has quit [Remote host closed the connection]
<tobiasBora> and finally in buildInputs I use gcc-unwrapped because the program requires libpthread.so.0, but this -unwrapped looks a bit strange to me, so I'd like to make sure it's the way to go.
<{^_^}> [nixpkgs] @jtojnar opened pull request #62726 → zathura: pass gsettings schemas → https://git.io/fjuP7
<{^_^}> [nixpkgs] @abbradar merged pull request #62691 → spidermonkey_60: 60.4.0 -> 60.7.0 → https://git.io/fjuE6
knupfer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @abbradar pushed commit from @dtzWill to master « spidermonkey_60: 60.4.0 -> 60.7.0 »: https://git.io/fjuPF
<edef> dahirsch: ah
fendor_ has joined #nixos
<edef> dahirsch: so NIX_CFLAGS_COMPILE+=-DDEBUG or sth
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/df3ec3a9624 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
o1lo01ol1o has joined #nixos
<dahirsch> edef: exactly, i just dont know how to write the new openssh-debug.nix so that everything is the same except the package name and the cflags
<edef> dahirsch: ah
<edef> sec
<manveru> is there some easy way to specify different keyboard settings when i plug in different keyboards?
<edef> i have a hacky system for this but it's not very good
<edef> and i haven't integrated it with udev
<manveru> mostly running setxkb`
<manveru> argh
<edef> but my USB keyboard is Dvorak/RU and my laptop keyboard is QWERTY/RU/Dvorak
<manveru> using setxkbmap myself, but that conflicts with fcitx
<gchristensen> X can take keyboard specific configuration
<manveru> for each?
<gchristensen> yea
<manveru> ah cool
<gchristensen> one minute
alp has joined #nixos
MmeQuignon has joined #nixos
<gchristensen> https://github.com/grahamc/nixos-config/blob/master/devices/morbo/configuration.nix#L152-L157 here I set my yubikey to US (qwerty) despite my system being dvorak
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<manveru> sweet :)
<manveru> now i just need to get those identifiers
<gchristensen> I forget how to get those ...
<edef> hmm
<manveru> got 4 different keyboards, english, japanese, german :|
<gchristensen> hehe I also have a mess of keyboards
<gchristensen> my maltron right handed for example has to be interpreted as US, too
qubasa has joined #nixos
<gchristensen> :/ I forget the command (I don't use Xserver...)
<edef> dahirsch: https://clbin.com/rVkZb this should work?
<manveru> gchristensen: guess it's from lsusb
<nschoe> manveru, gchristensen wouldn't a combination of `xinput list` (to get <id>) and `xinput -list-props <id>` give you the identifier?
<dahirsch> edef: thanks! that looks simple :O, just putting it into a file or how to i evaluate it?
<edef> dahirsch: you can use callPackage to invoke it
<edef> dahirsch: callPackage ./foo.nix {}
<edef> dahirsch: the {} allows you to override things
<edef> dahirsch: so you can provide it with additional args
<dahirsch> edef: ill give it a try
ghasshee has joined #nixos
knupfer has joined #nixos
fendor_ has quit [Ping timeout: 268 seconds]
ericsagnes has quit [Ping timeout: 258 seconds]
<manveru> nschoe: probably :)
<manveru> will try messing with this tonight
buffet_ is now known as buffet
<nschoe> k
<{^_^}> [nixpkgs] @fpletz merged pull request #62721 → pam_u2f: 1.0.8 -> 1.0.9 → https://git.io/fjui1
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fjuXI
<{^_^}> [nixpkgs] @romildo merged pull request #62673 → mate.mate-user-share: add dbus-glib dependency → https://git.io/fjuB6
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/fjuXq
dsx has quit [Quit: dsx]
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @talyz opened pull request #62727 → nomachine-client: 6.6.8 -> 6.7.6 → https://git.io/fjuXZ
dsx has joined #nixos
adamantium has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #62570 → slurm: 18.08.7.1 -> 19.05.0.1 → https://git.io/fjEMe
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fjuXz
ricekrispie has joined #nixos
<tobiasBora> In buildFHSUserEnv, there is multiPkgs: Packages to be installed for all architectures supported by a host (i.e. i686 and x86_64 on x86_64 installations). Only libraries are installed by default.
DerGuteMoritz has quit [Ping timeout: 252 seconds]
<tobiasBora> But when I put dpkg into this multiPkgs, I can actually call dpkg, while it's not a library
<tobiasBora> so I don't get it: multiPkgs is supposed to deal only with libraries or also with binaries??
sjourdois has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
<dahirsch> edef: its working, took me a while to figure out how to even callPackage '^^, now i just have to change the package name
hmpffff has quit [Quit: nchrrrr…]
stramble-M has quit [Remote host closed the connection]
stramble-M has joined #nixos
<edef> dahirsch: name = "openssh-debug-${attrs.version}";
<dahirsch> edef: thanks again, i need to learn nix properly...
<{^_^}> [nixpkgs] @abbradar pushed to revert-62691-update/spidermonkey_60.7.0 « Revert "spidermonkey_60: 60.4.0 -> 60.7.0" »: https://git.io/fjuXd
<{^_^}> [nixpkgs] @talyz opened pull request #62728 → firefox-wayland: Add missing dependency libglvnd (libEGL) → https://git.io/fjuXF
<{^_^}> [nixpkgs] @abbradar opened pull request #62729 → Revert "spidermonkey_60: 60.4.0 -> 60.7.0" → https://git.io/fjuXb
<{^_^}> [nixpkgs] @abbradar merged pull request #62729 → Revert "spidermonkey_60: 60.4.0 -> 60.7.0" → https://git.io/fjuXb
<{^_^}> [nixpkgs] @abbradar pushed to master « Revert "spidermonkey_60: 60.4.0 -> 60.7.0" »: https://git.io/fjuXN
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @wiedzmin opened pull request #62730 → git-quick-stats: init at 2.0.8 → https://git.io/fju1I
fendor_ has joined #nixos
<manveru> tobiasBora: i'd assume it's for both, based on the name
<manveru> but easiest is to check the code... :)
* manveru never trusts docs
fendor_ has quit [Ping timeout: 272 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Ping timeout: 248 seconds]
Jetien_ has quit [Ping timeout: 248 seconds]
mariel__ has joined #nixos
<{^_^}> [nixpkgs] @ivan opened pull request #62731 → libmatroska: 1.5.0 -> 1.5.2 → https://git.io/fju16
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/fju1X
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-19.03: https://git.io/fju1y
ericsagnes has quit [Ping timeout: 258 seconds]
ThatDocsLady_ has quit [Ping timeout: 272 seconds]
<rprije> I seem to be unable to download stuff within my builder script. Two questions: is it expected that things like name resolution fail within the build environment b) is there some sort of buildInput I can add to make it possible?
<rprije> I suppose it makes sense if it's not allowed given it screws up reproducable builds. Just wondering if there's common work arounds.
ghasshee has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nshalman opened pull request #62732 → jsonnet: 0.12.1 -> 0.13.0 → https://git.io/fjuMt
brejoc has quit [Quit: Leaving]
<manveru> rprije: the "workaround" is to provide hashes for what you want to download, and put it there beforehand
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #62567 → shairport-sync: 3.2.2 -> 3.3 → https://git.io/fjE1P
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « shairport-sync: 3.2.2 -> 3.3 (#62567) »: https://git.io/fjuM4
<rprije> manveru, actually, bundix is the reason I wanted to do this (I believe you're the maintainer?) I really wanted to generate gemset.nix via a derivation to automate away the updating of it. I saw mkYarnPackage looked like it achieved something like that.
mkaito- has joined #nixos
<manveru> yes, because the yarn.lock has checksums...
<manveru> Gemfile.lock doesn't
mkaito- is now known as mkaito
mkaito has joined #nixos
mkaito has quit [Changing host]
ghasshee has joined #nixos
<rprije> I see :(
<rprije> Thanks for the explanation. And thanks for bundix!
<manveru> i mean, in theory you can have one checksum on top of calling bundle install, but that means that bundler would have to be deterministic, and not every gem could be built as a separate package
<manveru> so if you change one dependency, everything has to be rebuilt
<manveru> no problem, we're working on better ways to do this stuff :)
__monty__ has quit [Quit: leaving]
<rprije> I hope it works out. Goodnight.
<ghasshee> Hi, I opened sagemath notebook on 19.03 and got errors : https://gist.github.com/ghasshee/0c9e27d411931a278135b054344d14dc
<ghasshee> Does anyone know how to fix this ?
MmeQuignon has quit [Read error: Connection reset by peer]
rprije has quit [Ping timeout: 248 seconds]
fendor_ has quit [Ping timeout: 268 seconds]
DerGuteMoritz has joined #nixos
MmeQuignon has joined #nixos
<tobiasBora> manveru: ahah thanks ^^
<{^_^}> [nixpkgs] @matthewbauer merged pull request #53013 → betaflight-configurator: init at 10.5.1 → https://git.io/fhIsa
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to master: https://git.io/fjuDT
<tobiasBora> I just discovered the really nice "steam-run" that build a FHS system with lot's of default libraries
<tobiasBora> However, I'm curious: is it possible to use it to package a derivation?
ericsagnes has joined #nixos
<tobiasBora> I mean, to create a new derivation based on steam-run that eventually copy a file in /bin, and then run this file?
ryantrinkle has joined #nixos
<tobiasBora> as a first step I tried something as simple as "let pkgs = import <nixpkgs> {}; in pkgs.steam-run", but it wants to install the full steam, which I don't want
mariel__ has quit [Read error: Connection reset by peer]
mariel__ has joined #nixos
<{^_^}> [nixpkgs] @layus opened pull request #62733 → qtikz: unstable-20161122 -> 0.12 → https://git.io/fjuDZ
MmeQuignon has quit [Read error: Connection reset by peer]
<Baughn> tobiasBora: Possible but discouraged. It's almost always overkill.
<Baughn> Since it's basically the union of every possibly-applicable library.
endformationage has joined #nixos
<Baughn> It's called steam-run, but it's more... ubuntu-run.
<Baughn> If you _must_ have a FHS chroot for your program, I would suggest a custom buildFHS call. Preferably don't, and use patchelf instead -- better yet, autoPatchelf.
<Baughn> (There's a pretty significant setup cost to invoking FHS.)
<tobiasBora> Baughn: very interesting.
<tobiasBora> I'm curious to see the "quick and dirty" way to overwrite steam-run.
<Baughn> "Overwrite"?
<pie__> he just wants a modified steam run
<pie__> with his own stuff in it
<Baughn> buildFHSEnv.
* pie__ looks at the steam-run code
<NYXT> I'm writing a package locally (which I'm new to) and having an issue where when I enter a shell with my package, the binary (copied into $out/bin) cannot be executed, instead I get a "no such file or directory", it has r-wr-wr-w permissions. It seems that whatever permissions I set it to while building get reset. I'm sure I've done something wrong somewhere, any ideas?
MmeQuignon has joined #nixos
<Baughn> tobiasBora: ^ This is how you can create a custom FHS environment. Just remember, it slows program startup by a lot.
<NYXT> (sorry, that should be r-xr-xr-x)
<Baughn> Not really a problem for a long-running one, I guess.
<pie__> Baughn, the point would be that he doesnt have to figure out what dependencies he needs i imagine
<pie__> once stuff works you can whittle it down later? :P
<Baughn> pie__: autoPatchelf is great for that.
<pie__> you still have to figure out the deps though. or i guess you could just copy everything from steam run
<pie__> the implementation looks a bit complicated though
<Baughn> Nah, it'll tell you the deps. :P
schjetne has quit [Ping timeout: 258 seconds]
toppler`` has quit [Ping timeout: 244 seconds]
<Baughn> https://github.com/NixOS/nixpkgs/pull/61543/files <- Here's an example of how to use it.
<Baughn> If you miss a relevant buildInput, the build will fail.
<Baughn> (And tell you what you missed.)
MmeQuignon has quit [Read error: Connection reset by peer]
<Baughn> (Do be aware, the code in that PR is buggy. I've fixed it locally, but was still waiting on a response from the author.)
<pie__> Baughn, oh i didnt know it does that
<Baughn> pie__: Yeah, don't _copy_ it. Use buildFHSUserEnv, or if that doesn't work, steam-run. Or just autoPatchelf it.
<Baughn> steam-run does a bunch of extra stuff that's not usually necessary.
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<tobiasBora> Baughn: yes, I'm now aware of FHS. The problem of FHS is that you need to find all the libraries, and it takes time (the only method I found is to use nix-locate, if you have better ways let me know!), so I'm curious to kow if there is a quick-and-dirty solution that just plug a program into steam-run directly. I'm asking because I'm trying to review all the possible methods here, with the advantages/drawbacks
<Baughn> tobiasBora: I mean, sure.
<Baughn> #!/usr/bin/env nix-shell
<Baughn> #!nix-shell -i bash -p steam-run
<Baughn> exec steam-run [your program here] "$@"
<pie__> i have never seen addAutoPatchelfSearchPath before
<pie__> woo undocumented functions
<Baughn> It's documented, just not in the nixpkgs manual.
<Baughn> (It's documented in the autoPatchelf derivation.)
<tobiasBora> Baughn: when I do that I've an error "Package ‘steam-runtime-2016-08-13’ has an unfree license, while I can install steam-run without any issue. Do you know what's wrong?
<gchristensen> what does that do :o
<Baughn> gchristensen: Adds a directory to autoPatchelf's search path. Handy when (in this case) I wanted to link adom to the libnoteye copy it ships with.
<Baughn> tobiasBora: Mm. At a guess, you have unfree code enabled in configuration.nix?
<Baughn> That doesn't affect user invocations of nix-shell/nix-env. You need to set it in ~/.config/ for that.
<tobiasBora> Baughn: and don't but I don't want to allow unfree code. steam-run does not require that right?
toppler`` has joined #nixos
<tobiasBora> s/and don't/I don't
<tobiasBora> oh
<tobiasBora> indeed I have it in configuration.nix, but not in ~/.config
<tobiasBora> But why does it require non free?
<Baughn> Because it's the union of every possibly useful library.
<tobiasBora> Baughn: and some of these useful libraries are non free I guess?
<Baughn> That would be my guess.
reinhardt has quit [Quit: Leaving]
<Baughn> If that's a problem then, well, if whatever you're running isn't itself closed source then it's probably easy to compile naively.
<Baughn> *natively
<simpson> tobiasBora, Baughn: At a glance, I think that it's the `steamrt` libs that are being used by steam-run and which are unfree; a comment in there suggests that the unfree code comes from nVidia.
<tobiasBora> Baughn: sure. It's just that I was afraid to have the full steam installed, as I had no warning with nixos-rebuild
<tobiasBora> simpson: thank you!
<Baughn> Warning? Of what?
<tobiasBora> Baughn: about non-free install.
<Baughn> If you want to avoid that, just remove the line enabling it.
<tobiasBora> Baughn: if I want to add more libraries/stuff to steam-run, I can also?
<Baughn> With difficulty. I'd really recommend one of the other methods.
<tobiasBora> Ok thanks
<tobiasBora> what make it hard to do? (despite the fact that it's not recommended)
MmeQuignon has joined #nixos
emptyflask has joined #nixos
ericsagnes has quit [Ping timeout: 258 seconds]
<pie__> tobiasBora, just making sure, you know unfree means unfree as in not-GPL-kind-of-free right?
<Baughn> It's a complicated system of derivations, with multiple wrappers. It's not meant to be overridden from the outside, since its purpose is purely to duplicate the steam environment.
<{^_^}> [nixpkgs] @alexarice opened pull request #62735 → adga-stdlib: 1.0 -> 1.0.1 → https://git.io/fjuyn
<Baughn> It's a tool, not a library.
<tobiasBora> pie__: no I didn't. So for example zfc is nonfree?
<Baughn> Zfc?
<tobiasBora> zfs maybe ^^
<{^_^}> #18557 (by Jookia, 2 years ago, closed): Define what unfree means
<Baughn> ZFS is gpl-compatible.
<Baughn> Probably.
<tobiasBora> Baughn: I though it was not, and therefore was not included in debian
<gchristensen> it a debated point, but it is definitely free
<Baughn> Ubuntu disagrees. :v
<simpson> Sure. Whether or not something is "unfree" doesn't matter; what matters are the specific rights granted in each license.
<pie__> oh no what have i started again xD
sb0 has joined #nixos
<tobiasBora> gchristensen: yes it's free. But pie__ was mentionning GPL-kind-of-free so I was thinking that it may not be included to avoid any conflict :P
<simpson> Saying "free" and "unfree" is easy shorthand to indicate that the freedoms or rights granted to people by a copy of the software are innate within the copy, and thus it is *only* the license which prevents us from using the software.
<pie__> tobiasBora, gpl was arbitrary, i was more trying to emphasize that its about licensing
<tobiasBora> oh, sure
<gchristensen> tobiasBora: that was a misnomer :P
<pie__> i was just surprised you were surprised that steam tries to pull in unfree stuff
<simpson> We could remove the word entirely and only say "redistributable", "copyable", etc., but enumerating the positive rights is impossible (there's indefinitely many!) so instead we enumerate what is forbidden: "unredistributable", etc.
<pie__> or whatever
<tobiasBora> pie__: I'm not surprised about steam, I just didn't tought that steam-run could pack unfree stuff, and I was afraid to install the full steam
<tobiasBora> simpson: makes sense
<tobiasBora> Baughn: ok I see, thank you!
<tobiasBora> Also, coming back to steam-run, any idea why it nevers starts the GUI when I try to use it with teamviewer?
<pie__> i think teamviewer is packaged?
Matthieu_ has joined #nixos
arjen-jonathan has quit [Ping timeout: 272 seconds]
zorro1318[m] is now known as jgosset[m]
<tobiasBora> pie__: sure, but I just want to do some tests to check if steam-run works as well as it pretends to ;)
<pie__> ah ok
MmeQuignon has quit [Ping timeout: 268 seconds]
<tobiasBora> Here is how I tried: https://paste.debian.net/1086380/
Ariakenom has quit [Quit: Leaving]
<tobiasBora> and ps aux shows me: me 3446 0.0 0.0 1184600 7212 pts/4 Sl 16:56 0:00 /tmp/tw/teamviewer/tv_bin/teamviewerd -n -f
fendor_ has joined #nixos
<tobiasBora> ah, when I try teamviewer license accept, I have an error /tmp/tw/teamviewer/tv_bin/teamviewer-config: error while loading shared libraries: libQt5Quick.so.5: cannot open shared object file: No such file or directory
boothead has joined #nixos
<tobiasBora> so I guess steam-run is not yet perfect :P
<{^_^}> [nix] @edolstra pushed to lazy-flakes « Move flake-related stuff to src/libexpr/flake »: https://git.io/fjuyd
bob_twinkles has joined #nixos
<boothead> Hey folks. Is there anything special you have to do to get docker build running on nixos? Whenever I try and build an apt based image it fails to update on what looks like a DNS type error on apt-get
eyJhb has quit [Quit: Bye]
eyJhb has joined #nixos
<manveru> boothead: should work usually
<manveru> virtualisation.docker.extraOptions = "--dns 1.1.1.1";
<manveru> you could try that though, if you have some weird host dns
<manveru> for whatever server you want to use
<alexarice[m]> is there a nice way to make a package which is just a symlink to some other file in the nix store
hyper_ch2 has quit [Ping timeout: 256 seconds]
<boothead> thanks manveru !
erasmas has joined #nixos
<boothead> That didn't seem to work: Temporary failure resolving 'archive.ubuntu.com'
fendor_ has quit [Ping timeout: 258 seconds]
<Baughn> alexarice[m]: symlinkJoin maybe?
<Baughn> Or linkFarm, depending.
<alexarice[m]> is that in trivial builders?
<Baughn> The first merges package trees with symlinks. The second just creates a package consisting of named links. And yes.
<manveru> boothead: that's strange, never had that happen to me
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @benley merged pull request #62732 → jsonnet: 0.12.1 -> 0.13.0 → https://git.io/fjuMt
<{^_^}> [nixpkgs] @benley pushed commit from @nshalman to master « jsonnet: 0.12.1 -> 0.13.0 (#62732) »: https://git.io/fjuSm
<kraem> tried googling but couldnt find anything; can i see configuration.nix for certain generations?
<nschoe> kraem, I'd like that, too. Currently I manually commit on a private git repo my configuration.nix :/
<Baughn> kraem: Only if you bake the configuration.nix itself into the system, which doesn't happen by default.
mariel__ has quit [Remote host closed the connection]
ThatDocsLady_ has joined #nixos
<Baughn> `environment.etc.nixos.source = ./.;` for instance.
<Baughn> (This depends on /etc/nixos not already existing.)
joalbertz has joined #nixos
joalbertz has left #nixos [#nixos]
ericsagnes has quit [Ping timeout: 272 seconds]
dahirsch has quit [Ping timeout: 252 seconds]
fendor_ has joined #nixos
<tobiasBora> Hum...
<tobiasBora> Is there a writeScriptBin that takes depends?
<Baughn> tobiasBora: Not applicable. buildInputs only matters for e.g. autoconf and other supported build systems.
<Baughn> For a shell script, just put `${pkgs.less}/bin/less foo` in the script, or whatever.
hmpffff has quit [Quit: nchrrrr…]
<tobiasBora> Baughn: oh, good point
<tobiasBora> thanks
<Baughn> What you need to understand is that there's a separate phase for discovering dependencies at the end of the build, which has nothing to do with buildInputs.
<Baughn> It essentially greps the derivation output for /nix/store references.
<{^_^}> [nixpkgs] @marsam merged pull request #62667 → python: sh: fix (patch a test to be able to install again) → https://git.io/fjuCc
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjuSP
fendor_ has quit [Ping timeout: 248 seconds]
<tobiasBora> Baughn: not sure to follow, you mean to solve the ${pkgs.less} references?
<Baughn> tobiasBora: The Nix language, when evaluating strings, resolves references like ${pkgs.less} to a path under /nix/store -- copying files into the nix store if necessary.
<Baughn> writeScriptBin then writes that text into a script.
<Baughn> Then, after the build is completed, the build daemon searches the output directory for references to /nix/store, and updates the dependency database (sqlite DB) based on that so GC will work correctly.
mariel__ has joined #nixos
<Baughn> So your ${less}/bin/less reference will remain valid until the package it's *in* is GC'd.
ThatDocsLady_ has quit [Remote host closed the connection]
<boothead> manveru: yeah it's weird alright!
<Baughn> tobiasBora: Make sense?
<tobiasBora> Baughn: hum... I think yes. Grepping the output directory looks a bit dirty to me, but why not. I thought it uses the function input to determine the dependency
<tobiasBora> so it means that if my binary is compressed in a strange way that hide the /nix/store references, some deps could be garbage collected??
<Baughn> I suppose that would be implied.
<Baughn> This is how it was explained to me. I could believe _both_ being used.
<tobiasBora> Baughn: ok interesting. if someone has more details I'm interested!
<Baughn> To be fair, the /nix/store paths are SHA hashes. You'll never encounter one by accident.
<tobiasBora> Baughn: yes, the problem to me is more in the other way, it could be possible to miss one
<Baughn> I tried reading the code once, but it's Scary C++.
<tobiasBora> like, let's imagine that I compress all my shell scripts to gain in space, and that when a shell script should be executed, it's temporary uncompressed.
<tobiasBora> ahah$
<Baughn> I'd encourage using filesystem-level compression instead. ;-)
<tobiasBora> Baughn: I'm not pretending it's a good idea, I'm just imaginating strange behaviour that could be a problem. Imagine that we encrypt the binaries if you want a more plausible usecase ;)
<tobiasBora> (still not super frequent, I admit)
boothead has quit [Quit: Page closed]
<Baughn> Ye~s, I imagine in that case you'd need to add a plaintext file just listing references.
<tobiasBora> Baughn: ok. That's funny
<Baughn> In practice it doesn't come up.
<tobiasBora> Baughn: Let me write some crazy software to make this append :P
emptyflask has quit [Ping timeout: 248 seconds]
<tobiasBora> I guess it makes sense in practice sure
<tobiasBora> so it means buildInput/nativeBuildInput does not really matter?
<Baughn> It matters for the default builder.
<Baughn> It affects the functioning of scons, cmake, autoconf, etc. etc.
<tobiasBora> ok interesting
fendor_ has joined #nixos
fendor_ has quit [Client Quit]
<Baughn> For your shell script case, it also may add the package to the PATH of the shell script, etc. -- haven't checked that.
<tobiasBora> By the way, I need to use a dpkg-decompression before writeScriptBin. Does that mean I need to write a dummy mkDerivation that just decompress everything but nothing more, or there is a better way?
<Baughn> Just, all of these are conveniences. buildInputs isn't fundamental to the functioning of Nix, it's something layered on top.
<Baughn> Derivations are cheap. But how large is your script?
<Baughn> It isn't unusual to write them manually with cat <<EOF in installPhase, or whatever.
<Baughn> makeWrapper sometimes.
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @globin merged pull request #62731 → libmatroska: 1.5.0 -> 1.5.2 → https://git.io/fju16
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fju9B
schjetne has joined #nixos
<Baughn> tobiasBora: What buildInputs does do for you is make sure the bin/ directories of said packages are on the PATH *in the build system*.
<Baughn> So, e.g. inside installPhase.
<Baughn> That might not seem immediately useful, but it means you can use $(which hello) to get a reference to the hello package.
ghasshee has quit [Ping timeout: 248 seconds]
<tobiasBora> Baughn: really, it's in the build system? I though I understood the difference between buildInputs and nativeBuildInputs, now I'm lost again :(
schjetne has quit [Ping timeout: 268 seconds]
<Baughn> buildInputs puts stuff on the path in the build system.
<Baughn> It doesn't mean you should _run_ it in the build system. If that's the plan, then you should use nativeBuildInputs instead.
<Baughn> Anyway, that's secondary. Mostly buildInputs is for supplying libraries to autoconf and whatnot.
<Baughn> And while putting $(which hello) in a makeWrapper call can be convenient, ${pkgs.hello}/bin/hello is IMO better.
<tobiasBora> I'm really sorry, I need to go but I'll be back (and I stay connected to get the answer, I'll read themwhen I'm back). Meanwhile I made this trial, but it's not working. If you have a typical way to make it work I'm interested! https://paste.debian.net/1086427/
<Baughn> tobiasBora: You want $! ${stdenv.shell}, not ${bash}.
<{^_^}> [nixpkgs] @jtojnar merged pull request #62726 → zathura: pass gsettings schemas → https://git.io/fjuP7
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fju9y
<tobiasBora> Baughn: thank you very much for your explaination by the way, nixos is getting clearer every single day. Still need lot's of progress however, I guess I need to find some readings about the internals of nix to understand nix a bit more
<Baughn> tobiasBora: For one thing, the latter would just evaluate to the directory bash is installed in -- you'd still need to append /bin/bash.
<Baughn> Check out the Nix Pills series!
gml8 has joined #nixos
<Baughn> tobiasBora: Also, you should never use nix-shell in a derivation. That's for standalone scripts / direct command-line use.
<tobiasBora> Baughn: Ok, I made this work, thanks a lot. However I've the feeling it's not super clean, if you see some ways to improve it let me know! https://paste.debian.net/1086428/
<Baughn> tobiasBora: Furthermore, bash won't parse the nix-shell line.
<tobiasBora> Baughn: so just bash and ${steam-run}?
<Baughn> So that's just a comment. Which happens to be the right thing here, because it's not necessary.
<Baughn> Yes.
<Baughn> Well, #! ${stdenv.shell} rather.
<{^_^}> [nixpkgs] @jeromebaum closed pull request #62536 → dvc: init at 0.41.3 → https://git.io/fjE6Y
<Baughn> Do make sure to `cat` the resulting script, so you can see exactly what it's doing.
<tobiasBora> Baughn: ok thanks. Why is it better than bash?
<Baughn> It's the stdenv shell, which is in fact bash, but it'll have any customizations that happen to be necessary.
<Baughn> Which _shouldn't_ be any at all, I think. Still.
<Baughn> The point is more to avoid adding unnecessary references. The stdenv exists everywhere already.
<tobiasBora> Ok thank you. Here is the last version if anybody as remarks https://paste.debian.net/1086430/
Ariakenom has joined #nixos
<tobiasBora> I really need to go, thanks a lot, and see you soon!
<Baughn> tobiasBora: I'd use makeWrapper inside of installPhase, instead of calling writeScriptBin.
hmpffff has joined #nixos
schjetne has joined #nixos
alex`` has quit [Ping timeout: 248 seconds]
tokudan has quit [Quit: ZNC 1.7.2 - https://znc.in]
Glider_IRC__ has joined #nixos
tokudan has joined #nixos
alex`` has joined #nixos
Glider_IRC_ has quit [Ping timeout: 248 seconds]
xok has joined #nixos
<xok> hello all...
<lordcirth__> xok, hi
<xok> can anyone help me understand how to use arrays in configurations?..
<xok> do we have any of the array iterators ( for, while, foreach etc )?...
<simpson> xok: Not really. We have folds and maps instead.
<xok> simpson: any examples?.. 8-)
hmpffff has quit [Quit: nchrrrr…]
<lordcirth__> xok, what do you need to do?
<xok> lordcirth__: I want to create multiple virtualHosts inside httpd service and iterate through them...
kisik21 has quit [Ping timeout: 246 seconds]
<simpson> > map (x: x + 1) [ 1 2 3 ]
<{^_^}> [ <CODE> <CODE> <CODE> ]
<simpson> infinisil: ^^ Is this a bug or am I bad at Nix? (Or both?)
<simpson> xok: Anyway, to iterate, use `map`. You can't get an iterator, though.
drakonis_ has joined #nixos
<xok> simpson: are you familiar with nixops?..
ondrejs has joined #nixos
<tilpner> > :p map (x: x + 1) [ 1 2 3 ] # simpson
<xok> I am using a configuration to deploy a new machine with several virtualHosts inside an HTTPD...
<{^_^}> [ 2 3 4 ]
Ariakenom has quit [Read error: Connection reset by peer]
<simpson> xok: Okay. What's not working?
<xok> simpson: and I want configuration to be generated for each of them...
<ondrejs> hello, I have a newbie question. I wanted to setup Discourse, found only this https://gist.github.com/teozkr/ae017b89d4a0179ec211757aa92ff3a1 and I don't know how to use it since it does not `mkDerivation` (if it did I would use override/add package in the main config)
<xok> I just don't know how to do it...
<xok> simpson: such as DocumentRoot etc...
<simpson> xok: Map a function which builds a configuration over a list of parameters.
<lordcirth__> xok, well, do you know how to build 1 virtual host?
<simpson> Figure out how to configure just one, and then we'll go from there.
<xok> lordcirth__: yes, I do..
<xok> ok, let me show a single one...
drakonis has quit [Ping timeout: 248 seconds]
<xok> just a moment...
gml8 has quit [Quit: gml8]
gratto has quit [Ping timeout: 268 seconds]
<xok> this is an example configuration...
<xok> I want now to be able to pass a multi-dimensional array of "vhost"...
<xok> which also would have a key "webroot"...
<xok> I know PHP and will show you what I want if you understand it: $vhosts[] = [ "webroot" => "/some/directory"; ];
<lordcirth__> xok, I think you want a list of dictionaries
<gchristensen> yikes, some mirrors are reporting changed hashes for bash
<xok> probably, I am just not familiar with this kind of things in Nix...
<simpson> xok: I think that `lib.mapAttrs` is what you want. My normal technique for finding these is to read through lib/, because I can never remember the names: https://github.com/NixOS/nixpkgs/blob/master/lib/attrsets.nix#L197-L209
<gchristensen> hash mismatch in fixed-output derivation '/nix/store/q4jscbpi9r8ybgf13mn8mimqd5wwr9p4-bash-3.2.48.tar.gz': wanted: sha256:1i81scw3mnfjbmsn3cjfdancyx3d0rg8gd9hpdfng9j83dbdrs98 got: sha256:0j338b8b2wwidhk0sjbng9ykaxhrlxfr28iijpvaaav8sldji38j
<simpson> xok: services.nginx.virtualHosts = lib.mapAttrs (host: conf: ...) [ ... ];
<alexarice[m]> If something is needed in the build of a package should it always go in nativeBuildInputs
<xok> simpson: looks something very close to what I want...
<xok> how do I use those "host" and "conf" variables inside [ and ] ???...
<tilpner> gchristensen: Did you diffoscope the new one and the one from tarballs.n.o?
<alexarice[m]> Or is there some other easy way to tell whether a package is a buildInput or nativeBuildInput
<xok> and how do I pass them too?..
drakonis_ has quit [Ping timeout: 252 seconds]
<teozkr> ondrejs: it's a NixOS module, so you can add it to your `imports` to enable it
<gchristensen> tilpner: bash 3.2.48 isn't in tarballs
<tilpner> Huh, why not?
<teozkr> ondrejs: (like with the generated hardware-configuration.nix)
<gchristensen> I'm not sure tarballs was being maintained in 2009, tilpner
<ondrejs> teozkr: haha, didn't expect the author to reply :-) Thanks!
<tilpner> Oh, it's that old
<gchristensen> I'm in nixpkgs rev a5b607ef4fe
<tilpner> :/
<teozkr> ondrejs: no problem, I get a notification when mentioned :p
qubasa has quit [Ping timeout: 272 seconds]
<simpson> xok: Oh, sorry, that second parameter would be an attrset, and it'd be something like { myCoolVHost = { root = myCoolWebroot; enableACME = true; forceSSL = true; ... }; ... }
linarcx has joined #nixos
<gchristensen> ehhh linux 2.6.23.16 doesn't build from 2009 either. maybe I'll just try making a new package.
drakonis_ has joined #nixos
nschoe has quit [Ping timeout: 252 seconds]
<simpson> gchristensen: Please tell me that this is in preparation for a talk. I can even imagine the title: "Tarnished Mirrors, or: where have all the tarballs gone?"
<gchristensen> that would be a very cool talk
<pie__> simpson, hah nice title :P
<gchristensen> I will write that down :)
<gchristensen> but no, I honestly and earnestly want bash 3.2
<lordcirth__> What do you want bash 3.2 for?
Jackneill has quit [Ping timeout: 244 seconds]
<gchristensen> I want to test something against the same bash which macOS uses
<gchristensen> nix-build -E '((import <nixpkgs> {}).callPackage ./pkgs/shells/bash {}).overrideAttrs (x: { NIX_CFLAGS_COMPILE = "-Wno-error=format-security"; } )' <- this seems to do it.
<xok> simpson: uses type = types.attrsOf
<xok> simpson: where can I find how it's used?..
<xok> serverAliases for example use: type = types.listOf types.str;
<xok> and we can pass something like this: [ "www.analias.com", "www.another-alias.com" ];
<xok> I want something like that...
<xok> I just don't know how to use it...
rfold has joined #nixos
<xok> does anyone know how to use types.listOf types.str ?...
<simpson> xok: I usually use $(man configuration.nix)
Jackneill has joined #nixos
<simpson> xok: You want to create your own types, or you want to create values that match the existing types?
<xok> simpson: I want to use existing types and add my own values...
<xok> array ( listOf )...
<xok> to use use it something like this:
chramper has joined #nixos
<xok> services.nginx.virtualhosts.ARRAY_ENTRY_HERE.root = { "webroot_here" };
ambro718 has joined #nixos
chramper has quit [Client Quit]
<ambro718> I have an old channels link in /nix/var/nix/profiles/per-user/root/ containing a nixpkgs but running "nix-channel --list" as root prints nothing (I don't use channels). Why is this?
<ambro718> Can I just delete this?
<edef> an older generation, i assume?
<edef> the normal nix-env thing for deleting old generations of profiles works, i think
<ambro718> Very old (nixos-17.09). It doesn't get removed with nix-collect-garbage --delete-old.
<ambro718> I'll just rm it.
<edef> weird
<edef> nix-env -p /nix/var/nix/profiles/per-user/root/channels --delete-generations old
<edef> that definitely worked for me
<edef> (but is identical to rming it)
<edef> and thanks for reminding me i still had that kicking around q=
zupo has joined #nixos
Syr3mas has joined #nixos
<Syr3mas> How it going dev? Need help with openssl-dev, would like to install it on NixOS. Thx
sigmundv has quit [Ping timeout: 258 seconds]
<Yaniel> there are no separate dev packages on nixos
<ambro718> Not quite true, there are dev outputs.
<Syr3mas> exit
<Syr3mas> sorry wrong terminal
<Syr3mas> hold a sec ill specify
<ambro718> Syr3mas: as long as you're writing a nix package (using mkDerivation), just specify openssl in buildInputs.
ub has quit [Quit: Leaving]
<Syr3mas> error: failed to run custom build command for `openssl-sys v0.9.47` this is what am getting.
<ambro718> Where are you getting this?
fendor has joined #nixos
<ambro718> If you're doing development, you probably want to use nix-shell
alp has quit [Remote host closed the connection]
<Syr3mas> when doing a cargo test
alp has joined #nixos
<pie__> nbp, i just keep failing to get around to cleaning this up properly, i would appreciate that if you think its worth a look, youd give me some input on this?: https://github.com/deliciouslytyped/nix-rootedoverlay
<pie__> nbp, its meant to help provide a consistent interface to for example language infrastructures with interpreters (think python.withpackages)
* nbp looking
<pie__> oh that was fast :D
<pie__> my heart isnt ready
<pie__> (I *just* started reading https://github.com/NixOS/nixpkgs/pull/44196 )
<{^_^}> #44196 (by nbp, 44 weeks ago, open): Add pkgs.overrideWithScope
<Syr3mas> ill nix-shell
<Syr3mas> ill try nix-shell
<nbp> pie__: That would have been my suggestion as a related topic to read.
<ambro718> I'm not familiar with the rust stuff, but if it's in the manual it should be the right thing.
<pie__> nbp, id actually meant to poke you about this earlier but kept getting sidetracked
npmccallum has quit [Quit: npmccallum]
<nbp> pie__: So the intent is to make it possible to add packages to the fixpoint of python?
<simpson> > :p { a.b = { c.d = 2; }; } # xok: attrsets and dot-notation are equivalent!
<{^_^}> { a = { b = { c = { d = 2; }; }; }; }
<nbp> pie__: Do you have example of how to use it.
<pie__> nbp, i ...think so
thomasd has joined #nixos
<xok> simpson: thanks...
<pie__> nbp, i think i do, hold on.
dwdr has quit [Ping timeout: 245 seconds]
<nbp> pie__: I am not sure to get the 5 minutes speak yet.
<nbp> s/speak/speach/
<thomasd> I can easily create a derivation for my project /w buildInputs 'tlaplus', but there is a `toolbox.nix` file in the same package directory on github: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/science/logic/tlaplus
<thomasd> how do I get the `tlaplus.toolbox.nix` file, such that I can run a nix-shell to have access to that program?
<pie__> nbp, https://github.com/deliciouslytyped/nix-ghidra-wip/blob/master/packages.nix its not python, its a program that takes plugins
<pie__> nbp, but i dont think this actually answers your question
<thomasd> I feel like I'm missing something easy.
<nbp> pie__: I do not think I would be able to give you an answer at the moment. Can you explicit your question?
<nbp> by email
<Syr3mas> alright nix-shell did the job. Received other errors ill try to solved them. Thx
<pie__> nbp, ok, is discourse ok?
<tilpner> Oooh, whoever did the interactive daemon installation flow: Good job!
<pie__> nbp, the reason i asked is you seem to know your way around this overlays/extensibility stuff and my project is trying to improve that area. ill get back to you with a more coherent explanation then.
<pie__> nbp, theres no concrete questoin other than whether you think it makes sense overall
<thomasd> does anyone know how I can get a nix-shell with this nix derivation? https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/science/logic/tlaplus/toolbox.nix
mariel__ has quit [Ping timeout: 258 seconds]
Syr3mas has left #nixos [#nixos]
<ambro718> Where does nix store information about runtime dependencies of store paths?
<thomasd> I can easily get the tlaplus package, defined in the default.nix file of the parent directory, but I don't know how to fetch the toolbox.nix file...
<nbp> pie__: I am registered on discourse, I did not knew they had any private message system.
<pie__> nbp, i figured id start a thread but that works too. apparently now they do seem to have one.
<nbp> pie__: In your message, would you be able to describe how you solve this issue?
<pie__> or at least it looks like it has one
<pie__> its actually surprisingly simple^W short now that i go back and look at the implementation, its just all that fixepoint stuff that destroys my brain
<pie__> nbp, ok, ill get back to you "later"
<rfold> When I run "nix-shell -p zlib --run 'env | grep zlib'" it prints NIX_CFLAGS_COMPILE and NIX_LDFLAGS. Where are these variables set? I can't find anything in the source code of nix-shell (nix-build). Is it part of some shell hook somewhere?
Matthieu_ has quit [Ping timeout: 248 seconds]
<infinisil> rfold: nixpkgs sets those,
<infinisil> Not nix itself
logzet has quit [Ping timeout: 248 seconds]
<thomasd> does anyone know how I can get a nix-shell with this nix derivation? https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/science/logic/tlaplus/toolbox.nix. I can easily get the `tlaplus` package using buildInputs in my default.nix file, but how can I get the tlaplus/toolbox.nix derivation?
<rfold> They seem to be set in files typically called setup.sh or setup-hook.sh.
<rfold> I'll take a look at those.
<rfold> And at the documentation of setup hooks, so I know when and where they are invoked.
Matthieu_ has joined #nixos
<infinisil> thomasd: Do you have a local nixpkgs checkout and ripgrep (or similar) installed?
<infinisil> thomasd: If so, you can just do `rg tlaplus/toolbox.nix` in the nixpkgs root to find where it's assigned
<infinisil> Which would be to the `tlaplusToolbox` attribute
<thomasd> inifinisil: I'm on nixos, unstable
<thomasd> `error: attribute 'tlaplusToolbox' missing, at /home/thomasd/Code/LambdaConf2019/TLAPlusWorkshop/default.nix:7:31`
domogled has joined #nixos
<rfold> Ah, setupHook is sourced by the builder. And nix-shell runs inside of a builder.
<rfold> Now it makes sense.
<thomasd> inifinisil: I'm doing this currently - 'buildInputs = [ tlaplus tlaplus.tlaplusToolbox ];' how is this wrong... ?
freeman42x has joined #nixos
<pie__> nbp, i think one of the main points of my thing is to have .withPackages return an object that can be further .withPackages-ed or .extended (thats where the "rooted" comes from - some probably bad name I came up for it). It's mostly about providing a homogeneous interface to users. This also lets you chain things if for example youre using something in a library but want to still expose it to the user.
<pie__> the original goal was for creating an API that could be used across various implementations of things that needed plugins
Netsu has quit [Quit: Page closed]
<pie__> so youd provide the root package and a function implementing the "add [these] plugins to the environment", and the library is supposed to handle the rest of managing that. it takes a list of overlays which get added on top of this core functionality. these are supposed to be for providing the "plugins" that you can use in `.withPackages (p: with p; [ pluginA pluginB ])`
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #62658 → eudev: use utillinuxMinimal → https://git.io/fjuG6
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjuQZ
domogled1 has joined #nixos
domogled has quit [Ping timeout: 244 seconds]
domogled1 is now known as domogled
<infinisil> > tlaplusToolbox
<{^_^}> "<derivation /nix/store/cl6lm59hbdf989x0i1l1z35linpfbmcz-tla-toolbox-1.5.7.drv>"
<infinisil> > unstable.tlaplusToolbox
<{^_^}> "<derivation /nix/store/dd5way5fam3h74mf905nng25s3nv2q9z-tla-toolbox-1.5.7.drv>"
<infinisil> thomasd: It's not tlaplus.tlaplusToolbox, just tlaplusToolbox, or pkgs.tlaplusToolbox
thomasd has quit [Ping timeout: 256 seconds]
cmacrae has joined #nixos
<cmacrae> Hey guys o/ Where can I get the Aarch64 NixOS image for a Raspberry Pi 3 B+?
<cmacrae> Figured it'd be on the Downloads page of nixos.org, but I don't see it anywhere
shabius has joined #nixos
<gchristensen> https://hydra.nixos.org/build/94402813/download/1/nixos-sd-image-19.03.172801.1a27474d474-aarch64-linux.img this ought to do it for you, cmacrae :) (also not just guys in here ;))
Ariakenom has joined #nixos
__monty__ has joined #nixos
<cmacrae> Thanks gchristensen! Was using 'guys' as a general non-gender specific noun ;)
<gchristensen> aye, just something to keep in mind
<cmacrae> Didn't mean literally "Greetings, males!" :p
<samueldr> cmacrae: https://nixos.wiki/wiki/NixOS_on_ARM is the most up to date documentation on nixos on arm
<gchristensen> samueldr: that page is so good.
<samueldr> cmacrae: we also have #nixos-aarch64 for more in depth aarch64
<cmacrae> Very handy, thanks!
<samueldr> a good chunk written by dezgeg, re-hashed and re-worked later by myself and other aarch64 contributors
<zupo> a few notes also one https://github.com/zupo/nix
<zupo> s/one/on
reinhardt has joined #nixos
<cmacrae> Perfect, thanks again peeps. I'm moving my DHCP/DNS server over from FreeBSD on an old Pi to a shiny new one
wfranzini has joined #nixos
<gchristensen> nice, cmacrae
ris has joined #nixos
<cmacrae> :)
shabius has quit [Quit: Leaving]
gratto has joined #nixos
shabius has joined #nixos
reinhardt has quit [Quit: Leaving]
gratto has quit [Ping timeout: 272 seconds]
hmpffff has joined #nixos
bgamari has joined #nixos
toppler`` has quit [Ping timeout: 248 seconds]
Shoubit has quit [Ping timeout: 245 seconds]
toppler`` has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62333 → Build packages for config builders → https://git.io/fjEIv
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/fju7I
acarrico has quit [Ping timeout: 252 seconds]
onetom has joined #nixos
<Matthieu_> Hi everyone, I'm trying to install skypeforlinux but the package seems to be broken given that error message : «error: cannot download skypeforlinux_8.32.0.44_amd64.deb from any mirror»
<Matthieu_> Should I do something about this, like reporting a wrong URL or something ?
<rfold> I'd like to contribute a package, but the maintainer is a bit sloppy and there are no official releases or version numbers (i.e. commit hashes are the only version identifiers available). What is the policy on this regarding the version attribute to stdenv.mkDerivation, and the Nixpkgs commit message?
Matthieu_ has quit [Read error: Connection reset by peer]
npmccallum has joined #nixos
<simpson> rfold: You can pick a relatively stable commit and date and use that. I'm not sure if there's a page with a policy on this.
<{^_^}> [nixpkgs] @kalbasit merged pull request #62725 → gotools: 2019-05-24 -> 2019-06-03 → https://git.io/fjuPK
<{^_^}> [nixpkgs] @kalbasit pushed commit from @rvolosatovs to master « gotools: 2019-05-24 -> 2019-06-03 (#62725) »: https://git.io/fju7c
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b2ec3b6db2b (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<rfold> simpson: thanks, I'll use the date
Matthieu_ has joined #nixos
<onetom> im trying to expose the `aapt` command from the `androidenv.androidPkgs_9_0.build-tools` package list, but it's under a directory which includes version numbers.
<onetom> eg: /nix/store/zak5b83mqg358nbj6dsgqw8nwfmsp4sy-build-tools-28.0.3/libexec/android-sdk/build-tools/28.0.3/aapt
<Matthieu_> oops
<Matthieu_> rfold: where should I find this information ?
goibhniu1 has quit [Ping timeout: 244 seconds]
gagbo has joined #nixos
npmccallum has quit [Quit: npmccallum]
<onetom> how am i supposed to access those utilities under /libexec/android-sdk/build-tools/28.0.3/ ?
<{^_^}> [nixpkgs] @kampka closed pull request #62318 → Use cross build packages in extlinux builder when hostPlafrom differs from buildPlatform → https://git.io/fjEf1
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/40567497a94 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<onetom> i have a similar issue with `adb` too (under macOS), but it lives under and unversioned directory at least, so I can do this:
gratto has joined #nixos
<onetom> shellHook = "" + optionalString isDarwin '' export PATH="${androidenv.androidPkgs_9_0.platform-tools}/libexec/android-sdk/platform-tools:$PATH" '';
judson has joined #nixos
onetom has quit [Ping timeout: 256 seconds]
<Matthieu_> Why the skypeforlinux package is searching for the version "8.32.0.44" despite the fact that the current version is 8.45.0.41.
<Matthieu_> ?*
<Matthieu_> Nixos version is 19.03.
<{^_^}> [nixos-org-configurations] @grahamc pushed to build-clover-qcow « macs: build clover.qcow2 ourselves »: https://git.io/fju7g
domogled has quit [Quit: domogled]
juliusdeane has joined #nixos
zupo_ has joined #nixos
zupo has quit [Ping timeout: 268 seconds]
alex`` has quit [Ping timeout: 246 seconds]
<tobiasBora> Baughn: I'm not sure how I should use makeWrapper instead of writeScriptBin, and more precisely how to add the ${steam-run}/bin/steam-run before the real executable. I was thinking to use "--run ${steam-run}/bin/steam-run", but it seems that this is more to run a command before rather than just prepending the executable with this command...
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ac6e9069688 (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Baughn> tobiasBora: You just call steam-run *as* the 'real' executable.
alex`` has joined #nixos
logzet has joined #nixos
<clever> ive done similar, i cant remember which package though
<clever> oh, now i do, one min
<clever> makeWrapper ${python}/bin/python $out --add-flags ${./exchange-monitor.py}
<clever> ive made a wrapper for python, that adds a single "flag" to it
* tobiasBora is thinking
<tobiasBora> that's genius
<clever> wrapProgram is a helper, that just renames the binary, and then calls makeWrapper with the original and new name
juliusdeane has quit [Quit: ERC (IRC client for Emacs 26.1)]
<tobiasBora> and I can propagate the arguments with --add-flags \"@\"?
<clever> i believe makeWrapper always passes all other args onward
<tobiasBora> oh, great. I'll try!
<{^_^}> [nixpkgs] @Izorkin opened pull request #62737 → linux_{5_1,testing}: fix bug null pointer dereference → https://git.io/fju7i
cmacrae has quit [Ping timeout: 245 seconds]
<tobiasBora> it works, that's great :D http://paste.debian.net/1086451
<tobiasBora> thanks!
<tobiasBora> The only question I still have is if it's a good practice to put the unwrapped bin in /bin as well, because it will be shown to the user
<tobiasBora> (for now I do cp -av $out/opt/Wolfram/WolframScript/bin/wolframscript $out/bin/wolframscript-unwrapped
<tobiasBora> )
<tobiasBora> is there a better place to put these files?
<clever> tobiasBora: wrapProgram does that rename for you
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<tobiasBora> clever: oh, I though wrapProgram would have tried to create a second steam-run
<clever> yeah, in this case, it would
<clever> it cant really run X on Y while copying Y
<clever> but you could borrow the naming scheme from it
<clever> $out/bin/.wolframscript-unwrapped
<tobiasBora> clever!
kloenk_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kloenk has joined #nixos
<tobiasBora> thanks it works great
<tobiasBora> I was wondering, when I write "src= ./myfile", it creates a new derivation right
<clever> it will just copy the file, without creating a derivation
<tobiasBora> oh really? Then it sounds magic to me
<{^_^}> [nixos-org-configurations] @grahamc pushed 3 commits to master: https://git.io/fju7d
<tobiasBora> in which folder does it copy the file?
<clever> tobiasBora: /nix/store/
<tobiasBora> because when I do ls /nix/store/sc383dqh4igmprb1cb202mn6xdb9yhbs-wolframscript/ I can't see it
<tobiasBora> clever: oh, ok
<clever> tobiasBora: it will be copied to /nix/store/<hash>-myfile, based on the hash of its contents
<clever> and then $src will be that storepath
<tobiasBora> I think that I was calling everything in /nix/store a derivation
<tobiasBora> so a derivation is the .drv files that just contains the "recipe"
<clever> pretty much
<tobiasBora> ahah everybody uses *pretty* much today ^^
<tobiasBora> thanks!
<dsx> How do I test build overlay I'm working on?
lopsided98 has quit [Quit: Disconnected]
<dsx> clever: oh, cool! Thank!
<tobiasBora> Baughn: by the way, do you have a reference to a documentation about the strange behaviour of grepping the /nix/store-like stuff for garbage collection?
lopsided98 has joined #nixos
<clever> tobiasBora: nix why-depends
<Baughn> tobiasBora: The garbage collector itself doesn't do that.
<clever> yeah, that metadata is stored in db.sqlite
<Baughn> Dependencies are written into the DB in /nix/var/nix.
<clever> and generated when the build is finished
<eyJhb> Can anybody remember the command, to rebuild using a specific directory ? I remember it something like.. `nixos-rebuild -I nixpkgs=DIR boot`, but doesn't seem to work
wfranzini has quit [Ping timeout: 248 seconds]
<gchristensen> that should do it
<eyJhb> I just get `error: opening file '/home/eyjhb/projects/git/nixpkgs/default.nix': No such file or directory` :/
<tobiasBora> clever: interesting!
<tobiasBora> Baughn: indeed, thanks for the clarification
<eyJhb> I might know why now..
<Baughn> tobiasBora: I haven't found any actual documentation, but maybe gchristensen knows.
<tobiasBora> Baughn: ok, I'd be interested to understand that!
<gchristensen> eh?
<tobiasBora> so to clarify, only the grep is used, or it's a mix between grep and actual stuff like nativeBuildInput or something?
<clever> tobiasBora: it will serialize $out into a nar, and then just search that whole blob for every hash that was in the input closure
<tobiasBora> gchristensen: do you have some documentation about how internaly nix build the dependency graph? I was thinking that it was only using buildInputs or something, but apparently it's not at all ^^'
<clever> its always a subset of all inputs
<clever> it doesnt care which var you got the input from
<tobiasBora> clever: ok interesting. So it means that you cannot know the dependencies before compiling?
<clever> correct
<gchristensen> you can know that the run-time dependencies is a subset of all of the inputs, right clever?
<clever> gchristensen: yeah
<gchristensen> tobiasBora: ^ make sense?
<{^_^}> [nixpkgs] @vcunat pushed commit from @Ma27 to master « Merge #62590: vim: 8.1.1234 -> 8.1.1432 (security) »: https://git.io/fju5I
<tobiasBora> clever: and I think to remember that nix has some way to know what to recompile when a depends changes. It uses just the inputs to recompute that, or it actually use the .nar (and therefore need to first compile everything)
<{^_^}> [nix] @codetriage-readme-bot opened pull request #2924 → Add CodeTriage badge to nixos/nix → https://git.io/fju5L
<clever> tobiasBora: the $out path is based on a hash of the .drv file, which includes every build-time input, and the recipe for building it
<tobiasBora> gchristensen: yes! I was also curious to know if there are official documentation about this kind of internal gestion of nix, so that I don't bother you every time I have a question (and sometimes it helps a lot to understand these details)
<clever> tobiasBora: its less that it knows to rebuild, and more that if you change anything, the hash changes, and then it cant find $out in /nix/store/
<clever> so its just "missing" and has to be build again
<gchristensen> tobiasBora: well ... hmm how do you feel about reading the thesis ? :)
<tobiasBora> gchristensen: there is a thesis? :D
<gchristensen> yes!
<gchristensen> tobiasBora: https://nixos.org/~eelco/pubs/
<tobiasBora> gchristensen: that's great, I want it :P
<tobiasBora> thanks!
<Baughn> I'd be skeptical that it still describes the system. :P
<gchristensen> it very much describes the ideas behind the system
<Baughn> That's fair.
<Baughn> tobiasBora: There's also the Nix Pills series, which you should definitely read if you haven't already.
<Baughn> gchristensen: Anyway, I've been threatening to do this for a while, but now I'm actually scheduled to hold a tech talk on NixOS at my office.
drakonis_ has quit [Ping timeout: 248 seconds]
<Baughn> So I'm looking for inspiration. Any particularly good talks you'd want to point me at?
<gchristensen> nice
<gchristensen> I think it is possible to do a great talk on just string context tbh
<tobiasBora> clever: ok, I makes sense I guess (every new sentences help me to understand how nix works, I'll finally understand it at some points :P)
<Baughn> =_=
<gchristensen> no?
<Baughn> Would that get more people to try the OS?
<gchristensen> ah he
<gchristensen> nixos tests are pretty sweet
<Baughn> The office is full of SREs. I more or less know the approach I'm going to take.
<Baughn> ...and yes, tests are part of it.
<tobiasBora> Baughn: yes, I should read them again, I used to read them but there were a bit too much random example and not enough fondamental explanation to me, so I was a bit lost. But I should try them again now I have bit more background
<tobiasBora> (not that I don't like examples!)
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « vim_configurable: also apply the security patch »: https://git.io/fju50
ng0 has quit [Quit: Alexa, when is the end of world?]
Matthieu_ has quit [Ping timeout: 268 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @geistesk opened pull request #62738 → weechatScripts.wee-slack: 2.2.0 -> 2.3.0 → https://git.io/fju5K
<{^_^}> [nixpkgs] @vcunat closed pull request #62723 → vim: 8.1.1234 -> 8.1.1467 [security] → https://git.io/fjuPZ
knupfer has quit [Client Quit]
knupfer has joined #nixos
<tobiasBora> Baughn: the core thesis is NixOS: A Purely Functional Linux Distribution?
<tobiasBora> gchristensen*
<gchristensen> that one came later I think
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<gchristensen> ,thesis
ng0 has joined #nixos
H55434 has joined #nixos
<{^_^}> [nixpkgs] @chloekek opened pull request #62739 → adrdox: init at 20190508 → https://git.io/fju59
<tobiasBora> gchristensen: thanks!
ondrejs has quit [Quit: Page closed]
<manveru> why does https://nixos.org/nix/manual/#sec-sharing-packages not talk about signing at all?
<gchristensen> :x
nschoe has joined #nixos
hooo has joined #nixos
<hooo> Hi guys, I have a serious issue
zeta_0 has joined #nixos
<hooo> I ruined my VM with `chmod -R root:root /`
<hooo> can nixos protect me from this?
redsh has joined #nixos
<tilpner> NixOS can't fix this for you magically, no. NixOS can be configured to prevent this or help revert destructive actions like that
<hooo> tilpner, that's what I mean
o1lo01ol1o has quit [Remote host closed the connection]
<hooo> so with nixos I can just reinitialize my default system and keep all the files right?
<hooo> so I can get back the old permissions
xok has quit [Ping timeout: 272 seconds]
<clever> hooo: what exactly is "ruined" with the vm now?, how is it failing?
<tobiasBora> manveru: nixos is supposed to support signing?
<tilpner> hooo: NixOS doesn't generally set all permissions. With NixOS you could easily reinstall though, but you'd still have to manually fix unmanaged files
<hooo> it wont even start clever
<manveru> tobiasBora: in fact, it requires it for binary caches
<clever> hooo: what error does it give when starting?
<tilpner> hooo: Snapshotting filesystems like zfs can be used to rollback changes like this
<hooo> clever, I dont know, nothing
<clever> hooo: screenshot?
<tobiasBora> manveru: oh, that's great
<hooo> I'm rebooting on a website
<hooo> it's a paid VM
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
aswanson has quit [Quit: WeeChat 2.4]
aswanson has joined #nixos
drakonis_ has joined #nixos
<tobiasBora> manveru: great thanks!
gagbo has quit [Ping timeout: 268 seconds]
<tobiasBora> I don't understand, I thought that nixos had a wiki before, but it does not seem to exist anymore
<nschoe> Hey all, is there some guide/manual as to the specifics of writing nix derivation for packages that use cmake?
<clever> tobiasBora: it comes and goes
<tilpner> tobiasBora: The wiki died and reincarnated as nixos.wiki
<tobiasBora> I really think a wiki would be great, blogs are nice but they can get outdated, or simply shutdown
<tobiasBora> hum nice.
<tobiasBora> are people still using it? ^^
<clever> https://nixos.wiki/wiki/Special:RecentChanges last change was ~3 days ago
<gchristensen> the wiki has a channel (#nixos-wiki) and active edits
<tobiasBora> ok that's really nice then, I way try to help once I'm better :P And google should put the wiki in a better position!
vivi_t has joined #nixos
vivi_t has left #nixos [#nixos]
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « sword: fixup build with icu >= 61 »: https://git.io/fjudY
ilmu has quit [Ping timeout: 258 seconds]
drakonis_ has quit [Ping timeout: 258 seconds]
hmpffff has quit [Quit: nchrrrr…]
<samueldr> tobiasBora: relatedly, google apparently disappeared the nixos wiki from their index, with no way to know why :(
<samueldr> it's been close to a week since it dropped off
redsh has left #nixos [#nixos]
<mac10688> does i3 window manager replace gnome or plasma kde or does it work with those GUIs?
<mac10688> They are all window managers right?
Matthieu_ has joined #nixos
Orbstheorem has joined #nixos
<o1lo01ol1o> I have a nixops deployment to AWS defined that deploys a hydra server with one build slave and I'm not sure how to give the hydra server / user the ssh key it needs to send jobs to the build machine, is this documented somewhere?
<Orbstheorem> Hi ! How can I have vim use the system-installed aspellDicts on nixos ?
<Orbstheorem> Oh, nevermind, it was just slow xD
<simukis_> given that I do `nix-store -vvv --realise /nix/store/...` I get in log "checking substituter 'https://mysubstituter' for path '/nix/store/...'" but it seems like it fails on a particular machine while it succeeds on another.
<simukis_> how could I debug what exactly happens during that checking substituter step?
mexisme_ has quit [Ping timeout: 258 seconds]
fenedor has joined #nixos
goibhniu1 has joined #nixos
Orbstheorem has left #nixos ["WeeChat 1.8"]
fendor has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « treewide icu61+ fixes »: https://git.io/fjudw
abathur has joined #nixos
<CapsLock> I'm trying to install android-sdk tools ; but get undefined variable error ; I'm trying with androidsdk and android-sdk ; any idea to solve this please ?
hooo has quit [Quit: Leaving]
<clever> CapsLock: where did you find the name android-sdk?
<CapsLock> clever: via nix search
<clever> CapsLock: are you using the package name, or the attribute path?
<{^_^}> [nixpkgs] @risicle opened pull request #62740 → pythonPackages.spglib: add patch fixing darwin/py27 build → https://git.io/fjudP
<nschoe> CapsLock, on mine, `nix search android | grep sdk` yields nothing.
<clever> nschoe: it depends on the status of the license
<clever> nix-repl> androidenv.androidPkgs_9_0.androidsdk
<clever> error: You must accept the Android Software Development Kit License Agreement at
<clever> by setting nixpkgs config option 'android_sdk.accept_license = true;'
<clever> if you didnt accept it, the search cant find it
<nschoe> clever, oh, okay good to know. Thanks.
<tobiasBora> samueldr: it's amazing...
<tobiasBora> mac10688: I think you can do both (with more or less success)
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<tobiasBora> Is there a real image of nixos on docker to do some tests when I'm not on a nixos computer? https://github.com/NixOS/docker is only a nixpkgs, not nixos
<{^_^}> [nixpkgs] @rycee opened pull request #62741 → radeontop: 1.1 -> 1.2 → https://git.io/fjudD
<gchristensen> tobiasBora: what would the difference be?
<tobiasBora> gchristensen: hum, I don't know, maybe about services? I usually put everything in /etc/nixos/configuration.nix, and here is does not even exists. Or maybe I can enable it somehow?
<gchristensen> docker containers don't/can't run systemd, as it really isn't what docker is for
<tobiasBora> really?
<gchristensen> right
<tobiasBora> so it means I can't define services.flatpak.enable = true; and try flatpak...
<tobiasBora> and it's the same thing for everything? Like for example I can't enable ldap?
<gchristensen> you almost certainly can't run flatpak in a docker container either
<mac10688> so if i want to install iw3 for my nixos, do i just type nix search iw3?
<mac10688> and if it's not there, that means it can't be installed?
<mac10688> oh it's i3 i think nvm
<tobiasBora> gchristensen: ok interesting. Same for ldap?
<gchristensen> tobiasBora: it sounds like you might misunderstand what docker is really for
<gchristensen> usually ldap is for running a single process
<gchristensen> usually docker is for running a single process
<mac10688> ty clever
ajs124 has joined #nixos
<o1lo01ol1o> I'm still trying to get hydra the keys it needs to send build jobs to it's (ec2-deployed) build machine. Can someone tell me if the following line is on the right track? users.extraUsers.root.openssh.authorizedKeys.keys = [ ''command="nix-store --serve --write" ${resources.ec2KeyPairs.agent}''];
mexisme_ has joined #nixos
<o1lo01ol1o> It fails as the output of resources.ec2KeyPairs.agent is incorrect
<symphorien> depending on whether you use ssh or ssh-ng, the command is either nix-store --server --write or nix-daemon --stdio iirc
<nschoe> gchristensen, actually there are docker images modified to run system (for instance solita/ubuntu-systemd).
<nschoe> In case you need to test.
<gchristensen> nschoe: yikes :x
<clever> o1lo01ol1o: ive just manually created a keypair, and hard-coded its public into the nix
<clever> o1lo01ol1o: resources.ec2KeyPairs cant copy the private to the hydra machine, so its of no use here
<LnL> o1lo01ol1o: that's what I do for remote builders
<nschoe> gchristensen, I know it's not optimal and for some would even argue it doesn't make sense, but just wanted to let people know. I've used it in the past with success. Just in case :)
<clever> o1lo01ol1o: deployment.keys can be used to copy the private to the hydra when deploying
<gchristensen> thanks :)
<LnL> the authorized keys part that is
<o1lo01ol1o> gotcha, ok
<o1lo01ol1o> thanks, i'll be back in an hour!
H55434 has quit [Ping timeout: 248 seconds]
<tobiasBora> gchristensen: hum... I see. Because I was thinking to "pack" some nixos configuration into docker to be able to use nixos-like styling, and still be able to share it with anybody using docker. Too bad, but that's life :P (or maybe I can adapt stuff like https://developers.redhat.com/blog/2014/05/05/running-systemd-within-docker-container/, but maybe it does not worth it). Thanks!
gratto has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Infinisil opened pull request #62742 → haskellPackages: Don't ignore old overrides → https://git.io/fjudx
<PyroLagus> i'd like to know if there was a way to just output configuration files in a custom directory rather than /etc, so you could perhaps just overlay mount that
<gchristensen> PyroLagus: oh?
<gchristensen> configuration files don't get outputted to /etc, they go to /nix/store and then are symlinked in to place at the last moment
<PyroLagus> i think it could work on systemd distros
gratto has joined #nixos
<PyroLagus> right, symlinking into a custom dir should work too
<{^_^}> [nixpkgs] @svanderburg pushed to master « node2nix: 1.6.0 -> 1.7.0 and regenerate all Nix expressions, introduce nodePackages_12_x attribute set »: https://git.io/fjudj
<tobiasBora> gchristensen: hum, actually I read this page this afternoon but wasn't sure to see exactly what it's supposed to do. It copies the dependencies on /nix/store in the docker image basically? But if it does not allow services, I cannot use stuff like services.openldap.enable I guess, and I need to pack directly the openldap binary instead I guess
<{^_^}> [nixpkgs] @rycee pushed to master « radeontop: 1.1 -> 1.2 »: https://git.io/fjuFf
<gchristensen> you can use config.Cmd = [ "${pkgs.hello}/bin/hello" ]; and specify the command to start the service you want
<gchristensen> with all its config and parameters specified
<{^_^}> [nixpkgs] @rycee closed pull request #62741 → radeontop: 1.1 -> 1.2 → https://git.io/fjudD
<{^_^}> [nixpkgs] @geistesk opened pull request #62743 → weechatScripts.weechat-otr: init at 1.9.2 → https://git.io/fjuFk
schjetne has quit [Ping timeout: 252 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme_ has quit [Ping timeout: 268 seconds]
<tobiasBora> gchristensen: ok it can be useful! Thanks!
ddellacosta has joined #nixos
__monty__ has quit [Quit: leaving]
ng0 has quit [Quit: Alexa, when is the end of world?]
mexisme_ has joined #nixos
Matthieu_ has quit [Ping timeout: 252 seconds]
ericsagnes has joined #nixos
catern has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
<zeta_0> hello guys, do you know a really good nix package that i can use to see things about my hardware and system, and is also a gui because i want someting visual? i am running xmonad so my only way at looking at these things right now is through the terminal
mexisme_ has joined #nixos
knupfer has quit [Ping timeout: 248 seconds]
<o1lo01ol1o> clever: added the public key generated from the ec2 private.pem to the users.extraUsers.root.openssh.authorizedKeys.keys attributed in the build and server deployments but I'm getting: Aborted: cannot connect to ‘nixSlave’: hydra-queue-runner@nixslave: Permission denied (publickey,password,keyboard-interactive).
<o1lo01ol1o> do I need to associate that key with another user? hydra-queue-runner maybe?
<clever> o1lo01ol1o: hydra-queue-runner is always the one connecting to build slaves
erasmas has quit [Quit: Lost terminal]
Matthieu_ has joined #nixos
<sonercirit[m]> does anyone use qubes with nixos here?
tg has quit [Ping timeout: 252 seconds]
<nschoe> Does anyone know a clue what I should add in my derivation? I've got error 'No Python binding generator found.' in a pointed CMakeLists.txt (available here: https://github.com/ros-visualization/rviz/blob/melodic-devel/src/python_bindings/CMakeLists.txt)
<nschoe> I have no clue what those 'python binding generators' are :/
H55434 has joined #nixos
tg has joined #nixos
schjetne has joined #nixos
<simpson> nschoe: "Python binding" usually means some C code that compiles against CPython's C API. There are a couple tools that can generate those bindings; the common one is Cython.
zeta_0 has quit [Quit: break]
<nschoe> simpson, thanks for helping :) Hum so maybe addind CPython as a buildInput could work? ^^
o1lo01ol1o has quit [Remote host closed the connection]
schjetne has quit [Ping timeout: 248 seconds]
<simpson> nschoe: `python` is already CPython. CPython != Cython. In this case, it looks like the bindings are generated via some Python Qt binding; each binding of Qt comes with its own tools for the SIP files, I think? So your options would be PyQt or PySide; I'm not sure what their status is in nixpkgs.
jackdk has joined #nixos
<nschoe> simpson, okay I'm a bit lost. I'll try them, then. But how am I supposed to know?
o1lo01ol1o has joined #nixos
<simpson> nschoe: I dug into the sip/ subdirectory, and I happen to have like a decade of putting up with Python. It's not an easy thing if you don't already know about Python and Qt.
<nschoe> simpson, oh, okay. I'm lost then ^^. I know Qt, but don't know a thing about python :/
<nschoe> simpson, oh now that you are mentionning bindings, there is one dependency for the derivation I'm trying to build which is called `python_qt_binding`. I have made a derivation for it, and it seems to build okay.
<simpson> nschoe: I see that, under pythonPackages, we have pyqt4, pyqt5, pyside, and sip. I'm not seeing a $(sip) executable in any of their outputs though.
<nschoe> simpson, here is the derivation: https://github.com/nschoe/nixpkgs/blob/additionalRosPackages/pkgs/development/ros-modules/python_qt_binding/default.nix, and here is https://wiki.ros.org/python_qt_binding the doc. Now I just noticed it talked about PySide and PyQt in this...
o1lo01ol1o has quit [Ping timeout: 248 seconds]
<nschoe> How do I add a pythonPackage as a dependency in my derivation?
<nschoe> Seems like I should add pythonPackages in my deps list, and then pythonPackages.packageName in my buildInputs.
<simpson> python.buildEnv or python.withPackages will get you a coherent Python environment with all of the listed packages installed.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62312 → pythonPackages.rfc3987: init at 1.3.8 → https://git.io/fj0hg
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjuFi
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @vanschelven to master « pythonPackages.strict-rfc3339: init at 0.7 »: https://git.io/fjuFD
fenedor has quit [Read error: Connection reset by peer]
abathur has quit [Quit: abathur]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #62313 → pythonPackages.strict-rfc3339: init at 0.7 → https://git.io/fj0hM
<nschoe> simpson, thanks
<nschoe> I'm trying this
rfold has quit [Quit: WeeChat 2.4]
<tobiasBora> In a pull request, peterhoeg[m] told me "Please also run the preInstall and postInstall hooks", but I'm not sure to see what he means. My installPhase is trivial, so not sure what I need to do
linarcx has quit [Quit: WeeChat 2.4]
<{^_^}> #56933 (by tobiasBora, 13 weeks ago, open): shelldap: init at 1.4.0
<nschoe> simpson, OMG thanks you pparently solved my issue
Matthieu_ has quit [Ping timeout: 258 seconds]
<nschoe> I included `sip` from the pythonEnv and I don;t have my error anymore (though I have another :D)
<nschoe> Cool :)
ddellacosta has quit [Ping timeout: 248 seconds]
<samueldr> tobiasBora: it's to help out people overriding your derivation in the future
<samueldr> runHook preInstall and runHook postInstall at the start and end
<simpson> nschoe: Glad to hear it. This stuff can be aggravating.
<samueldr> this makes it so if I .overrideAttrs{old: { postInstall = '' some shenanigans ''; }} it works as expected
<tobiasBora> samueldr: ok thanks. It's strange that nixos does not define it automatically. It means that every derivation is supposed to write runHook everywhere?
<samueldr> yeah, and it's not exactly followed everywhere either :/
<tobiasBora> is there any reason nix does not automatically run these hooks?
<samueldr> I don't know, but my best bet would be that it's hard to do due to the implementation of hooks
<alexarice[m]> it is done automatically unless you override the install phase
<samueldr> that's the question "why isn't it done for any hooks ran via runHook" I think
<samueldr> like if I `runHook foobar` if it ran `runHook preFoobar` and `runHook postFoobar` it would be neat
zeta_0 has joined #nixos
<clever> samueldr: because pre and post have to run before and after your install code
<samueldr> clever: which could be done by the harness of stdenv.mkDerivation
<samueldr> or, more to the point, by `runHook`
<tobiasBora> clever: but wouldn't it possibly to automatically add them? it's just appending two strings, should be feasible no?
<samueldr> to consider: those with `runHook pre*/runHook post*` would have to have these hook calls removed or they would be ran twice
<samueldr> so another reason is likely to be backwards compatibility
<clever> yeah
<tobiasBora> for backward compotibility it should be possible to redefine locally runHook to nothing no?
<samueldr> what if you have `runHook fancyShenanigan` in the middle of your hook?
<samueldr> though might be possible to run any hook only once even if called multiple time...
<samueldr> ... but that would be annoying for nix-shell use
<tobiasBora> samueldr: then just check the value of the hook. If it's preInstall or postInstall, block, otherwise pass
<clever> samueldr: unpackCmd is a special hook that is ran multiple times
<samueldr> and it's not only for installPhase, so it's harder to fix right
shiver has quit [Quit: leaving]
<samueldr> clever: unpackCmd is ran through runOneHook so it would technically be workable but probably not wise
toppler`` has quit [Ping timeout: 248 seconds]
<tobiasBora> samueldr: well I guess that for every phase we can do the same trick, i.e. block the pre*/post* of the phase
nschoe has quit [Ping timeout: 258 seconds]
<zeta_0> hello guys, how do i correctly install openjdk in home.nix, there is no: programs.java.(enable,pkgs) options in the home-manager manual, these options are only globally?
Anton-Latukha has quit [Quit: Leaving.]
shiver has joined #nixos
<tobiasBora> some general questions about editing a pushRequest: should I ammend my last 2 commits and force push, or add two new commits?
TheCowGoesWoof has joined #nixos
toppler`` has joined #nixos
<TheCowGoesWoof> Hi
<TheCowGoesWoof> can anyone tell how I can use neovim instead of vim of vim_configurable?
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
TheCowGoesWoof has quit [Client Quit]
srl295 has joined #nixos
rprije has joined #nixos
Matthieu_ has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @r-ryantm to master « tbb: 2019_U6 -> 2019_U7 »: https://git.io/fjubZ
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #62578 → tbb: 2019_U6 -> 2019_U7 → https://git.io/fjEMK
<{^_^}> [nixpkgs] @pacien opened pull request #62744 → [WIP] nodePackages.matrix-appservice-discord: init at 0.5.0 → https://git.io/fjubn
schjetne has joined #nixos
mighty_vee has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #62720 → chromium: 74.0.3729.157 -> 75.0.3770.80 → https://git.io/fjuKN
<{^_^}> [nixpkgs] @andir pushed 3 commits to master: https://git.io/fjubc
<samueldr> tobiasBora: the squash the fixes into their respective commits
<tobiasBora> samueldr: ok thank you
<samueldr> tobiasBora: though when working on a WIP PR, until it's ready it's not bad to just push new commits
<samueldr> though with expectation that squashing to well delimited units is going to happen
Allen has quit [Ping timeout: 256 seconds]
<tobiasBora> oh you can squash afterwards?
zeta_0 has joined #nixos
<zeta_0> is there some instructions on how to to correctly in install java in home.nix?
<simpson> zeta_0: If you just need a JRE, then you can put the `jre` package from nixpkgs into your environment.
H55434 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #62728 → firefox-wayland: Add missing dependency libglvnd (libEGL) → https://git.io/fjuXF
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fjubB
<zeta_0> simpson: well, i just put `adoptopenjdk-bin` package in home.nix(home.packages), will this be fine because in nix options theres programs.java.(enable,pkgs) options which can only be done globally in configuration.nix, i don't see these options in the home-manager manual?
<zeta_0> simpson: to do it locally for my user that is?
<{^_^}> [nixpkgs] @andir pushed commit from @talyz to release-19.03 « firefox-wayland: Add missing dependency libglvnd (libEGL) »: https://git.io/fjubE
ddellacosta has joined #nixos
ambro718 has quit [Ping timeout: 244 seconds]
<tobiasBora> I'm supposed to disable the build of a package for darwin. is setting platforms = platforms.unix; in the meta description enough?
<zeta_0> does anyone no how to correctly install jdk in home.nix?
<tobiasBora> or maybe I should use linux
<{^_^}> [nixpkgs] @ivan opened pull request #62745 → [19.03] chromium: 74.0.3729.157 -> 75.0.3770.80 (backport) → https://git.io/fjub6
<tobiasBora> but then I disable bsd-based platforms as well...
<ivan> 19.03 users please test if chromium is functional in https://github.com/NixOS/nixpkgs/pull/62745 and leave a comment
<{^_^}> #62745 (by ivan, 1 minute ago, open): [19.03] chromium: 74.0.3729.157 -> 75.0.3770.80 (backport)
<tobiasBora> ok I found sUnix = [ isBSD isDarwin isLinux isSunOS isCygwin ];
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
thc202 has quit [Ping timeout: 268 seconds]
dansho has joined #nixos
H55434 has joined #nixos
cpc26 has quit [Read error: No route to host]
slyfox has quit [Ping timeout: 244 seconds]
cpc26 has joined #nixos
Ariakenom has quit [Quit: Leaving]
goibhniu1 has quit [Ping timeout: 258 seconds]
Matthieu_ has quit [Ping timeout: 272 seconds]
slyfox has joined #nixos
Matthieu_ has joined #nixos
<Matthieu_> Hi, is there somebody here to answer a question ?
mbrgm_ has joined #nixos
alp has quit [Ping timeout: 245 seconds]
schjetne has quit [Ping timeout: 248 seconds]
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
ddellacosta has quit [Ping timeout: 268 seconds]
<PyroLagus> just ask
<PyroLagus> don't ask to ask
<PyroLagus> it's rule #1 on irc
<Matthieu_> yup, thx
mighty_vee has joined #nixos
erudition has joined #nixos