sigmundv has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
<yegortimoshenko> mull: what chunk exactly did you copy? you need this: https://gist.github.com/yegortimoshenko/e25c23522472ed2ad6b4bcf95e584493
otherjrolfs has quit [(Ping timeout: 272 seconds)]
<mull> yegortimoshenko: yepp, exactly this one
jtojnar has quit [(Quit: jtojnar)]
MP2E has joined #nixos
<yegortimoshenko> mull: could you gist your config so i can take a look at it and see why there is an error?
simukis has quit [(Read error: Connection reset by peer)]
simukis has joined #nixos
<mull> yegortimoshenko: ... I think I have an idea what could be the reason here... I'll turn back to you if my assumption was wrong..
simukis has quit [(Ping timeout: 240 seconds)]
<mull> yegortimoshenko: yes, it works now (I imported my custom package the wrong way). great. thanks!
<mull> (will make a PR tomorrow for the 'package' option)
mull has quit [(Remote host closed the connection)]
Guest78 has joined #nixos
sary has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fahadsadah opened pull request #33022: nixos/gnome3: get keyboard layout(s) from xkb (master...patch-2) https://git.io/vbQzU
NixOS_GitHub has left #nixos []
guix2nix has joined #nixos
ottidmes has quit [(Ping timeout: 240 seconds)]
<guix2nix> Hi, I installed "firefox", I was expecting regular firefox 56, but it seems the stable channel is stuck with 56 nightly build. Am I getting the wrong package?
jtojnar has joined #nixos
<samueldr> you're getting the same thing as "normal firefox 56", except the branding
<guix2nix> samueldr: oh thanks, sorry i had missed that
<samueldr> n/p, page is quite new
<gchristensen> hi guix2nix, nixos-17.09 doesn't _quite_ have firefox 57 yet, but it will very soon. also, our build of FireFox is always called Nightly, even if it is stable due to Mozilla's licensing restrictions
<guix2nix> gchristensen: thanks, yeah i know about 57 not reaching stable channel yet. It's just that the nightly thing got me confused.
sary has joined #nixos
<gchristensen> yeah, a funny thing is they gave us permission, but chickened out when we wanted to _document_ that they gave us permission
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<samueldr> :/
<gchristensen> ehh its ok :)
i-am-the-slime has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
<pbogdan> gchristensen: have you seen https://github.com/NixOS/nixpkgs/issues/31843 ?
<gchristensen> nope
<pbogdan> or would that not be considered as sufficiently documented permission to use the official branding?
jb55 has quit [(Quit: WeeChat 1.9)]
jb55 has joined #nixos
<gchristensen> well damn, I consider that good!
<gchristensen> do we have sandboxing enabled?
<gchristensen> pbogdan: I'm going to merge https://github.com/NixOS/nixpkgs/pull/32956 unless you ask me not to
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 272 seconds)]
<pbogdan> gchristensen: still running a full rebuild of that PR but if you want to merge I'm happy to defer to your judgement
dan_b has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vbQzA
<NixOS_GitHub> nixpkgs/master a9ae16c zimbatm: doc: fix typo
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 12 new commits to release-17.09: https://git.io/vbQzx
<NixOS_GitHub> nixpkgs/release-17.09 ad1872d Piotr Bogdan: rust: add 1.19 binary distribution
<NixOS_GitHub> nixpkgs/release-17.09 99e2ccb taku0: nspr: 4.16 -> 4.17...
<NixOS_GitHub> nixpkgs/release-17.09 dbc5c71 taku0: nss: 3.32.1 -> 3.33...
NixOS_GitHub has left #nixos []
<samueldr> can I be pinged when this hits the channels, so I can update the wiki page?
<jtojnar> yegortimoshenko: how does the emoji setting combine with UI fonts other than DejaVu Serif?
<pbogdan> gchristensen: :)
<gchristensen> pbogdan: :) we have hydra for full rebuilds, and the PR is long overdue anyway. you didn't mention any serious problems you've encountered, so here we go
<yegortimoshenko> jtojnar: from my experience, disabling *all* fonts except Noto family of fonts incl. Noto Emoji was the only viable way to get emoji to work. however, you might be interested in this thread: https://github.com/googlei18n/noto-emoji/issues/36
bennofs has quit [(Ping timeout: 265 seconds)]
<samueldr> I need to check back what I did with my user's fontconfig on my laptop
<gchristensen> pbogdan: would you like to submit a PR enabling official branding? https://github.com/NixOS/nixpkgs/issues/31843#issuecomment-346372756 make sure to take a look at garbas' follow-up comment
<samueldr> I have color rendering for emojis *in google-chrome* (haven't verified chromium)
<yegortimoshenko> jtojnar: the problem is that when e.g. browsers render emoji glyphs they don't specifically ask for emoji fonts from fontconfig, which is why some emojis are overrided by dejavu family that has some black-white "emojis"
<jtojnar> need to see if fontconfig supports something like CSS web font unicode-range
jtojnar has quit [(Quit: jtojnar)]
asymmetric has quit [(Ping timeout: 252 seconds)]
jtojnar has joined #nixos
<jtojnar> I would not even mind if some emoji were black and white, I just want to avoid the characters not rendered at all
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fahadsadah closed pull request #33022: nixos/gnome3: get keyboard layout(s) from xkb (master...patch-2) https://git.io/vbQzU
NixOS_GitHub has left #nixos []
justanotheruser has quit [(Ping timeout: 265 seconds)]
ssmike has quit [(Ping timeout: 264 seconds)]
FRidh2 has quit [(Quit: Konversation terminated!)]
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #32785: elementary-gtk-theme: init at 5.1.1 (master...elementary-gtk-theme) https://git.io/vb6uF
NixOS_GitHub has left #nixos []
hamishmack has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
phdoerfler has quit [(Quit: Leaving.)]
boxofrox has quit [(Ping timeout: 260 seconds)]
boxofrox has joined #nixos
justanotheruser has joined #nixos
thc202 has quit [(Ping timeout: 240 seconds)]
chreekat has quit [(Ping timeout: 264 seconds)]
sary has quit [(Ping timeout: 260 seconds)]
sary has joined #nixos
jb55 has quit [(Ping timeout: 256 seconds)]
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #32814: build-support: clean-up fetchSvn (master...patch-1) https://git.io/vbir5
NixOS_GitHub has left #nixos []
<gchristensen> orivej: you'll be glad to know I have monitoring on some basic ofborg functions now, hopefully I'll be paged about issues before you find them :)
ssmike has joined #nixos
<orivej> gchristensen: great!
jrolfs has quit [(Ping timeout: 248 seconds)]
mog has joined #nixos
warrickmacmillan has joined #nixos
warrickmacmillan has quit [(Client Quit)]
erictapen has quit [(Ping timeout: 260 seconds)]
hamishmack has quit [(Quit: hamishmack)]
jrolfs has joined #nixos
dan_b has quit [(Ping timeout: 256 seconds)]
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
jrolfs has quit [(Ping timeout: 264 seconds)]
concatime has joined #nixos
iyzsong has joined #nixos
justanotheruser has quit [(Ping timeout: 252 seconds)]
<concatime> Does `system.autoUpgrade.channel` take double quotes?
hamishmack has joined #nixos
<concatime> Yes: https://nixos.org/nixos/manual/options.html#opt-system.autoUpgrade.channel
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #33019: Bump lhapdf, yoda, rivet (master...bump) https://git.io/vbQ0a
NixOS_GitHub has left #nixos []
mmlb has quit [(Ping timeout: 256 seconds)]
nuncanada has quit [(Read error: Connection reset by peer)]
laggy_wifi has joined #nixos
jrolfs has quit [(Ping timeout: 272 seconds)]
hamishmack has quit [(Quit: hamishmack)]
mguex has quit [(Ping timeout: 240 seconds)]
iqubic has joined #nixos
justanotheruser has joined #nixos
<iqubic> Anyone know how to get it so that I can reference specific channels in my configuration.nix?
<iqubic> I have the channel nixos-unstable added to my system.
<iqubic> I want to be able to add to my systemPackages the package nixos-unstable.stack
<iqubic> However I am getting the error "undefined variable: nixos-unstable"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #33024: openwsman: 2.6.0 -> 2.6.5 (master...u/sblim) https://git.io/vbQ2M
NixOS_GitHub has left #nixos []
<iqubic> Yes, that is what I wanted.
warrickmacmillan has joined #nixos
chreekat has joined #nixos
asuryawanshi has joined #nixos
<samueldr> hmmm, whatever I do, on 17.09 it seems fonts.fontconfig.localConf isn't used for anything?
<iqubic> Well, I tried the things in concatime link. Now I'm getting the error "Unxepected LET at such and such position"
<iqubic> I tried the last thing in concatime's link, and got that error
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33025: Update some MATE packages (master...upd.mate) https://git.io/vbQaJ
NixOS_GitHub has left #nixos []
<iqubic> I'm trying to add nixos-unstable.stack to my systemPackages in my configuration.nix
<concatime> Show me your config. at least.
<concatime> Because on my side, this config is working.
asuryawanshi has quit [(Ping timeout: 248 seconds)]
jrolfs has joined #nixos
jb55 has joined #nixos
<samueldr> ah, user error, `cd /etc/fonts` kept me in the existing folder from the previous generations
hotfuzz_ has joined #nixos
grantwu has left #nixos ["WeeChat 2.0"]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/53e6d671a96 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
jrolfs has quit [(Ping timeout: 252 seconds)]
hotfuzz has quit [(Ping timeout: 268 seconds)]
pie__ has joined #nixos
otherjrolfs has joined #nixos
mbrgm has quit [(Ping timeout: 248 seconds)]
jrolfs has joined #nixos
mbrgm has joined #nixos
markus1199 has joined #nixos
<iqubic> Just search for unstable
markus1189 has quit [(Ping timeout: 248 seconds)]
<iqubic> nix-channel --list shows nixos-unstable as a valid branch that I have added.
<iqubic> I'm getting "unexpected LET" when I try to run "nixos-reubuild switch"
<samueldr> put your let...in before the opening brace, I think
<iqubic> before the opening brace of what?
<samueldr> of the main block, sorry, that would mean between line 2 and 3
<iqubic> Oh, that makes sense
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
<iqubic> How do I format that?
<samueldr> I generally split my configuration.nix in topical files
<samueldr> but that's up to you
<samueldr> you can have a big whole pile of nix in one file
<iqubic> Now I have a different error.
<iqubic> "Unexpected IN"
<iqubic> "Expected ;"
<samueldr> need a semi-colon (;) at the end of your assignations in the let block
<iqubic> Ah.
<iqubic> I don't like nix
<samueldr> it's an acquired taste
<iqubic> I know. And I'm still acquiring it.
<iqubic> Stuff seems to compile now.
<iqubic>
<iqubic> What's the point of the {} after declaring what I want to import?
<samueldr> not sure, but I think it's a function call with an empty... uh, forgot the name
<iqubic> A function call with no parameters?
<samueldr> set!
<iqubic> What's a set?
jrolfs has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
Supersonic112 has quit [(Disconnected by services)]
<iqubic> Yeah, my configuration.nix is litered with sets.
<iqubic> In fact, you could say that it is just one giant set itself.
Supersonic112_ has joined #nixos
jtojnar has joined #nixos
Supersonic112_ is now known as Supersonic112
<samueldr> can't find an exact documentation bit about that, but the "import <nixos-unstable>" bit imports that file, and in that case, it's a function, so it's like ((import <nixpkgs>) {})
<samueldr> it's not the `import` part that makes it need the {}, but the fact that <nixos-instable> is a function
<iqubic> But nixos-unstable isn't a file. It's a channel I added with "nix-channel --add ..."
jrolfs has quit [(Ping timeout: 252 seconds)]
<samueldr> :) chevrons are magical
<samueldr> give me a sec
<samueldr> in my specific case, it resolves to a local path
<samueldr> but if you did something similar, it would resolve to the /nix/store path of the channel
warrickmacmillan has quit [(Quit: warrickmacmillan)]
otherjrolfs has joined #nixos
<samueldr> (now I'm searching through the manual)
<samueldr> so, stuff in angle brackets will resolve to paths, in the end
<samueldr> this makes `import <something>` equivalent to `import /nix/store/...-something`
<samueldr> (or any path, for what it's worth)
jtojnar has quit [(Remote host closed the connection)]
<concatime> If I have
<concatime> supportedFilesystems = [ "vfat" "xfs" ];
<concatime> and initrd.supportedFilesystems = [ "vfat" "xfs" ];
<concatime> Can I "symlink" initrd.supportedFilesystems to supportedFilesystems?
otherjrolfs has quit [(Ping timeout: 256 seconds)]
ssmike has quit [(Ping timeout: 252 seconds)]
jrolfs has joined #nixos
<samueldr> you could very well use a `let ... in` expression to do that
<samueldr> let supportedFilesystems = [ "vfat" "xfs" ]; in { supportedFilesystems = supportedFilesystems; initrd.supportedFilesystems = supportedFilesystems; }
<samueldr> not 100% sure it'll work but pretty sure
<concatime> Je vais essayer.
<concatime> Oops, I will try.
<samueldr> haha en anglais s'il-te-plait :)
<concatime> haha
<samueldr> otherwise, a recursive set may work, but I'm not sure it's good in configuration.nix to use a recursive set
<samueldr> amd just above there's the section about recursive sets
drakonis has quit [(Read error: Connection reset by peer)]
Mateon3 has joined #nixos
jrolfs has quit [(Ping timeout: 264 seconds)]
<samueldr> s/amd/and/
Mateon1 has quit [(Ping timeout: 252 seconds)]
Mateon3 is now known as Mateon1
otherjrolfs has joined #nixos
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
iqubic has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
jtojnar has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 260 seconds)]
jrolfs has quit [(Ping timeout: 260 seconds)]
concatime has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sifmelcara opened pull request #33029: crystal: 0.23.1 -> 0.24.1 (master...update/crystal-0.24.1) https://git.io/vbQwu
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
jrolfs has joined #nixos
sigmundv has quit [(Ping timeout: 272 seconds)]
warrickmacmillan has joined #nixos
warrickmacmillan has quit [(Client Quit)]
jrolfs has quit [(Ping timeout: 252 seconds)]
otherjrolfs has quit [(Ping timeout: 264 seconds)]
schoppenhauer has quit [(Ping timeout: 252 seconds)]
schoppenhauer has joined #nixos
sigmundv has joined #nixos
vod has joined #nixos
<vod> is there an API doc for lib? I see lots of comments in the code, is that it? ie, if i want to see functions in lib.strings i need to open the source and read it? or is there something easier available?
otherjrolfs has joined #nixos
jrolfs has joined #nixos
yegortimoshenko has quit [(Quit: Page closed)]
<acarrico> Huzzah! I'm off the LiveCD and onto disk. If I want to change the mount options (or something else) from hardware-configuration.nix, should I just copy the definition into configuration.nix? That is unclear in the installation manual.
noobineer has joined #nixos
noobineer has quit [(Max SendQ exceeded)]
<samueldr> you're not forced to keep it in hardware-configuration.nix, but it's meant to be a bit more portable
<samueldr> in about a year of use, I haven't had anything re-generate over hardware-configuration.nix, since I've not called nixos-generate-config on any running system
* samueldr is wondering whether this should be reviewed
<acarrico> samueldr: there is a warning not to change it there, but rather in configuration.nix. I'm guessing anything not in the top-level there falls back to imports=..., but I'm not clear if a parts of a definition can come from both places.
<samueldr> it depends on the type of the attribute, some can be defined a multiple places, some not
<samueldr> I mean, sets will always be merged (unless I'm mistaken), but the other attributes, some will concatenate, and some will error out noisily when re-defined
<samueldr> so it should be safe to add mounts elsewhere
<acarrico> I wonder if imports= part of the nix-language, or the configuration system?
<samueldr> `imports = `, with that equal is a construct of the configuration system
sary has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 260 seconds)]
sary has joined #nixos
<acarrico> So those merge semantics aren't part of the language itself.
<acarrico> I guess I'll experiment, not much to lose yet.
<acarrico> Tired of reading.
<samueldr> nah, there's not much you can do to actually hose the system :)
<samueldr> (through configuration)
<samueldr> if you stay away from bootloader options, it's all pretty safe
<samueldr> (and bootloader options will mostly only cause minor issues like not booting)
<acarrico> samueldr: :)
<acarrico> The manual should maybe switch to describing EFI boot loader as the main option. It has been a long time since I've used anything else.
jrolfs has quit [(Ping timeout: 252 seconds)]
otherjrolfs has joined #nixos
<acarrico> Same with gdisk vs. fdisk etc.
jrolfs has joined #nixos
<samueldr> yes
jb55 has quit [(Ping timeout: 240 seconds)]
<samueldr> though, there is chapter 2.1 that explains the differences
<samueldr> it possibly may be switched to default for EFI instructions, and a chapter explaining the small differences for legacy boot
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1f1081d701f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<samueldr> though, they say "you must set boot.loader.systemd-boot.enable to true"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vbQrZ
<NixOS_GitHub> nixpkgs/master 69daf12 Orivej Desh: python.pkgs.ansi: move to python-modules and fix test with python3
NixOS_GitHub has left #nixos []
<samueldr> this is a lie!, you *can* set it, or use grub still
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 4 new commits to master: https://git.io/vbQrn
<NixOS_GitHub> nixpkgs/master c92e5f8 Orivej Desh: python.pkgs.routes: update dependencies
<NixOS_GitHub> nixpkgs/master f0af122 Orivej Desh: python.pkgs.more-itertools: 2.4.1 -> 4.0.1
<NixOS_GitHub> nixpkgs/master 3f68db5 Orivej Desh: python.pkgs.cheroot: 5.8.3 -> 6.0.0
NixOS_GitHub has left #nixos []
<acarrico> samueldr: yes, but grub seems redundant.
<samueldr> to be frank, I haven't used systemd-boot yet
<samueldr> I do like the fact that grub can show a picture
<acarrico> samueldr: FYI nixos-rebuild switch refuses when fileSystems.... is defined in both configuration.nix and hardware-configuration.nix
<acarrico> So I guess the safe thing to do is move the definition and then edit.
<samueldr> possibly the leaf configuration type, so not "fileSystems", but "fileSystems."/the/same/here" (not tested obv)
<samueldr> but yes, moving it shouldn't cause any serious issues, unless you plan on generating a configuration file
jrolfs has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 264 seconds)]
<acarrico> samueldr: that seems correct, re: leaf configuration.
<acarrico> good to know.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vbQr8
<NixOS_GitHub> nixpkgs/master 9bfc02a Orivej Desh: python.pkgs.eventlib: disable check phase...
NixOS_GitHub has left #nixos []
<samueldr> thus must be be cause of: `types.loaOf`, (loaOf??) which makes those kind of options accept any name inside the sets
<acarrico> By now I'm used to nix-shell, etc., in Arch, Debian, etc., but still "nixos-rebuild switch", what a powerful thing.
<samueldr> > Multiple definitions are merged according to the value.
<samueldr> I love nixos-rebuild
<samueldr> I'm sharing configuration across workstation and laptops, it's just wonderful
<samueldr> so yeah, acarrico, my last link to the manual explains how merging can happen depending of types
<samueldr> (with the two preceding chapters)
<acarrico> Oh! It merges the filesystem options... so I've got two copies of some options in my fstab now.
<acarrico> samueldr: how do you share config? Pull it from source control?
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<samueldr> git, yeah
<samueldr> some people use a folder with one configuration per "host", and those files include other files as needed
<samueldr> and the configuration.nix file is just an import to the right config
<samueldr> that's what I'll migrate to
<samueldr> right now the configuration.nix isn't tracked but holds some host-dependent stuff
<samueldr> (which isn't great since some of the things are not in version control!)
<acarrico> very clever.
<samueldr> nah, clever does it like that: https://github.com/cleverca22/nixos-configs ;)
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 240 seconds)]
<samueldr> (some users here have common words as their nicknames, that's the joke)
<acarrico> Do you check those out right in /etc?
<samueldr> I personally do, /etc/nixos is a git repo
<acarrico> (not /those/ but yours)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vbQra
<NixOS_GitHub> nixpkgs/master 6275b08 Michael Hoang: python.pkgs.sip: 4.19.3 -> 4.19.6
<NixOS_GitHub> nixpkgs/master 67b997c Michael Hoang: python.pkgs.pyqt5: 5.9 -> 5.9.2...
<NixOS_GitHub> nixpkgs/master 9d70b99 Orivej Desh: Merge pull request #32778 from Enzime/update/pyqt5.9.2...
NixOS_GitHub has left #nixos []
squidpickles has joined #nixos
endformationage has joined #nixos
<acarrico> samueldr: thanks for the help. Time to take a break.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vbQr7
<NixOS_GitHub> nixpkgs/master 159a72b Orivej Desh: python.pkgs.bitcoinlib: support darwin
NixOS_GitHub has left #nixos []
<fearlessKim[m]> what's the best way to put a tar.gz in the /nix/store ? it is data needed to build another packaged (and in sandbox mode, the latter package can't download it). I made a derivation for it but then it tries to unpack/install it while I just want to put the thing in store
sary has quit [(Ping timeout: 248 seconds)]
sary has joined #nixos
verite has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
mizu_no_oto has joined #nixos
asuryawanshi has joined #nixos
babyflakes has joined #nixos
jrolfs has joined #nixos
<jtojnar> fearlessKim[m]: nix-prefetch-url?
jrolfs has quit [(Ping timeout: 264 seconds)]
<jtojnar> you can use nix-prefetch-url file:///absolute-path-to-file
<orivej> fearlessKim[m]: fetchurl does not unpack archives, and the call to fetchurl returns a derivation whose path is the path to the file in the store
<fearlessKim[m]> orivej: I see thanks, that solves my pb
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<jtojnar> weird, gnome3.gnome_keyring just failed in checkPhase
<jtojnar> but it succeeded on second attempt
<jtojnar> ERROR:pkcs11/gkm/test-timer.c:97:test_cancel: assertion failed: (timer != NULL) FAIL: test-timer 3 /gkm/timer/cancel
asuryawanshi has quit [(Remote host closed the connection)]
<jtojnar> non-determinism?
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<jtojnar> hmm, and the second build seems to have overwritten the log since the drv file is the same
ylwghst has joined #nixos
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 240 seconds)]
MP2E has quit [(Remote host closed the connection)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
asuryawanshi has joined #nixos
asuryawanshi has quit [(Ping timeout: 260 seconds)]
justanotheruser has quit [(Ping timeout: 252 seconds)]
asuryawanshi has joined #nixos
otherjrolfs has joined #nixos
<pie__> is there a way to create a mutable environment
jrolfs has joined #nixos
ylwghst has quit [(Ping timeout: 264 seconds)]
mingc has quit [(Remote host closed the connection)]
endformationage has quit [(Quit: WeeChat 1.9.1)]
ma27 has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 256 seconds)]
justanotheruser has joined #nixos
<orivej> jtojnar: there is one test failure on hydra too: https://hydra.nixos.org/build/66446594
squidpickles has left #nixos []
<jtojnar> ...and I keep getting mails on successes from november instead o this
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 9 new commits to master: https://git.io/vbQKR
<NixOS_GitHub> nixpkgs/master 5e38fc0 Cray Elliott: mwprocapture: 1.2.3589 -> 1.2.3773...
<NixOS_GitHub> nixpkgs/master a5d44f6 Luke Adams: wxGTK31: init at 3.1...
<NixOS_GitHub> nixpkgs/master 1e59738 Luke Adams: dolphinEmuMaster: convert cmakeFlags to list
NixOS_GitHub has left #nixos []
jrolfs has joined #nixos
otherjrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E closed pull request #31546: dolphinEmuMaster: Enable Darwin building (master...dolphin-master-darwin-enable) https://git.io/vFw02
NixOS_GitHub has left #nixos []
jrolfs has quit [(Ping timeout: 256 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
otherjrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 1 new commit to master: https://git.io/vbQKH
<NixOS_GitHub> nixpkgs/master ac4a225 Cray Elliott: mwprocapture: fix linux 4.14 patch
NixOS_GitHub has left #nixos []
otherjrolfs has quit [(Ping timeout: 264 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
berce has joined #nixos
ma27 has quit [(Ping timeout: 265 seconds)]
vod has quit [(Remote host closed the connection)]
<pie__> im trying to do this https://www.vex.net/~trebla/haskell/so.xhtml but when running build.sh i get "-r and -shared may not be used together" from ld
<pie__> obviously nix is inserting -r but idk how to deal with this
<pie__> actually...idk
<pie__> this is what fails ghc -O2 --make -fPIC -dynamic -lHSrts_thr-ghc8.0.2 -no-hs-main -optl '-shared' -optc '-DMODULE=Test' -o Test.so Test.hs
asuryawanshi has quit [(Remote host closed the connection)]
ma27 has joined #nixos
alfie has quit [(Ping timeout: 265 seconds)]
otherjrolfs has quit [(Ping timeout: 268 seconds)]
jrolfs has quit [(Ping timeout: 264 seconds)]
dywedir has joined #nixos
alfie has joined #nixos
<hyper_ch> cherrypy still errors out
asuryawanshi has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<jeaye> Seems like my activation script is deadlocking.
<jeaye> "activating the configuration..." and then nothing, where `nixos-rebuild switch` isn't using any cpu.
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 240 seconds)]
<hyper_ch> orivej: well, probably :)
<hyper_ch> orivej: opened an issue that it's not working right on unstable-small :) so I guess this might fix it
<jeaye> Looks like a `nixos-rebuild switch` which imports the hardened.nix profile can cause the deadlock.
<jeaye> hah, or it's just restarting the network and killing my sshfs mount, which locks the activation up.
rogue_koder_ has quit [(Quit: Konversation terminated!)]
LexLeoGryfon has joined #nixos
rogue_koder_ has joined #nixos
rogue_koder_ has quit [(Client Quit)]
stqism has quit [(Quit: Like 3 fire emojis lit rn 🔥🔥🔥)]
stqism has joined #nixos
stqism is now known as Guest13011
Guest13011 is now known as stqism
stqism has quit [(Changing host)]
stqism has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
orivej has quit [(Ping timeout: 265 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 252 seconds)]
danl1240 has joined #nixos
<danl1240> how do I specify the package name to nix-env -i to install?
<danl1240> (e.g. nix-shell -p python27Packages.pip works, but not nix-env -i python27Packages.pip
<danl1240> nvm 'nix-env -i nixpkgs.python27Packages.pip'
danl1240 has quit [()]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 264 seconds)]
ottidmes has joined #nixos
rct has quit [(Quit: WeeChat 1.9.1)]
aarvar has quit [(Ping timeout: 256 seconds)]
ma27 has quit [(Ping timeout: 252 seconds)]
hamishmack has joined #nixos
otherjrolfs has joined #nixos
<sphalerite> How can I force a uid change to be applied?
<srhb> sphalerite: I think by hand is the only way
<sphalerite> just realised I could just delete everything since I'm in an installer system :p
<sphalerite> but it must be getting the uids from somewhere
<sphalerite> I tried removing /var/lib/nixos/* but that didn't help
<srhb> What are you trying to change the uid of?
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<sphalerite> a couple of users, to match up with the preexisting debian system on the same machine
<sphalerite> deleting everything worked though :p
jrolfs has joined #nixos
simukis has joined #nixos
ylwghst has joined #nixos
jrolfs has quit [(Ping timeout: 252 seconds)]
ssmike has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
oida has joined #nixos
ma27 has joined #nixos
Itkovian has joined #nixos
otherjrolfs has joined #nixos
oida has quit [(Client Quit)]
ilyaigpetrov has joined #nixos
oida has joined #nixos
siel has quit [(Ping timeout: 265 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
dywedir has quit [(Remote host closed the connection)]
siel has joined #nixos
<pie__> i tried nix-shell -E 'with import <nixpkgs> {}; callPackage ./default.nix {}' but that doesnt actually seem to result in the build going throuhg, it just downloads the deps
<pie__> ...looks like i just needed to add parenthesis :P
oida has quit [(Quit: WeeChat 1.6)]
<Enzime> pie__: you can also just do nix-shell in a folder where it's called default.nix
<Enzime> otherwise nix-shell <filename>
<pie__> i tried that but it didnt work.... :/
ylwghst has quit [(Ping timeout: 252 seconds)]
<pie__> error: cannot auto-call a function that has an argument without a default value (‘stdenv’)
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 252 seconds)]
otherjrolfs has joined #nixos
astsmtl has quit [(Ping timeout: 248 seconds)]
cinimod has joined #nixos
<cinimod> I just type nix-env -i thinking it would tell me what packages I had installed. Instead it has now installed a large amount and also failed :(
<cinimod> typed
otherjrolfs has quit [(Ping timeout: 264 seconds)]
<srhb> cinimod: nix-env -q will show you your user env installed packages.
<srhb> nix-env -i will install all of nixpkgs (well, no, because it will fail, but...)
<cinimod> Phew - nix-env -q shows that I only have the packages I explicitly want
<cinimod> I seem to have quite a few NIX_* environment variables e.g. NIX_PATH which I don't recall setting explicitly
pkill9 has joined #nixos
<hyper_ch> clever: already awake?
oida has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
oida has quit [(Quit: WeeChat 1.6)]
jrolfs has quit [(Ping timeout: 265 seconds)]
otherjrolfs has quit [(Ping timeout: 264 seconds)]
ylwghst has joined #nixos
oida has joined #nixos
berce has quit [(Ping timeout: 256 seconds)]
otherjrolfs has joined #nixos
<edef> pie__: hi! i wrote that one, i updated it a lil for the latest binja in october
<pie__> edef, oh cool
<pie__> how come its not in nixpkgs?
<pie__> :P
<edef> it's a proprietary piece of software that isn't redistributable and has no obvious notion of releases?
<pie__> edef, i just updated the hash and it seemed to work? xP
<edef> idk
<pie__> eh i guess
<edef> it needs openssl and libmspack in later versions
<pie__> but stuff like pycharm is in
<edef> wow, i hate gist search :(
<pie__> and i bet radare has a package even though thats basically "get latest or we wont care about you if you need help"
<edef> *types binja-ninja* "no results"
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<edef> it does, yeah
asuryawanshi has joined #nixos
<pie__> (im kinda just trying to put some mass behind my argument :P)
<edef> i'd probably be less reluctant to be maintaining a thing like that if i used binja more heavily
<edef> i have no real way of knowing when it updates
<edef> i wonder if i should just figure out how the updater works
jtojnar has quit [(Quit: jtojnar)]
jtojnar has joined #nixos
cinimod has quit [(Ping timeout: 248 seconds)]
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
asuryawanshi has quit [(Ping timeout: 256 seconds)]
<edef> pie__: anyway the non-404ing link is https://gist.github.com/edef1c/780cbe7c4927e75de0d39e262a6efbaa/
<edef> pie__: for me the non-demo version throws some errors in the console bit at the bottom if i don't have openssl/libmspack
<pie__> on that note...is there a way for packages to update themselves?
<edef> not really
<pie__> i dont have a license, im just a poor uni student :(
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<edef> yeah, i ponied up in desperation at some point
<edef> and renewal after a year is half price so i went for that the other week
<edef> $74/year comes out to like, $6/mo
<pie__> yeah
<pie__> the page doesnt say the base functionality of the demo is limited ..but i cant find half the stuff that should exist...
<pie__> maybe i should check docs :P
<pie__> isnt there a strings window somewhere?
<edef> not really
<edef> or, hm
<edef> lemme fire this up, i haven't used it in a bit
<edef> yeah ok i'm not crazy
jrolfs has quit [(Ping timeout: 240 seconds)]
<edef> it has a few deficiencies, i can't just open up a .o without making it into a dylib or something
otherjrolfs has quit [(Ping timeout: 264 seconds)]
<edef> bc it pretty much always wants a concrete address space it can lay things out in
<pie__> and...the search functionality seems pretty limited
<pie__> ah well i suppose i should check what plugins exist but it doesnt matter ecause i cant use them anyway :P
iyzsong has quit [(Ping timeout: 260 seconds)]
<pie__> ah well...found that xref, turns out i was looking at a blob of things and the string didnt start where i figured...
* pie__ plays around
<edef> mildly curious if they ever update the demo
<pie__> yeah
<pie__> otherwise i wouldnt have needed to fix the hash :P
<edef> oh, true
<edef> what's the fresh hash?
<edef> oh wait i can do this myself, the url is right htere
<pie__> lol yah :D
jtojnar has quit [(Remote host closed the connection)]
otherjrolfs has joined #nixos
jtojnar has joined #nixos
cinimod has joined #nixos
iyzsong has joined #nixos
atrx has joined #nixos
<edef> maybe i should just make it builtins.fetchurl
sigmundv has quit [(Ping timeout: 248 seconds)]
<pie__> random sidenote, does nix have stuff for verifying gpg signed stuff, etc
ma27 has quit [(Ping timeout: 252 seconds)]
<edef> pie__: nope
<pie__> (the thing with the hashes as is is noone actually takes them seriously)
otherjrolfs has quit [(Ping timeout: 272 seconds)]
<edef> like, you could do PGP verification of things
<pie__> * pgp
<edef> but we have no pre-existing infrastructure for it
<edef> you could just like, invoke gpg in a build
jtojnar has quit [(Remote host closed the connection)]
<capisce> I found I had to manually do "nix-env -i /nix/store/3kl3s1kd5brwp1z7nh2jvi50yxs7dnql-glibc-2.26-75-dev" for glibc includes to find their way into my ~/.nix-profile/include
<capisce> "nix-env -iA nixpkgs.glibc.dev" didn't work
<capisce> any idea why that is?
<capisce> ditto for SDL2 headers btw
jtojnar has joined #nixos
atrx_ has joined #nixos
atrx_ has quit [(Max SendQ exceeded)]
atrx_ has joined #nixos
berce has joined #nixos
atrx_ has quit [(Max SendQ exceeded)]
jrolfs has joined #nixos
atrx_ has joined #nixos
atrx_ has quit [(Max SendQ exceeded)]
atrx_ has joined #nixos
atrx has quit [(Ping timeout: 265 seconds)]
ma27 has joined #nixos
atrx_ has quit [(Max SendQ exceeded)]
jrolfs has quit [(Ping timeout: 272 seconds)]
atrx_ has joined #nixos
ylwghst has quit [(Ping timeout: 264 seconds)]
ylwghst has joined #nixos
<hyper_ch> hmmm, does nixos really require legacy for zfs mounting?
otherjrolfs has joined #nixos
FareTower has joined #nixos
<FareTower> Hi. I would like a bootdisk kernel module to be provided a parameter to enable a quirk. What is the right way to do that?
<hyper_ch> there's a kernel modules section in your hardware-cofniguration.nix... just add the one that should be added
<FareTower> I know how to add the module; I wonder how to specify the parameter.
otherjrolfs has quit [(Ping timeout: 264 seconds)]
<FareTower> After the root partition is mounted, extraModprobeConfig can be used... but it is apparently not used before.
juhe has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
<juhe> Hello, is there a way to include binaries/symlinks/files in general into initrd somehow? Something like BINARIES/FILES in mkinitcpio.conf file from archlinux distribution. I wan't to assemble lvm cache and it seems to require cache_check from thin-provisioning-tools package which is not present in initrd image.
FareTower has quit [(Remote host closed the connection)]
asymmetric has joined #nixos
<asymmetric> does anyone know if/why testing nixpkgs-unstable got stuck? https://howoldis.herokuapp.com/
<pie__> Fare, maybe someting grub related?
warrickmacmillan has joined #nixos
cinimod has quit [(Read error: Connection reset by peer)]
cinimod has joined #nixos
otherjrolfs has joined #nixos
ylwghst has quit [(Ping timeout: 248 seconds)]
<cinimod> If I do nix-env -qa | grep -i theano I get
<cinimod> python2.7-Theano-0.9.0
<cinimod> python2.7-Theano-0.9.0
<cinimod> python2.7-Theano-0.9.0
<cinimod> python3.6-Theano-0.9.0
<cinimod> python3.6-Theano-0.9.0
<cinimod> python3.6-Theano-0.9.0
<cinimod> Why are there e.g. 3 identical versions of python3.6-Theano-0.9.0
<cinimod> ?
otherjrolfs has quit [(Ping timeout: 256 seconds)]
ssmike has quit [(Ping timeout: 264 seconds)]
<cinimod> Also version 1.0 of theano was released over a month ago: http://deeplearning.net/software/theano/NEWS.html
<cinimod> hyper_ch: nox seems a useful utility but I don't have it
<hyper_ch> cinimod: using nixos?
<cinimod> hyper_ch: macos
<hyper_ch> ah....
<hyper_ch> try to install it... not sure if it works on osx
<cinimod> Cool :)
tg has quit [(Excess Flood)]
<aminechikhaoui> cinimod: or just use nix-env -qaP instead
<aminechikhaoui> $ nix-env -qaP | grep -i theano
<aminechikhaoui> nixos-unstable.python27Packages.TheanoWithoutCuda python2.7-Theano-0.9.0
<aminechikhaoui> nixos-unstable.python27Packages.TheanoWithCuda python2.7-Theano-0.9.0
<aminechikhaoui> nixos-unstable.python27Packages.Theano python2.7-Theano-0.9.0
<aminechikhaoui> nixos.python27Packages.Theano python2.7-Theano-0.9.0
<aminechikhaoui> nixos.python27Packages.TheanoWithoutCuda python2.7-Theano-0.9.0
<aminechikhaoui> nixos.python27Packages.TheanoWithCuda python2.7-Theano-cuda-0.8.2
<aminechikhaoui> nixos-unstable.python36Packages.TheanoWithoutCuda python3.6-Theano-0.9.0
<aminechikhaoui> nixos-unstable.python36Packages.TheanoWithCuda python3.6-Theano-0.9.0
<aminechikhaoui> nixos-unstable.python36Packages.Theano python3.6-Theano-0.9.0
<aminechikhaoui> nixos.python36Packages.Theano python3.6-Theano-0.9.0
<aminechikhaoui> nixos.python36Packages.TheanoWithCuda python3.6-Theano-cuda-0.8.2
<asymmetric> why use grep? nix-env -qaP accepts regexps
<aminechikhaoui> yeah also possible :)
ma27 has quit [(Ping timeout: 265 seconds)]
tg has joined #nixos
<asymmetric> i personally created a nix function with subcommands, so i can just do `nix search theano` and it runs `nix-env -Paq .*theano.* --description`
cinimod has quit [(Ping timeout: 256 seconds)]
oida has quit [(Quit: WeeChat 1.6)]
Myrl-saki has joined #nixos
<aminechikhaoui> well that's available in nix 1.12 (nix search)
<Myrl-saki> Has anyone here checked out Triton?
<Myrl-saki> Or any nixpkgs fork?
otherjrolfs has joined #nixos
warrickmacmillan has quit [(Quit: warrickmacmillan)]
<asymmetric> aminechikhaoui: i'm not on nixos and i don't have that program installed.. is it something you get separately?
cinimod has joined #nixos
otherjrolfs has quit [(Ping timeout: 265 seconds)]
<cinimod> aminechikhaoui: thanks
thc202 has joined #nixos
patrl has joined #nixos
<gchristensen> asymmetric: nixUnstable
<patrl> hi all. I'm running 17.09 but I cherry-pick packages from unstable in my configuration.nix by importing the unstable channel. I have nixpkgs.config.allowUnfree set to "true", but this doesn't seem to affect the unstable channel. Does anyone know of a way to do this in configuration.nix for the unstable channel?
roberth has quit [(Ping timeout: 256 seconds)]
cinimod has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cinimod has joined #nixos
cinimod has quit [(Ping timeout: 248 seconds)]
<ottidmes> patrl: Did you install these packages via systemPackages in your NixOS configuration.nix, or did you use nix-env?
<patrl> via systemPackages
<ottidmes> patrl: Instead of cherry-picking, I just use unstable = import /wheel/fork/nixpkgs-unstable { }; in my packageOverrides of my nixpkgs config and then I use e.g. unstable.firefox in my systemPackages, that way it can use the prebuild versions of them, but it will cause you to have multiple versions of some packages
otherjrolfs has joined #nixos
<hyper_ch> I just use unstable (small) because once the system runs, it's hard to make it non-functional... so while every now and then unstable has some issues, it gets usually resolved quickly and until then, I still have older generttions to boot into
<patrl> @ottidmes can you install unfree packages from unstable using this method?
<gchristensen> patrl: when you import unstable, instead of {} pass { config = { allowUnstable = true; } ; }
<patrl> ahhh, thanks!
<patrl> this is what I was looking for
patrl has quit [(Quit: WeeChat 1.9.1)]
patrl has joined #nixos
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<ottidmes> gchristensen: I have none of that, but I have set NIXPKGS_CONFIG and environment.etc."nix/nixpkgs-config.nix".source to the path of my nixpkgs config, and have nixpkgs.config = import <my_nixpkgs_config>. I have unstable.oraclejdk8 so I should be able to use unfree just fine that way
nallar has joined #nixos
<gchristensen> indeed
Ross has quit [(Ping timeout: 240 seconds)]
nallar is now known as Ross
patrl has quit [(Client Quit)]
berce has quit [(Ping timeout: 240 seconds)]
phdoerfler has joined #nixos
romildo has joined #nixos
phdoerfler has quit [(Client Quit)]
<romildo> The following attributing definition is giving a syntax error, unexpected DOLLAR_CURLY, expecting '}'. How can it be fixed?
<romildo> gtkGreeterConf = writeText "lightdm-gtk-greeter.conf"
<romildo> ''
<romildo> [greeter]
<romildo> theme-name = ${cfg.theme.name}
<romildo> icon-theme-name = ${cfg.iconTheme.name}
<romildo> background = ${ldmcfg.background}
<romildo> ${optionalString (ldmcfg.clock-format != null) "clock-format = ${ldmcfg.clock-format}}"
<romildo> ${optionalString (ldmcfg.indicators != null) "indicators = ${concatStringsSep ";" ldmcfg.indicators}}"
<romildo> ${cfg.extraConfig}
<romildo> '';
<romildo> The errors are reported on the line containing optionalString.
<gchristensen> romildo: you need a quote between }} on the clock-format= line
<romildo> gchristensen, thanks. I was spotting it.
<asymmetric> gchristensen: i can't find that on nixpkgs-unstable for some reason.. shouldn't it be there?
<asymmetric> i can only see nix and nixStable
<gchristensen> asymmetric: maybe it is nix-unstablee?
<asymmetric> oh yes :)
<romildo> gchristensen, I mean, i was NOT spotting it.
<gchristensen> :)
<asymmetric> my shell function has a couple useful things that are not in the nix package, namely: nix update, nix upgrade, and nix show
otherjrolfs has joined #nixos
<asymmetric> you can see i come from an apt background ;)
ssmike has joined #nixos
juhe has left #nixos []
<gchristensen> :)
<gchristensen> the 1.11 ui is not nice
vidbina has joined #nixos
cacatoes has joined #nixos
otherjrolfs has quit [(Ping timeout: 256 seconds)]
atrx_ has quit [(Read error: Connection reset by peer)]
berce has joined #nixos
<Isorkin> How to chroot to nixos from others live cd?
<asymmetric> is the nixos/nix repo the right place to add a feature request?
<asymmetric> i.e. adding a `nix show` subcommand
<gchristensen> yeah, what would it do?
<asymmetric> it would either return an exact match, or an error
<gchristensen> what would it show on an exact match?
<asymmetric> and return a more verbose output than nix search, since there's only one package
<srhb> Slightly off-topic, does anyone know of a nice service that automates creating a reverse ssh tunnel, or perhaps a vpn? Use case: Slightly computer illiterate family members on a unix box that I occasionally need to support remotely. I have access to a box that can serve as the bridge.
<gchristensen> ah ok
<srhb> (Er, where did unix come from... *nix)
<gchristensen> srhb: there is autossh
<infinisil> srhb: Ohh you're lucky, I spent about 10 hours doing that
<srhb> gchristensen: I'll look that up, thanks :)
<infinisil> I finally got it working
<infinisil> autossh isn't recommended anymore, ssh can do that just fine
<srhb> infinisil: I've done this by hand with a number of fugly scripts before, but... :-P
<srhb> infinisil: Oh?
<asymmetric> gchristensen: or nix update, which would run `nix-channel --update`
cinimod has joined #nixos
<infinisil> srhb: how autossh worked is by using a (actually 2) monitor port(s) to send messages in intervals. But now ssh can do that as well without using separate ports, which even autossh mentions as being a better way
<infinisil> srhb: Here is my config for remote port forwarding: https://github.com/Infinisil/system/blob/master/modules/localserver.nix
<srhb> infinisil: Thank you :)
<srhb> So ServerAliveInterval is the magic bit.
<infinisil> srhb: And very very important, the sshd config as well: https://github.com/Infinisil/system/blob/master/modules/ssh.nix#L7-L13
<srhb> Great, that's a lot simpler than the shell spaghetti I used to have.
<infinisil> srhb: Yeah, and similarly ClientAliveInterval on the server side
<gchristensen> nice
<infinisil> The gatewayPorts = "clientspecified" makes it so the remote port forward can listen on other ips than just 127.0.0.1
<srhb> Ah.
cinimod has quit [(Ping timeout: 256 seconds)]
<infinisil> And the `\*:`... here: https://github.com/Infinisil/system/blob/master/modules/localserver.nix#L57 tells it to listen on all ports
<infinisil> ControlMaster no and ControlPersist no is needed in case you set these options to something different in ~/.ssh/config
<infinisil> ExitOnForwardFailure should be clear
<infinisil> And I'm relying on systemd to restart it if failed
ambro718 has joined #nixos
<srhb> Yep, makes good sense. :)
otherjrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vbQ9X
<NixOS_GitHub> nixpkgs/master 3d132be Volth: nixos/ccache: init
<NixOS_GitHub> nixpkgs/master b65f942 Jörg Thalheim: Merge pull request #28022 from volth/ccache...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28022: nixos/ccache: init (master...ccache) https://git.io/v76aw
NixOS_GitHub has left #nixos []
<neonfuz> I'm writing a nix package, and all I want to do is cd into the real source directory (which is at ./src) before a generic cmake build
<neonfuz> I'm trying to figure this out, any suggestions?
<neonfuz> like is there a variable to set a root source directory to start in? or do I just have to add a step that has cd?
<infinisil> neonfuz: `cd src` in preConfigure should work
siel has quit [(Ping timeout: 265 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ac4a225488f (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
siel has joined #nixos
<neonfuz> alright thanks
<neonfuz> and how do I make it build a cmake project? it doesn't seem to be automatically doing that
erictapen has joined #nixos
<neonfuz> I thought it tried to detect or something?
<neonfuz> ah nm
<gchristensen> I think if cmake is in the buildInputs it'll detect it
andromeda-galaxy has quit [(Ping timeout: 248 seconds)]
cinimod has joined #nixos
andromeda-galaxy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vbQHv
<NixOS_GitHub> nixpkgs/master a8433be Ben Wolsieffer: telegraf: 1.4.4 -> 1.5.0
<NixOS_GitHub> nixpkgs/master 820f7a9 Jörg Thalheim: Merge pull request #33021 from lopsided98/telegraf-update...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko pushed 1 new commit to master: https://git.io/vbQHU
<NixOS_GitHub> nixpkgs/master b792b3c Yegor Timoshenko: thinkfan: proper case in IBM, Lenovo, ThinkPad
NixOS_GitHub has left #nixos []
cinimod has quit [(Ping timeout: 260 seconds)]
Itkovian has joined #nixos
<neonfuz> and how do I control what gets put into the environment and stuff? I'm a little confused about that aspect
<gchristensen> neonfuz: any attribute you set in the attributeset will be in the environment
<neonfuz> sorry that's not what I meant, I meant the nix-environment
<infinisil> neonfuz: nix-environment?
<neonfuz> like when someone installs the package with nix-env
<neonfuz> like, it symlinks parts of the package into the environment
<neonfuz> how does it determine what to symlink? is it merged?
<infinisil> Ah, you need to create the $out folder and put stuff in there
<infinisil> e.g. `mkdir -p $out/bin && mv some-binary-product $out/bin`
<neonfuz> ah kk
<neonfuz> in the install phase?
<gchristensen> sure
sigmundv has joined #nixos
otherjrolfs has joined #nixos
<infinisil> neonfuz: You might want to read this section of the manual: https://nixos.org/nixpkgs/manual/#chap-stdenv
<neonfuz> hmm, it seems to have a cmake_install script but it isn't being picked up
siel has quit [(Ping timeout: 265 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
siel has joined #nixos
siel has quit [(Ping timeout: 272 seconds)]
verite has quit [(Ping timeout: 256 seconds)]
asuryawanshi has joined #nixos
siel has joined #nixos
ma27 has joined #nixos
coffeeshot has joined #nixos
Ridout has joined #nixos
berce has quit [(Ping timeout: 260 seconds)]
otherjrolfs has joined #nixos
raynold has quit [(Quit: Connection closed for inactivity)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33032: lightdm-gtk-greater: add configuration options for clock format and indicators (master...fix.lightdm-gtk-greater) https://git.io/vbQQC
NixOS_GitHub has left #nixos []
dywedir has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
romildo has quit [(Quit: Leaving)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 4 new commits to master: https://git.io/vbQQE
<NixOS_GitHub> nixpkgs/master 24b4a7f Peter Hoeg: sblim-sfcc: minor cleanups
<NixOS_GitHub> nixpkgs/master ede3aea Peter Hoeg: openwsman: 2.6.0 -> 2.6.5
<NixOS_GitHub> nixpkgs/master da0d8e2 Peter Hoeg: wsmancli: clean-ups
NixOS_GitHub has left #nixos []
siel has quit [(Ping timeout: 265 seconds)]
siel has joined #nixos
siel has quit [(Changing host)]
siel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #33025: Update some MATE packages (master...upd.mate) https://git.io/vbQaJ
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Ping timeout: 248 seconds)]
funfun has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vbQQK
<NixOS_GitHub> nixpkgs/master af1327a José Romildo Malaquias: ibm-plex: init at 0.5.3
<NixOS_GitHub> nixpkgs/master 395f2dd Joachim F: Merge pull request #32861 from romildo/new.ibm-plex...
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
<neonfuz> how do I install a package defined in a local nixpkgs fork? should I not do this?
<neonfuz> like should I make an overlay instead or something
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<neonfuz> oh, is it -f ?
<ottidmes> neonfuz: You should change NIX_PATH to point to your nixpkgs fork
<ottidmes> neonfuz: See this option: nix.nixPath
drp has joined #nixos
<ottidmes> neonfuz: And whether you should create a package in your local nixpkgs fork, sure, why not. There are multiple approaches. Some change there nixpkgs fork directly, others only use their nixpkgs config by adding their packages to packageOverrides, and yet others just add their packages directly in their NixOS config. I use a mixture, prefering to add them to my nixpkgs config, unless they are specific to my
<ottidmes> NixOS config, then I will add them directly
drakonis has joined #nixos
<ottidmes> And I will modify my nixpkgs fork when I need to change an existing NixOS package or module
cinimod has joined #nixos
<hyper_ch> wohoo, server finally upgraded
funfun has quit [(Remote host closed the connection)]
sary has quit [(Ping timeout: 248 seconds)]
funfun has joined #nixos
cinimod has quit [(Ping timeout: 268 seconds)]
<ottidmes> hyper_ch: Congratz! I have to update my VPS some time soon, I will probably do a reinstall and try the kexec trick this time
cinimod has joined #nixos
<hyper_ch> ottidmes: well, I had issues the last few days with flexget because of cherrypy...
<drp> Feels good to be back on NixOS, I tried ubuntu budgie for a while but I fear I will soon be too frustrated to use anything other than guix or nixos
<hyper_ch> ottidmes: thise was commited this morning and has entered unstable small now and it finally worked: https://github.com/NixOS/nixpkgs/commit/7952288ac348a0d13e373e3060b199b9c1754f7e
<BlessJah> systemd-tmpfiles-setup.service unit fails every time I nixos-rebuild switch since last upgrade
<drp> I do have a problem right now however, does anyone understand how overrides work?
funfun has quit [(Client Quit)]
<drp> for example urbit is on 4.5, the new package is 5.1 but when I override with version 5.1 it defaults to 4.0 :S
<drp> https://spit.mixtape.moe/view/05f50d38 is my config for it
<ottidmes> hyper_ch: If that was happenstance, then that is quite some luck that it was just updated. And now thanks to NixOS you can always get back to this point where it all works again :)
<hyper_ch> ottidmes: yes, I know
<srhb> drp: Psychic debugging says that you need to override the src attribute, as even though you've overridden the version attribute, the old version has already been substituted into src.
<drp> I am guessing that the old variables build and propogates before the new variable
funfun has joined #nixos
<drp> srhb: so really I should hardcode name, version and rev?
<ottidmes> I am trying to pinpoint what is available for sure during nixos-install. I fixed some issues I had with it, but I want to fix something else, for which I need grep, but I am not quite sure if I can expect this to be available
<srhb> drp: You should override them all. You can just override src substituting in your "${version}" (not hardcoded)
otherjrolfs has joined #nixos
<srhb> Likewise with name.
<srhb> drp: You just need to make the set recursive to do it.
<srhb> oldAttrs: rec { ...
<srhb> drp: Oh, I'm also guessing that sha256 is actually an attribute of src.
<drp> so I just add the rec? or do I add the other fields in as well? so even though rev = "v${version}"; is in the nixpkg I should add it in the overrides as well to ensure rewriting of variables?
funfun has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
<srhb> You add the rec and the other fields as well.
<srhb> Yes.
sary has joined #nixos
<srhb> (And yes, it is annoying.)
<drp> it's a curious decision, it makes more sense to have overrides act before variables get propogated throughout the file
ma27 has quit [(Ping timeout: 252 seconds)]
<srhb> It would be far more confusing the other way around from a programming language standpoint.
<srhb> Things should not mutate :)
<srhb> It's just that it should really be a function that you're overriding.
drakonis has quit [(Ping timeout: 272 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #33013: liblouis: init at 3.4.0 (master...liblouis) https://git.io/vbQYi
NixOS_GitHub has left #nixos []
<drp> fair enough
drakonis has joined #nixos
<drp> as far as I can tell I am doing overrides in the recommended way no?
<srhb> I can't tell if you're using packageOverrides or overlays from your paste. Overlays I believe is the new recommended method.
<srhb> drp: Not enough context :)
funfun has joined #nixos
<drp> oh bother, wrong ELF type
<srhb> drp: Hmm?
* drp googles overlays
<drp> srhb, when urbit compiled it was saying wrong elf type
<srhb> Probably just patchelf working on files that has no relevance to it. Hard to tell.
<srhb> ie. don't worry about it unless it actually isn't working.
<drp> isn't working, bizarrely it goes back to 4.0
<srhb> Please paste your entire override.
<srhb> And how are you installing it?
<srhb> And where is the override located?
funfun has quit [(Ping timeout: 252 seconds)]
funfun has joined #nixos
cinimod has quit [(Ping timeout: 240 seconds)]
<srhb> drp: Look at the derivation for urbit
<srhb> Notice that rev and sha256 are inside the src attribute
<srhb> You need to override src.
<srhb> eg. src = { rev = "..."; sha256 = "..."; };
cement has joined #nixos
<srhb> and probably owner and repo too
<srhb> Ack, forgot fetchFromGitHub
<srhb> Basically, override the entire thing :-)
<srhb> You can just copy paste it and fix the hash
sary has quit [(Ping timeout: 252 seconds)]
<gchristensen> srhb: do you have ipv6?
<srhb> gchristensen: Nope :/
otherjrolfs has joined #nixos
<gchristensen> ok :)
funfun has quit [(Ping timeout: 264 seconds)]
<srhb> OK, happy holidays to you all, my parents will kill me if I don't get going soon. :-)
<srhb> o/
<gchristensen> have a good christmas, srhb :) see you on the other side
<srhb> gchristensen: Likewise!
<LnL> gchristensen: why are you asking?
<gchristensen> I want someone to poke my firewall :)
asuryawanshi has joined #nixos
<drp> srhb: oh my it works now! Thank you very much
otherjrolfs has quit [(Ping timeout: 264 seconds)]
<drp> my brain was just treating it as a search and replace on the file, that src = { made it all click
<srhb> drp: Yes, you're overriding the argument to the mkDerivation call that produces the package, and src is an attribute in that argument. Great that you got it to work :)
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<drp> there was still those wrong elf type errors but they appear to have not done anything
asuryawanshi has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ankhers opened pull request #33034: Elixir: init 1.6-rc.0 (master...init_elixir_1_6) https://git.io/vbQ5t
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
ambro718 has quit [(Quit: Konversation terminated!)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
iyzsong has quit [(Ping timeout: 240 seconds)]
ma27 has joined #nixos
sary has joined #nixos
cement has quit [(Ping timeout: 265 seconds)]
funfun has joined #nixos
asuryawanshi has joined #nixos
Arcaelyx has joined #nixos
funfun has quit [(Client Quit)]
erictapen has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] corpix opened pull request #33035: sshd: Start after network target (master...feature/ssh-systemd-deps) https://git.io/vbQdn
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
otherjrolfs has joined #nixos
<gleber_> gchristensen: I have a beefy Linux server in France not doing much, can I contribute its compute power to GrahamcOfBorg somehow?
otherjrolfs has quit [(Ping timeout: 264 seconds)]
LexLeoGryfon has quit [(Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)]
sellout- has joined #nixos
cinimod has joined #nixos
drp has quit [(Remote host closed the connection)]
drp has joined #nixos
Arcaelyx has quit [(Ping timeout: 265 seconds)]
yegortimoshenko has joined #nixos
rogue_koder has joined #nixos
dieggsy has joined #nixos
orivej has joined #nixos
chreekat has quit [(Ping timeout: 240 seconds)]
MercurialAlchemi has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
funfun has joined #nixos
otherjrolfs has quit [(Ping timeout: 252 seconds)]
jrolfs has quit [(Ping timeout: 268 seconds)]
<jtojnar> yegortimoshenko: what do you see for fc-match Sans-serif?
<jtojnar> I upgraded to cairo 1.15 and it indeed fixes the colours, it still does not seem to support SVG fonts, though. Also sans-serif font family seems to be hecked up
<jtojnar> also pixelsize does not seem to work
funfun has quit [(Remote host closed the connection)]
otherjrolfs has joined #nixos
sellout-1 has joined #nixos
sellout- has quit [(Ping timeout: 265 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
ma27 has quit [(Ping timeout: 252 seconds)]
sellout- has joined #nixos
hotfuzz has joined #nixos
sellout-1 has quit [(Ping timeout: 248 seconds)]
sellout- has quit [(Read error: Connection reset by peer)]
ma27 has joined #nixos
hotfuzz_ has quit [(Ping timeout: 240 seconds)]
oida has joined #nixos
sellout- has joined #nixos
otherjrolfs has joined #nixos
sellout-1 has joined #nixos
sellout- has quit [(Ping timeout: 252 seconds)]
asymmetric has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 260 seconds)]
stphrolland has joined #nixos
ma27 has quit [(Ping timeout: 265 seconds)]
<stphrolland> HI. It's the first time I use stack inside Nixos, and the first time it uses lts-10.0 for me. From the start, without having code, (when doing stack init or stack setup), I have a puzzling error: AesonException "Error in $.packages.cassava.constraints.flags['bytestring--lts-0_10_4']: Invalid flag name: \"bytestring--lt-0_10_4\". Has anyone had this error when compiling Haskell code ?
cinimod has quit [(Ping timeout: 240 seconds)]
jrolfs has joined #nixos
<stphrolland> On the internet, someone advise to run `stack upgrade`, but it did not solve the problem for me
<stphrolland> I'm gonna ask for it on #haskell instead, obviously it has nothing to do with nixos
jrolfs has quit [(Ping timeout: 264 seconds)]
vidbina has quit [(Ping timeout: 260 seconds)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<LnL> we have haskell infrastructure, but that doesn’t use stack https://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure
<Moredread> I have problems with networking in nixos containers. I tried the example in the tests (in a nixops deployed VirtualBox instance and manually on bare metal): https://gist.github.com/Moredread/825e011831241e442d006a12f089400f
cinimod has joined #nixos
<Moredread> I can access the server on the host machine, but not from outside it (either on the virtualbox host or from another machine in each case)
jrolfs has quit [(Ping timeout: 248 seconds)]
<LnL> I think you also need ip forwarding
otherjrolfs has quit [(Ping timeout: 256 seconds)]
cinimod has quit [(Ping timeout: 252 seconds)]
<Moredread> LnL: shouldn't containers.*.forwardPorts handle this?
oida has quit [(Quit: WeeChat 1.6)]
<LnL> no, you don’t necessarily want to expose it
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<Moredread> thanks, than I'll have a look there
dan_b has joined #nixos
propumpkin has joined #nixos
marsam has joined #nixos
marsam has quit [(Remote host closed the connection)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
contrapumpkin has quit [(Ping timeout: 260 seconds)]
jrolfs has quit [(Ping timeout: 268 seconds)]
<LnL> Moredread: boot.kernel.sysctl.”net.ipv4.ip_forward” = 1;
<LnL> IIRC
<Moredread> oh, that one
<Moredread> thx
<globin> Isorkin: o/ I'm looking through your mariadb changes and rebasing my old branch, have you got some more commits coming up?
vidbina has joined #nixos
<Isorkin> yes, no full testing. Test with nox-review pr 32928
otherjrolfs has joined #nixos
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
<globin> I am currently running some builds with a rebased version of mine + pcre patch + your mariadb bump and will continue to cherry-pick commits from your pr based on that
MercurialAlchemi has quit [(Remote host closed the connection)]
<gleber_> I can't deploy a Cassandra instance with NixOps... Is it due to NixOps using NixOS 16.09?
otherjrolfs has quit [(Ping timeout: 264 seconds)]
asuryawanshi has quit [(Remote host closed the connection)]
dieggsy has quit [(Remote host closed the connection)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
mojo has joined #nixos
mojo is now known as Guest52838
chreekat has joined #nixos
<Guest52838> marry x-mas! a question though... anybody knows what causes nix-env (as well as nixos-rebuild) suddenly to compile every single thing from scratch? hint: I messed with my nix-channel.. set it to 17.09 and then back to 17.03...
jrolfs has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 264 seconds)]
<Isorkin> globin: ok. Me fixed first commit
jb55 has joined #nixos
<Guest52838> or
otherjrolfs has joined #nixos
sigmundv has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
jb55 has quit [(Ping timeout: 264 seconds)]
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 256 seconds)]
<Guest52838> update: It turned out that's just the haskell packages that try to rebuild themselves... when commenting them out, building works as expected (immediately)
<Guest52838> but still. how could it be.. I had them installed already...
<hyper_ch> orivej: wb
otherjrolfs has joined #nixos
taktoa has joined #nixos
otherjrolfs has quit [(Ping timeout: 240 seconds)]
<balaji> hello! On nix-pill #10 (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html), the first code snippet demonstrates that PATH isn't automatically available in a nix-shell. However, my results differ - I find /usr/bin in the PATH. What am I doing wrong ? (I'm running version 1.11.16 of nix-shell)
raynold has joined #nixos
dan_b has quit [(Ping timeout: 248 seconds)]
<samueldr> > We expected to have the GNU hello world build inputs available in PATH, including GNU make, but it's not the case.
<samueldr> in that example, they are assuming that you do not have make in your PATH beforehand, I guess
ssmike has quit [(Ping timeout: 268 seconds)]
<balaji> @samueldr okay, that makes sense! I read it wrong. Thanks.
<samueldr> nix-shell, however, does have the --pure argument, which works like you described, balaji
jrolfs has joined #nixos
<balaji> okay, thanks for the tip
sellout- has joined #nixos
sellout-1 has quit [(Ping timeout: 256 seconds)]
jrolfs has quit [(Ping timeout: 240 seconds)]
<guix2nix> Folks, im transitioning many machines to nixos. So far no issues, except some glitches with i18n support for locale "es_ES.UTF-8" employed by some of my users. I was expecting firefox-bin to be translated to locale es_ES.UTF-8, if that's active according to the package. But that doesn't work.
asuryawanshi has joined #nixos
Ridout has quit [(Quit: leaving)]
obadz has joined #nixos
propumpkin is now known as contrapumpkin
asuryawanshi has quit [(Ping timeout: 260 seconds)]
sary has quit [(Ping timeout: 248 seconds)]
otherjrolfs has joined #nixos
Ridout has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
sary has joined #nixos
<stphrolland> hmm, on stackoverflow, they say I don't have the last version of stack, and that I should install it with nixos. Today in my config.nix file I have environment.systemPackages = with pkgs; [ ....... stack ];
<stphrolland> What should I do to have a more recent version of stack ?
<stphrolland> I already run nixos-rebuild with upgrades weekly
<samueldr> stphrolland: you're on 17.09 I presume
jrolfs has joined #nixos
<stphrolland> yep
Guest52838 has quit [(Remote host closed the connection)]
Ivanych has quit [(Ping timeout: 252 seconds)]
otherjrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 252 seconds)]
jrolfs has quit [(Ping timeout: 264 seconds)]
sary has quit [(Remote host closed the connection)]
sary has joined #nixos
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
obadz has quit [(Quit: WeeChat 1.9.1)]
yegortimoshenko has quit [(Ping timeout: 260 seconds)]
jb55 has joined #nixos
Neo-- has joined #nixos
otherjrolfs has joined #nixos
ambro718 has joined #nixos
<ison[m]> How can I change the tty greeting message (the one inside /etc/issue)? I tried using environment.etc."issue".text ="my message"; but that just gives a "mismatched duplicate entry" error.
Guest78 has quit [(Ping timeout: 265 seconds)]
<infinisil> ison[m]: Search through nixpkgs (with grep or ripgrep) to find where this file is written, this should guide you towards changing it. (Currently on mobile, can't do it myself)
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<samueldr> there *may* be an issue where greetingLine does not handle setting the color, it's done in the environment.etc "issue" bit later in the file
<infinisil> Nice
<ison[m]> It worked. Thanks.
<ison[m]> Oh also, is it possible to disable to login manager altogether so that I just get a tty login when turning on my machine?
<samueldr> ?
<samueldr> don't enable one?
<ison[m]> I'm haven't. I'm not sure which one it's even using.
<ison[m]> I haven't*. I am seeing a login manager though when I boot up
<samueldr> I assumed that you had to enable one explicitely, have you enabled any `services.xserver` option?
Ivanych has joined #nixos
<ison[m]> I've enabled i3 window manager
jrolfs has joined #nixos
<ison[m]> I might try just explicitly dissabling all login managers
jrolfs has quit [(Ping timeout: 248 seconds)]
<gchristensen> ison[m]: services.xserver.autorun
<ison[m]> Awesome, thanks.
<samueldr> btw, looking at it, the default is slim
otherjrolfs has joined #nixos
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
sellout-1 has joined #nixos
sellout- has quit [(Ping timeout: 252 seconds)]
yegortimoshenko has joined #nixos
mbock has joined #nixos
<mbock> what's the easiest way to make a derivation of a local folder?
ssmike has joined #nixos
<gchristensen> ./folder
<yegortimoshenko> mbock: `with import <nixpkgs> {}; stdenv.mkDerivation { name = "hello"; src = stdenv.lib.cleanSource ./folder; /* ... */ }`
<gchristensen> you don't need the stdenv.mkDerivation, you can just do ./folder
<yegortimoshenko> gchristensen: true, but i presume that mbock wants to build from a local folder
<gchristensen> ah :)
mbock has quit [(Ping timeout: 272 seconds)]
warrickmacmillan has joined #nixos
<bgamari> How does one map over the values of a set?
<bgamari> thanks!
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ae03a11c863 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] siddharthist opened pull request #33036: calcurse: 4.2.0 -> 4.3.0 (master...calcurse) https://git.io/vb7vJ
NixOS_GitHub has left #nixos []
sellout-1 has quit [(Read error: Connection reset by peer)]
sellout- has joined #nixos
zarel has joined #nixos
Neo-- has quit [(Ping timeout: 252 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
<infinisil> Sometimes I really wish Nix was more like Haskell
jrolfs has quit [(Ping timeout: 272 seconds)]
<capisce> you wish they were closer together, so if Haskell was more like Nix that'd also be ok?
<capisce> or you specifically prefer Haskell
<infinisil> Heh
rogue_koder has quit [(Ping timeout: 252 seconds)]
sellout- has quit [(Client Quit)]
<infinisil> Yeah, Nix being more like Haskell, with better abstractions and types and stuff
rogue_koder_ has joined #nixos
<infinisil> I'll maybe have a go at implementing the module system with Haskell (as in write haskell expressions)
<jeaye> Almost always, I wish Nix were more like Guile Scheme.
<jeaye> Guix expressions for my NixOS machine. That'd be great.
rogue_koder_ has quit [(Remote host closed the connection)]
rogue_koder_ has joined #nixos
<bgamari> types would be nice
benley has quit [(Quit: reboooooooooooooooooooot)]
<bgamari> I truly do miss having types when writing nix
<guix2nix> jeaye: guix has some interesting concepts that could be borrowed for nix, but it's very dynamic. The Haskell route would be quite different.
<jeaye> I primarily miss having more robust (or familiar) ways of manipulating data. As a Clojure dev, I think Scheme would just be much more comfortable for me, when it comes to performance various transformations on whatever is needed.
<jeaye> guix2nix: Yes indeed.
* joepie91 would find it interesting to see better integration between Nix and things-that-are-not-Nix
<yegortimoshenko> oh, i'm so happy that nix is not haskell
<joepie91> ie. the ability to call out to things written in other languages
<jeaye> joepie91: Yeah.
<joepie91> wondering how feasible that is given all the lazy evaluation stuff etc.
<bgamari> anyone have a convenient way to disable haddock for all haskellPackages?
<jeaye> As Nix and NixOS get more popular, my gut tells me that learning and happily using the Nix expression language itself will be a bottleneck for growth.
<yegortimoshenko> jeaye: i want nix to use s-expressions so bad
<guix2nix> joepie91: yeah, i don't really have major complaints with regards to nix concepts so far. I think most needed improvements will come with a better UI in the nix command and less cruft in nixpkgs
<yegortimoshenko> jeaye: but guile scheme is much worse than nix expression language semantics, it should be something like lazy racket
<yegortimoshenko> s/semantics/semantics-wise/
<joepie91> jeaye: hmm, I'm not sure. it's a relatively simple language aside from the parsing ambiguities, and people tend to learn more complex / harder-to-reason-about DSLs for other deployment management systems and whatnot
jb55 has quit [(Ping timeout: 240 seconds)]
<joepie91> I think the language itself is mostly fine, it's more the lack of tooling around it
<jeaye> joepie91: I have transformations on data I'd like to do and a relatively simple language, to use your words, makes that less than friendly.
<jeaye> Doing it in just about any other general purpose language would be easier. Nix isn't general purpose, but that's kind of an issue, given how much we're writing with it.
<yegortimoshenko> jeaye: there is very little correlation in how good (or easy) language is and how popular the technology is, look at c++
<Myrl-saki> jeaye: Hallu
<jeaye> yegortimoshenko: C++ is far too complex, but it's "good" in that it provides a solution to the problem of zero-cost abstractions, allowing people to have C-like performance (or better) while having improved interfaces via parametric polymorphism, overloading, and all the included OOP bits. Aside from that, it provides a solution to the C problem of resource management, via RAII.
rogue_koder_ has quit [(Ping timeout: 248 seconds)]
<jeaye> yegortimoshenko: It's easy to see how something like that could pick up. The larger issue is moving people off of it now that there are saner solutions.
benley has joined #nixos
<jeaye> Beside the point though.
<jeaye> Myrl-saki: Howdy.
<joepie91> jeaye: nobody ever thinks about the migrating-away path until it's too late :D
<yegortimoshenko> jeaye: i don't think there are realistically saner solutions available (than C, or C++), but i'm not sure i want to discuss it, i already argue with people in irc far too often :-)
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<yegortimoshenko> jeaye: we agree on s-expressions. it's realistic to implement nix on top of racket. i don't see anything else actionable/possible that could be done about it.
<jeaye> A general solution of separating the Nix lang from the Nix packager, and all of the novelty of it and NixOS, would be ideal.
<jeaye> That way people can Nix it up in whatever language they want.
<jeaye> So, my additional-nix-code/myplugin isn't being picked up.
<yegortimoshenko> i don't think it's possible to nix it up in languages that don't support laziness. there's quite a lot of coupling in how nix packager expects code to be evaluated.
<jeaye> Is there something I need to do other than add my plugin name to vim-plugin-names, add the generated expression to vim-plugins/default.nix, and add a file under additional-nix-code?
<jeaye> yegortimoshenko: If those languages just evaluate to a common data format, which is then piped through Nix, this might work.
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<jeaye> Perhaps that common data format is Nix itself and we just need DSLs for each of these languages to generate Nix code.
jrolfs has quit [(Ping timeout: 268 seconds)]
<yegortimoshenko> jeaye: it's probably more realistic to generate nix expressions. actually, nix the language was seemingly written with that in mind, it has a very simple grammar and it's easy to generate syntactically valid nix expressions via e.g. shell script
<jeaye> Word.
<yegortimoshenko> jeaye: :-)
<bgamari> thoughtpolice, do you have an easy trick for disabling haddock across all of haskellPackages?
<thoughtpolice> bgamari: Not OTTOMH, I'm afraid; you'd do something like overrideAttrs on the whole set I believe
<bgamari> yeah
<bgamari> it's a bit tricky due to mkDerivation though
<jeaye> I could just put the buildInputs and buildPhase into vim-plugins/default.nix, which does the trick, but I don't think that's the intended usage here (for easier upgrades).
warrickmacmillan has quit [(Quit: warrickmacmillan)]
Arcaelyx has joined #nixos
<pbogdan> bgamari: perhaps adapting https://nixos.org/nixpkgs/manual/#how-to-build-with-profiling-enabled would work? (with s/enableLibraryProfiling = true;/doHaddock = false;/)
<bgamari> sounds plausible
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<bgamari> pbogdan, indeed that seems to do the trick; thanks!
jrolfs has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 260 seconds)]
<yegortimoshenko> jeaye: clojure has amazing ffi (it's not even ffi), i think the first language that replaces c (or at least that i would use as a replacement) will feel be the same when it comes to c libraries
<jeaye> I think that these languages won't ever be replaced, but not for lack of good alternatives.
<jeaye> C++ interops with C just as seamlessly as Clojure does Java and it's still not replaced C.
<yegortimoshenko> C++ is very complex. it is very much the opposite of what Clojure is for Java
<yegortimoshenko> but i agree, C++ interop is great
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<yegortimoshenko> it's just not the only criterion
<jeaye> Indeed, it's complex. On the other hand, Clojure is functional, so most Java folks won't touch it with a long stick.
<yegortimoshenko> true, but the idea behind Clojure is not to convert people who use Java, but rather to be able to write in a sane language and still deliver to the real world, leveraging runtime and libraries
<jeaye> Word.
<yegortimoshenko> there's now a sane language for the jvm but no simple native languages that have similar interop capabilities
<yegortimoshenko> C++ is unique in that regard, being the only language that interops with e.g. C headers seamlessly (other than extern "C")
<yegortimoshenko> but it's not simple. it's much more complex than its "host"
Acou_Bass has quit [(Quit: byeeeeeeeeeeeeeee)]
Acou_Bass has joined #nixos
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 264 seconds)]
dywedir has quit [(Ping timeout: 240 seconds)]
MinceR has quit [(Ping timeout: 265 seconds)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
warrickmacmillan has joined #nixos
MinceR has joined #nixos
aarvar has joined #nixos
otherjrolfs has quit [(Ping timeout: 264 seconds)]
jrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
zarel has quit [(Quit: Leaving)]
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
warrickmacmillan has quit [(Quit: warrickmacmillan)]
jrolfs has joined #nixos
Neo-- has joined #nixos
cinimod has joined #nixos
jrolfs has quit [(Ping timeout: 252 seconds)]
cinimod has quit [(Ping timeout: 240 seconds)]
otherjrolfs has joined #nixos
Neo-- has quit [(Ping timeout: 252 seconds)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
ssmike has quit [(Ping timeout: 252 seconds)]
ssmike has joined #nixos
jrolfs has joined #nixos
drakonis has quit [(Ping timeout: 252 seconds)]
jrolfs has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33037: enlightenment, gnome3, mate: fix XDG_MENU_PREFIX (master...fix.desktop) https://git.io/vb7TP
NixOS_GitHub has left #nixos []
dpren has quit [(Quit: Connection closed for inactivity)]
otherjrolfs has joined #nixos
patrl has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #33038: haskell docs: change wording in the "Miscellaneous Topics" section (master...haskell-docs) https://git.io/vb7TD
NixOS_GitHub has left #nixos []
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<pbogdan> gchristensen: would you happen to know why boxfs dotnetPackages.Deedle python36Packages.bcdoc xbmc from https://hydra.nixos.org/eval/1420869#tabs-unfinished seem to be stuck at "sending inputs" to the packet machine?
<gchristensen> yikes
<gchristensen> I probably killed it by mistake
hiratara has quit [(Ping timeout: 265 seconds)]
<gchristensen> ok I requeued them, pbogdan
<pbogdan> gchristensen: thank you :)
hiratara has joined #nixos
<gchristensen> !!! channel 17.09 is going to bump! christmas miracle!
<LnL> \o/
<lassulus> \(• ◡ •)/
<garbas> pbogdan: feel free to ping me for a review. it is on my todo list, but i'm week(s) from getting to that task.
<garbas> pbogdan: that is regarding the firefox official branding
otherjrolfs has joined #nixos
jrolfs has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
justanotheruser has quit [(Ping timeout: 265 seconds)]
yegortimoshenko has quit [(Quit: Page closed)]
<pbogdan> garbas: thank you! wrt to sandboxing our source build seems to offer the same level as the official binaries (at least according to about:support)
<gchristensen> samueldr: ff 57 is almost to 17.09
<samueldr> almost!
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 265 seconds)]
<garbas> pbogdan: at one point in time sandbox for firefox was disabled (you can see the option is commeted out)
<garbas> pbogdan: i think it was because of https://bugzilla.mozilla.org/show_bug.cgi?id=1259273
<garbas> ups ... i gave you wrong link
<pbogdan> garbas: yes, but AFAICT it now appears to be enabled by default without having to pass any configure flags
<garbas> pbogdan: oh, one sec ... i can quickly check this in code
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/53e6d671a96 (from 22 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
taktoa has quit [(Remote host closed the connection)]
bennofs has joined #nixos
<gchristensen> samueldr: ^ there we go
<garbas> pbogdan: +1, true i wasn't aware this became the default. i guess we can remove the comment then
<gchristensen> it'll be (another) christmas miracle if we get a branded firefox build :)
<pbogdan> garbas: thanks! from 57.0.2 built from nixos-17.09 https://imgur.com/a/hzmp3
justanotheruser has joined #nixos
patrl has quit [(Quit: WeeChat 1.9.1)]
ssmike has quit [(Ping timeout: 248 seconds)]
berce has joined #nixos
fahadsadah has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
Sonarpulse has joined #nixos
<gchristensen> well this was extremely cool, I just replaced one nixos-based router with another without a hitch
<jeaye> Woot.
hamishmack has joined #nixos
jb55 has joined #nixos
jrolfs has joined #nixos
jsgrant has joined #nixos
<laggy_wifi> does nix os use/impliment its own dynamic loader?
<gchristensen> no
<laggy_wifi> ok
jrolfs has quit [(Ping timeout: 256 seconds)]
ambro718 has quit [(Quit: Konversation terminated!)]
babyflakes has quit [(Quit: Connection closed for inactivity)]
otherjrolfs has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
otherjrolfs has quit [(Ping timeout: 272 seconds)]
jensens has joined #nixos
chris| has quit [(Quit: Quit)]
chris| has joined #nixos
jrolfs has joined #nixos
jb55 has quit [(Ping timeout: 264 seconds)]
rct has joined #nixos
jrolfs has quit [(Ping timeout: 252 seconds)]
hamishmack has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vb7Lg
<NixOS_GitHub> nixpkgs/master 4be298b Michael Weiss: nixos/sway: Extend the descriptions and examples...
NixOS_GitHub has left #nixos []
gfixler has quit [(Quit: WeeChat 1.4)]
stphrolland has quit [(Remote host closed the connection)]
otherjrolfs has joined #nixos
hellrazor has joined #nixos
drakonis has joined #nixos
MP2E has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
berce has quit [(Ping timeout: 248 seconds)]
<ison[m]> Is there anything special I need to do for xorg to allow multiple sessions on NixOS? If I try to start a separate session with startx I just get "unable to establish any listening sockets" and "xinit: unable to connect to X server: Connection refused"
<hellrazor> startx -- :1 ?
hamishmack has joined #nixos
drp has quit [(Quit: Leaving)]
<ison[m]> Already tried that, same result
yegortimoshenko has joined #nixos
<hellrazor> so maybe the listening sockets are limited
<hellrazor> maybe some undocumented default setting
<yegortimoshenko> jtojnar: fc-match serif: NotoSerif-Regular.ttf: "Noto Serif" "Regular"
<hellrazor> ison[m]: does your initial x-server gets started via systemd service?
<hellrazor> if so check the settings there
<ison[m]> hellrazor: No, I disabled all that
<hellrazor> then its a setting
<hellrazor> or something is missing
<hellrazor> did you try to start the extra x-server as root?
<hellrazor> just for testing
<ison[m]> Ok it works for root.
<ison[m]> lol, now it works for my other account. Seem like running it as root once did something
<ison[m]> Going to restart and try again to see if I can do it without root now
<hellrazor> ison[m]: probabely you need to allow your user to open up the respective x-sessions
<hellrazor> running stuff as root is not advised, if not seriously needed
<hellrazor> about how to achieve the respective setting changes in nixos, i honestly do not know
<jeaye> I'm running `cmake -DFOO=1` in a buildPhase and my CMakeLists.txt isn't seeing FOO being set; does Nix overwrite my cmake args? I see it saying `fixing cmake files...`
<ison[m]> Yeah so it's working now. Strange. But yeah I'll need to figure out what to do without using root
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
jrolfs has joined #nixos
<hellrazor> ison[m]: the respective setting is usually handled in /etc/X11/Xwrapper.config
<jeaye> Ah, cmakeFlags. Finding this stuff is a huge time sink.
<hellrazor> there you can allow non root users to start X
<hellrazor> you need to look up how to set this in nixos thou, @ ison[m]
simukis has quit [(Ping timeout: 265 seconds)]
<ison[m]> hellrazor: Alright, I'll look around. Thanks a lot for the help
<hellrazor> np, i will have to torture myself with the new way of nixos thinking in the future... but general linux knowledge often helps
jrolfs has quit [(Ping timeout: 248 seconds)]
asuryawanshi has joined #nixos
<gchristensen> gleber_: yes!