nadley has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vdioT
<NixOS_GitHub> nixpkgs/master cc5dd66 Tim Steinbach: linux: 4.9.55 -> 4.9.56
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vdiok
<NixOS_GitHub> nixpkgs/release-17.09 acd89da Tim Steinbach: linux: 4.9.55 -> 4.9.56...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shosti opened pull request #30377: convox: init at 20171002150509 (master...convox) https://git.io/vdioG
NixOS_GitHub has left #nixos []
sigmundv__ has quit [(Ping timeout: 255 seconds)]
nadley has joined #nixos
hellrazo1 has quit [(Ping timeout: 240 seconds)]
hellrazor has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
jb55 has quit [(Ping timeout: 240 seconds)]
pxc has quit [(Ping timeout: 248 seconds)]
gandreani has joined #nixos
Denommus has quit [(Quit: going home)]
Nobabs27 has quit [(Quit: Leaving)]
kp__ has quit [(Quit: WeeChat 1.4)]
kp__ has joined #nixos
jb55 has joined #nixos
kp__ has quit [(Client Quit)]
<Lisanna> So I tried making a custom callPackage that would also propagate itself down the chain, but it isn't working
<Lisanna> callPackage = nixpkgs.newScope (nixpkgs // mystuff);
<Lisanna> the first time I use it I can get stuff from mystuff, but any future calls to callPackage down the hierarchy are finding the regular nixpkgs.callPackage
<Lisanna> so the example that LnL gave me (https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/darwin/apple-source-releases/default.nix#L155) doesn't seem to do what I'm trying to do
jb55 has quit [(Ping timeout: 248 seconds)]
<joepie91> Lisanna: stab in the dark: callPackage = nixpkgs.newScope (nixpkgs // mystuff // {inherit callPackage;})
<joepie91> no guarantee that it'll work :P
<Lisanna> holy fsck that worked
<Lisanna> how does that work though
aneeshusa has joined #nixos
<joepie91> Lisanna: so `{inherit callPackage;}` is basically equivalent to `{callPackage = callPackage}`, ie. grabbing callPackage from the current scope
<joepie91> Lisanna: since things are lazily evaluated in Nix, a thing can refer to itself in its definition
cwre_ has joined #nixos
benzrf has joined #nixos
cwre has quit [(Quit: Aliens ate me. I'm not good for them.)]
<joepie91> Lisanna: therefore, the attribute set you pass into newScope contains: 1) nixpkgs, 2) overridden by stuff in mystuff, 3) overridden by the single callPackage attribute in that last set, which refers to the attribute you're about to store the resulting scope in
<benzrf> "nix-env -i" is dispreferred, right?
<Lisanna> joepie91: okay, I've always tried to avoid that since recursion is scary, I didn't know nix supported that so simply
<joepie91> Lisanna: meaning that `callPackage` in your new scope refers to the 'return value' of your `newScope` call :)
Guest88345 has quit [(Ping timeout: 240 seconds)]
<Lisanna> benzrf: if your'e running NixOS it's not the best way to install things
<joepie91> Lisanna: right - recursion requires a slightly different way of thinking in a lazily-evaluated language
<benzrf> Lisanna: i'm actually on arch, but why would that change anythign? :p
<Lisanna> benzrf: Either put it in your systemPackages defined in your configuration.nix, or a trick I do when I just need something quickly is to just do nix-shell -p <whatever>
Myrl-saki has quit [(Ping timeout: 240 seconds)]
<Lisanna> benzrf: oh, so in your case nix-env -i should be fine. AFAIK the recommendation to not use nix-env -i only applies to NixOS users, since there's a better way :)
<joepie91> Lisanna: one sec, looking for a thing
<joepie91> so many bookmarks...
<benzrf> oh...
<joepie91> Lisanna: http://r6.ca/blog/20140422T142911Z.html is relevant
<joepie91> but it's a bit dense to get through
<benzrf> well i was actually wondering - is there a way to like. "upgrade the packages you have installed"?
<benzrf> i feel like i should go back and have an expression somewhere i can edit
<benzrf> this feels gross & stateful >w>
<Lisanna> joepie91: thanks
cwre_ has quit [(Quit: cwre_)]
<joepie91> benzrf: possibly useful: https://nixos.wiki/wiki/Cheatsheet
<joepie91> nix-env -u it seems?
<joepie91> for imperatively-installed things
<Lisanna> benzrf: you can do that if you maintain your own copy of nixpkgs, if you depend on the upstream nixpkgs then you're pretty much at the mercy of the maintainers :)
cwre has joined #nixos
<Lisanna> when you maintain your own copy you can go in and hand-edit the version strings in any package you want
<joepie91> benzrf: hm. with 'upgrade' do you mean 'update all nix-installed stuff to the latest version in nixpkgs', or do you mean 'change the package set to package a newer version than nixpkgs provides'?
<benzrf> ah srry let me clarify -
<benzrf> while pulling a new version of nixpkgs is also arguably unpleasantly stateful, i was specifically thinking about the former
<benzrf> er 'the former' meaning 'upgrading the imperatively-installed stuff to newer versions of the things'
<joepie91> right, then nix-env -u for imperatively installed stuff
<joepie91> (I don't think you can declaratively install outside NixOS?)
domenkozar has quit [(Ping timeout: 246 seconds)]
<benzrf> rly? isnt there at least a command for, like, rebuilding based on your edited expression?
Alling has quit [(Ping timeout: 260 seconds)]
<joepie91> which edited expression?
<benzrf> if i maintain a declarative description of my environment that just lists all the packages i want to have
pSub has quit [(Ping timeout: 240 seconds)]
<benzrf> and then cant i upgrade by just going in there and bumping up the version and re-instantiating, or some shit
pSub has joined #nixos
<joepie91> benzrf: I mean, it depends on your setup. if you've upgraded the package set (eg. nixpkgs) then a rebuild will upgrade stuff anyway
<joepie91> without changing the expression you're building, even
<joepie91> the question is how you're doing this package management declaratively because I don't think there's an existing mechanism for that outside of NixOS
<joepie91> but I may be wrong :)
<benzrf> well, im not just yet
<benzrf> o well
<benzrf> thanks anyway, later!
benzrf has left #nixos ["WeeChat 1.9.1"]
ris has quit [(Ping timeout: 240 seconds)]
domenkozar has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5a8f9a8b6c (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
mudri has quit [(Ping timeout: 248 seconds)]
jushur has quit [(Quit: The Borg joined forces with Skynet, Resistance is futile! Uploading has begun!)]
Synthetica has quit [(Quit: Connection closed for inactivity)]
Arcaelyx_ has joined #nixos
mguex has quit [(Ping timeout: 240 seconds)]
jensens has quit [(Ping timeout: 255 seconds)]
Arcaelyx has quit [(Ping timeout: 246 seconds)]
thc202 has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/393a2ea979 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
hellrazor has quit [(Ping timeout: 240 seconds)]
hellrazor has joined #nixos
lambdamu_ has joined #nixos
Arcaelyx_ is now known as Arcaelyx
lambdamu has quit [(Ping timeout: 255 seconds)]
gandreani_OG has joined #nixos
hellrazo1 has joined #nixos
hellrazor has quit [(Ping timeout: 255 seconds)]
gandreani_OG has quit [(Ping timeout: 240 seconds)]
<fearlessKim[m]> I would like to enable browserpass for firefox too. What's the best way to copy from nixos/modules/programs/browserpass.nix "${pkgs.browserpass}/bin/lib/mozilla/native-messaging-hosts/com.dannyvankooten.browserpass.json" to "/usr/lib64/mozilla/native-messaging-hosts/com.dannyvankooten.browserpass.json" ?
<fearlessKim[m]> writeText ?
mbrgm has quit [(Ping timeout: 248 seconds)]
mbrgm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg closed pull request #30354: sddm-kcm: init at 5.10.5 (master...p/sddm-kcm) https://git.io/vd629
NixOS_GitHub has left #nixos []
markus1199 has quit [(Ping timeout: 260 seconds)]
markus1189 has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
Wizek has quit [(Quit: Connection closed for inactivity)]
jgertm has joined #nixos
nslqqq has quit [(Ping timeout: 240 seconds)]
jgertm has quit [(Ping timeout: 258 seconds)]
griff_ has quit [(Quit: griff_)]
nslqqq has joined #nixos
jgertm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vdiDX
<NixOS_GitHub> nixpkgs/master 829730d Peter Hoeg: nixos user: reserve kodi
NixOS_GitHub has left #nixos []
nh2 has quit [(Quit: Leaving.)]
gandreani has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has joined #nixos
gandreani has joined #nixos
marusich has joined #nixos
mizu_no_oto has quit [(Client Quit)]
mizu_no_oto has joined #nixos
gandreani has quit [(Ping timeout: 255 seconds)]
pxc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg closed pull request #30340: cryfs: init at 0.9.7 and minor updates to dependencies (scrypt and spdlog) (master...p/cryfs) https://git.io/vdKau
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vdiSe
<NixOS_GitHub> nixpkgs/master 6fb1983 adisbladis: kdeconnect: 1.0.3 -> 1.2
<NixOS_GitHub> nixpkgs/master 71b7b4f Peter Hoeg: Merge pull request #30296 from adisbladis/kdeconnect_1_2...
NixOS_GitHub has left #nixos []
iqubic has quit [(Ping timeout: 246 seconds)]
pxc has quit [(Ping timeout: 255 seconds)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
lsyoyom has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vdiS8
<NixOS_GitHub> nixpkgs/master f9415cb Yegor Timoshenko: desktop-managers: do not leak feh to PATH...
<NixOS_GitHub> nixpkgs/master f7ba92b Peter Hoeg: Merge pull request #30286 from yegortimoshenko/patch-2...
NixOS_GitHub has left #nixos []
csingley has quit [(Ping timeout: 240 seconds)]
iqubic has joined #nixos
iqubic has quit [(Remote host closed the connection)]
iqubic has joined #nixos
alp has quit [(Ping timeout: 258 seconds)]
ebzzry has joined #nixos
lsyoyom has joined #nixos
alp has joined #nixos
gandreani has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
marusich has quit [(Ping timeout: 255 seconds)]
marusich has joined #nixos
gandreani has quit [(Ping timeout: 260 seconds)]
marusich has quit [(Ping timeout: 255 seconds)]
jgertm has quit [(Ping timeout: 255 seconds)]
pie_ has joined #nixos
gandreani has joined #nixos
Arcaelyx_ has joined #nixos
eacameron has joined #nixos
boomshroom has joined #nixos
<boomshroom> Hello!
gandreani has quit [(Ping timeout: 240 seconds)]
Arcaelyx has quit [(Ping timeout: 260 seconds)]
<boomshroom> I'm using nix on my macbook with the store on a dedicated 8GB ZFS partition. I just got the message that no space was left on the device so I did a collect garbage. It managed to free 1.14MiB before aborting with "no transaction is active". Subsequent attempts to use nix give "error: setting synchronous mode: disk I/O err"
<boomshroom> *error
<boomshroom> Hello?
schoppenhauer has quit [(Read error: Connection timed out)]
schoppenhauer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #30380: desktop-managers: Fix unsupported attribute 'xcfg' (master...desktop-managers-fix) https://git.io/vdiHg
NixOS_GitHub has left #nixos []
iqubic has quit [(Ping timeout: 258 seconds)]
fragamus has joined #nixos
gandreani has joined #nixos
marusich has joined #nixos
Oida has quit [(Ping timeout: 248 seconds)]
Oida has joined #nixos
RayNbow`TU has joined #nixos
notdaniel has quit [(Quit: Leaving)]
gandreani_OG has joined #nixos
<sphalerite> Aw, benzrf left?
<sphalerite> Of course it's possible to write expressions representing what should be installed :(
gandreani_OG has quit [(Ping timeout: 248 seconds)]
pxc has joined #nixos
pxc has quit [(Ping timeout: 248 seconds)]
Guest33822 has quit [(Ping timeout: 240 seconds)]
notdaniel has joined #nixos
jtojnar has quit [(Quit: jtojnar)]
jb55 has joined #nixos
ixxie has joined #nixos
Arcaelyx has joined #nixos
Arcaelyx_ has quit [(Ping timeout: 240 seconds)]
pie___ has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
<johnw_> boomshroom: I've never tried that configuration
mkoenig_ has quit [(Ping timeout: 240 seconds)]
Judson has joined #nixos
Judson is now known as Guest19986
mkoenig has joined #nixos
orivej has joined #nixos
MercurialAlchemi has joined #nixos
gandreani has quit [(Quit: bedtime. Have fun, y'all)]
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kini opened pull request #30381: expect: update website URL (master...expect-website) https://git.io/vdidW
NixOS_GitHub has left #nixos []
ma27 has quit [(Client Quit)]
ma27 has joined #nixos
ma27 has quit [(Client Quit)]
ma27 has joined #nixos
marusich has quit [(Ping timeout: 255 seconds)]
nslqqq has quit [(Ping timeout: 248 seconds)]
nslqqq has joined #nixos
ma27 has quit [(Client Quit)]
notdaniel has quit [(Read error: Connection reset by peer)]
Acou_Bass has quit [(Excess Flood)]
Acou_Bass has joined #nixos
marusich has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sorpaas opened pull request #30382: go-ethereum-classic: 3.5.86 -> 4.0.0 (master...update-geth-classic) https://git.io/vdidK
NixOS_GitHub has left #nixos []
Neo-- has quit [(Ping timeout: 246 seconds)]
reinzelmann has joined #nixos
pie___ has quit [(Ping timeout: 258 seconds)]
ma27 has joined #nixos
boomshroom has quit [(Ping timeout: 260 seconds)]
ma27 has quit [(Client Quit)]
ma27 has joined #nixos
ma27 has quit [(Ping timeout: 240 seconds)]
MP2E has quit [(Remote host closed the connection)]
MP2E has joined #nixos
MichaelRaskin has quit [(Quit: MichaelRaskin)]
freusque has joined #nixos
periklis has joined #nixos
<dalaing> I'm getting this even for simple looking builds:
<dalaing> > nix-build
<dalaing> Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
<dalaing> nix-instantiate killed by signal 6
<dalaing> anyone have an ideas what is going on with that?
<eqyiel[m]> fearlessKim: it's complicated, you'll need to edit the Firefox wrapper
endformationage has quit [(Quit: WeeChat 1.9.1)]
odi__ has joined #nixos
kkini has quit [(Remote host closed the connection)]
odi_ has quit [(Ping timeout: 248 seconds)]
kkini has joined #nixos
gandreani has joined #nixos
<hyper_ch> makefu: remember that packaging binaries wiki entry?
ertes has quit [(Ping timeout: 264 seconds)]
Itkovian has joined #nixos
gandreani has quit [(Ping timeout: 248 seconds)]
thc202 has joined #nixos
Tucky has joined #nixos
fragamus has quit [(Ping timeout: 248 seconds)]
<hyper_ch> aristid: online?
drakonis has quit [(Read error: Connection reset by peer)]
ertes-w has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vdixg
<NixOS_GitHub> nixpkgs/master ba6f59a Ruben Maher: flow: 0.56.0 -> 0.57.0
NixOS_GitHub has left #nixos []
jensens has joined #nixos
mudri has joined #nixos
nslqqq has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #30383: pythonPackages.django: 1.11.5 -> 1.11.6 (master...djanog_1_11_6) https://git.io/vdixN
NixOS_GitHub has left #nixos []
<fearlessKim[m]> eqyiel: why should I edit the wrapper ? if the file is present in the folder; it should be picked up automatically ? The best way would be to configure native-messenging folder but I had a look at firefox building process and I don't think it's possible
MP2E has quit [(Remote host closed the connection)]
ertes-w is now known as supercynic
civodul has joined #nixos
Wizek_ has joined #nixos
Wizek has joined #nixos
goibhniu has joined #nixos
truh has joined #nixos
nslqqq has joined #nixos
<eqyiel[m]> fearlessKim: yeah it would be great if the path was configurable (like the plugin path), but unfortunately you have to put it in that weird place. I can't get into it too much right now because I'm on mobile, but when I was looking into this same problem (wanting to use browserpass) I think the only way to do it was to wrap Firefox in its own fhs env
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah closed pull request #30358: mailang: fix working (master...mailnag) https://git.io/vd6FA
NixOS_GitHub has left #nixos []
b has quit [(Quit: Lost terminal)]
<fearlessKim[m]> eqyiel: or rather write a home-manager module to move the file into ~/.mozilla/native-messaging
sigmundv__ has joined #nixos
jensens has quit [(Ping timeout: 255 seconds)]
<hyper_ch> hmmm, I just did update nixos-unstable-small and after reboot, I don't have a ipv4 connection anymore.... how to pinpoint that issue?
<hyper_ch> did boot back into an old generation now
Wizek_ has quit [(Ping timeout: 240 seconds)]
<fearlessKim[m]> hyper_ch wifi or wired ? look what packages have been changed or in the journalctl -u network-manager.service
<hyper_ch> wired
<hyper_ch> wireless doesn't work
<sphalerite> hyper_ch: have a look at /nix/var/nix/profiles/per-user/root/channels-x-link/manifest.nix (substitute x for the latest generation number and the one before) to see which version works and which doesn't
<hyper_ch> Okt 13 10:04:55 subi dhclient[5998]: Can't install packet filter program: Cannot allocate memory
<sphalerite> huh
<sphalerite> that sounds like it might be related to the issue dalaing was having actually
<sphalerite> only possibly, I might be completely wrong
<sphalerite> dalaing: are you on unstable-small too?
<hyper_ch> working generation is from yesterday
<hyper_ch> non-working generation is from like 2h ago (vbox compilation)
<sphalerite> right but which git revisions
<dalaing> I'm on 17.09
<sphalerite> there should be something like "nixos-17.09.1547.2231575a7d" in the manifest, the bit at the end is the git rev
<sphalerite> oh ok so probably unrelated
<sphalerite> could you share an example expression that exhibits the issue? Can you build anything at all?
<dalaing> It's the boehm gc error: too many heap sections
<dalaing> I can build lots of stuff, but if I try to build the haskell package beam, it dies
<elvishjerricco> Is it possible to do `chroot` in a nix derivation? I've got a very stubborn piece of software whose build scripts are insanely complicated, and hard code *many* output paths to root dir locations that can't be configured. The easiest way to build it for Nix would be to just run it under `chroot` and then copy/symlink things where I need them.
<hyper_ch> sphalerite: ok, got the manifests
marusich has quit [(Quit: Leaving)]
<dalaing> And it dies if I do it from nixpkgs or from a git checkout
<dalaing> elvishjerricco: there is something like that, I think the haskell tensorflow bindings use it from memory
<sphalerite> huh, works fine for me. Do you have enough memory?
<elvishjerricco> there are Haskell tensor flow bindings built with nix?
<sphalerite> actually no it doesn't build :) but it evaluates fine
<Isorkin> How to modify package ncurses with mouse support and ./configure ... --enable-ext-colors ? is obtained only with - ncurses = pkgs.ncurses.override { mouseSupport = true; }; how to add --enable-ext-colors ?
<dalaing> sphalerite: got plenty of memory
<dalaing> Working for my coworker
<dalaing> Failing for me on two different machines
<sphalerite> weird. Do you have an overlay or something that might affect it?
<dalaing> Fails during nix-instantiate
<dalaing> No overlays
<dalaing> I don't need it immediately
<sphalerite> same nix version as your coworker?
<elvishjerricco> dalaing: I'm not sure I understand. I though Nix's FHS stuff was for creating FHS environments, not for building Nix derivations inside FHS environments.
<dalaing> Just thought I'd tell someone in case others start to have similar troubles
<dalaing> I think it's the same version
<sphalerite> Isorkin: `(pkgs.ncurses.override {mouseSupport = true;}).overrideAttrs ({configureF})`
<sphalerite> oops
<sphalerite> `(pkgs.ncurses.override {mouseSupport = true;}).overrideAttrs (o: {configureFlags = o.configureFlags or [] ++ ["--enable-ext-colors"]})`
<hyper_ch> sphalerite: so, opened bug report :)
<dalaing> elvishjerricco: I may have gotten confused there, been a while since I looked at that stuff
<elvishjerricco> Hm... the `shellHook = "exec fhs"` line seems... intriguing
Wizek_ has joined #nixos
Synthetica has joined #nixos
jb55 has quit [(Ping timeout: 240 seconds)]
gandreani has joined #nixos
<fearlessKim[m]> do I understand the manual correctly, in multioutput derviation , the other folders are not derivation ? so I can't pass libgpgerror.dev as a propagatedBuildInputs ?
athan has quit [(Ping timeout: 240 seconds)]
jacob has joined #nixos
jacob is now known as Guest64706
<andi-> Is there a way to test packages on darwin without having them merged and receiving hydra feedback? I've added `dnstracer` to nixpkgs a few days ago and today I got a mail from hydra complaining about darwin.. while it should compile there I've no means to test it on anything but linux (amd64)...
<Isorkin> sphalerite: ncurses = (pkgs.ncurses.override {mouseSupport = true;}).overrideAttrs (o: {configureFlags = o.configureFlags or [] ++ ["--enable-ext-colors"]}); Error - unexpected '}', expecting ';', at /etc/nixos/config-pkgs.nix:19:147
athan has joined #nixos
gandreani has quit [(Ping timeout: 248 seconds)]
<sphalerite> oh yeah, needs a semicolon after ["--enable-ext-colors"];
<sphalerite> but basically override modifies what's going into the package function (the inputs at the top of the package file), and overrideAttrs modifies what's getting passed into stdenv.mkDerivation
<sphalerite> overrideAttrs also gets the original values so you can modify them
<sphalerite> oh yeah, it might also need some parentheses like…
<Isorkin> sphalerite: thanks
* sphalerite sent a long message: sphalerite_2017-10-13_08:43:26.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/OiqmMfnjkaVDKkcPWXypOamd>
<sphalerite> with added line breaks and indentation for (slightly) improved readability
ThatDocsLady_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch created revert-30286-patch-2 (+1 new commit): https://git.io/vdPfK
<NixOS_GitHub> nixpkgs/revert-30286-patch-2 a208295 Profpatsch: Revert "desktop-managers: do not leak feh to PATH"
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch opened pull request #30385: Revert "desktop-managers: do not leak feh to PATH" (master...revert-30286-patch-2) https://git.io/vdPfP
NixOS_GitHub has left #nixos []
ThatDocsLady_ has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch pushed 1 new commit to master: https://git.io/vdPfS
<NixOS_GitHub> nixpkgs/master 2864bc8 Profpatsch: Revert "desktop-managers: do not leak feh to PATH"
NixOS_GitHub has left #nixos []
ThatDocsLady has joined #nixos
mkoenig has quit [(Quit: Lost terminal)]
jensens has joined #nixos
periklis has quit [(Ping timeout: 248 seconds)]
roconnor_ has joined #nixos
roconnor has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #30380: desktop-managers: Fix unsupported attribute 'xcfg' (master...desktop-managers-fix) https://git.io/vdiHg
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vdPUB
<NixOS_GitHub> nixpkgs/master 6ec6af4 Joerg Thalheim: djbdns: fix build in usernamespaces
NixOS_GitHub has left #nixos []
mortum5 has joined #nixos
mudri has quit [(Ping timeout: 248 seconds)]
pxc has joined #nixos
<steveeJ> something must've changed in the "platforms.nix" code that is messing with this nix expressions: https://github.com/htwg-syslab/nix-expressions/blob/bump-nixpkgs/shells/default.nix#L93-L108. it errors with 'error: undefined variable ‘runCommand’ .../pkgs/build-support/cc-wrapper/default.nix:24:56'
<steveeJ> clever: IIRC you used a similar expression to create a set of cross pkgs. have you encountered this issue too?
<hyper_ch> hi Mic92, you're online?
pxc has quit [(Ping timeout: 240 seconds)]
<clever> steveeJ: what does --show-trace say?
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vdPTN
<NixOS_GitHub> nixpkgs/master bbec429 Matt McHenry: djbdns: fix root server list at build time...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30379: djbdns: fix root server list at build time (master...djb-root-servers) https://git.io/vdiSv
NixOS_GitHub has left #nixos []
Itkovian has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
<clever> that is rather strange
<clever> 24 # For ghdl (the vhdl language provider to gcc) we need zlib in the wrapper.
<clever> 25 assert cc.langVhdl or false -> zlib != null;
<clever> steveeJ: line 24 also doesnt match up right
<clever> runCommand isnt even used in that file
<clever> steveeJ: runCommand is just an attribute within pkgs, not a global variable
<clever> so you have to refer to it somehow, usually by adding runCommand to the args between lines 8 and 14
snikkers has joined #nixos
catch22_ has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
<steveeJ> clever: the assertion tests for it
<ij> Can I recover from "manual garbage collecting"(the adventures of a mixture of sudo, rm and /nix/store/…, that is)? nix-build is trying to open a .drv that's now gone.
<clever> steveeJ: nothing is bringing it into scope
<clever> ij: run nix-store --delete on the problem file
<steveeJ> clever: what is the '->' syntax used with assert?
<clever> no idea, ive never tried using asserts like that in nix
<steveeJ> it reads like '&&'
<clever> steveeJ: then you just need to add runCommand to line 8-14
<hyper_ch> sphalerite: ordered new wifi card... :)
<eqyiel[m]> I've tried copying that tarball somewhere my user on the build server has access to and configuring it with those flags
<clever> eqyiel[m]: run nix-shell against that .drv file, and then run genericBuild in a tmp directory
<eqyiel[m]> clever: thank you for the hint, I will try that
<ij> clever, New errors keep popping about something being missing. :/
<clever> ij: keep running nix-store --delete on them, or just nix-collect-garbage to get rid of all garbage
charlycoste has joined #nixos
<ij> I'll keep trying, thanks.
<steveeJ> clever: this blog post talks about '->' but it's not yet clear to me https://medium.com/@MrJamesFisher/nix-by-example-a0063a1a4c55
<steveeJ> clever: the manual helps though: https://nixos.org/nix/manual/#idm140737318036592
<clever> steveeJ: yeah, so you need to bring runCommand into scope first, by adding it somewhere between lines 8-14
chakerbenhamed has joined #nixos
<chakerbenhamed> Hey, How can I force nix-build to not use network? I'm using nix-build (Nix) 1.12pre5413_b4b1f452 version
<steveeJ> clever: this implies there's a bug in the expressions which makes it impossible to work for cross environments
<taktoa> steveeJ: the -> is binary implication
<taktoa> x -> y is the same as !x || y
erictapen has quit [(Ping timeout: 255 seconds)]
<ixxie> Is it easy to set up multiuser nix?
Mateon3 has joined #nixos
<ixxie> I just managed to break CentOS with pip and its the sort of pain that just cries out for Nix
Mateon2 has quit [(Ping timeout: 246 seconds)]
Mateon3 is now known as Mateon1
<eqyiel[m]> what's this NIX_BUILD_CC in env-vars?
<eqyiel[m]> I can't find any referenc e to it in nixpkgs: https://gist.github.com/eqyiel/93185de6939d0b278cbf27784fa0961e
<sphalerite> ixxie: medium. It's not trivial but it's not super complicated either
<sphalerite> I did it on my chromebook inside a debian chroot
<sphalerite> iirc I built it from source and installed it to /usr/local because I didn't know of anywhere to get binary dists of nix for ARM
catch22 has quit [(Remote host closed the connection)]
<sphalerite> but the only extra setup steps are adding build users and a nixbld group, and adding the users to that group (making sure to make the group an auxiliary group, nix won't be satisfied with them just having nixbld as their primary group)
<sphalerite> then adding a systemd unit or whatever for the daemon
<steveeJ> taktoa: thanks!
<steveeJ> I've also found it well described at https://nixos.org/nix/manual/#sec-language-operators, I just didn't know where to look
<tilpner> A build needs /sbin/iptables-save, to copy it into an initrd. Any idea on how to make that happen?
hellrazo1 has quit [(Ping timeout: 248 seconds)]
<clever> tilpner: patch it to use ${iptables}/bin/iptables
<tilpner> clever - But that one would not execute in the VM it builds the initrd for
<tilpner> It just wants a "normal" iptables-save, and I don't know how to build top-down
<tilpner> *how to build one top-down
<clever> tilpner: you need to also copy the dynamic libraires it depends on, and re-patchelf it, look at how nixos handles its initrd
<eqyiel[m]> I figured out why gcc can't be found, but now I have another question - is gcc-cross-wrapper supposed to generate names like this for the executables in bin? https://gist.github.com/eqyiel/67bbd82ea7a073a1ad83646e4687701f
<tilpner> I could try to patchelf ${iptables}/bin/iptables, but I don't like that idea
<eqyiel[m]> I may have stuffed up my crossSystem config
<clever> tilpner: this function will take a list of binaries to copy from a list of packages, and automatically grab all deps, and patchelf it back together
hellrazo1 has joined #nixos
<tilpner> Hmm, I'll try that
Myrl-saki has joined #nixos
csingley has joined #nixos
<hyper_ch> hmm, trying to write a nix expression for this: https://bintray.com/pyroscope/rtorrent-ps/rtorrent-ps --> there's a deb file at the bottom.... but when I copy'n'paste the url --> https://bintray.com/pyroscope/rtorrent-ps/download_file?file_path=rtorrent-ps_0.9.6-PS-1.0-104-g07be19e%7Evivid_amd64.deb then nix complains about error: invalid character ‘%’ in name ‘download_file?file_path=rtorrent-ps_0.9.6-PS-1.0-104-g07be19e%7Evivid_
<hyper_ch> amd64.deb’
<hyper_ch> so, how to properly provide the url then?
<clever> hyper_ch: add a name to the fetchurl
<hyper_ch> add a name?
<hyper_ch> ah :)
<clever> hyper_ch: name = "something.deb";
<clever> it defaults to the entry after the last / in the url
<clever> but that has %'s
<hyper_ch> name "rtorrent-ps_${version}_amd64.deb";
<hyper_ch> + =
* clever heads to bed
<hyper_ch> clever: nooooo :)
notdaniel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vdPYn
<NixOS_GitHub> nixpkgs/master 826d7d2 Fatih Altinok: yarn: 1.0.1 -> 1.2.1 (#30346)
NixOS_GitHub has left #nixos []
<ixxie> sphalerite: the machine is shared amongst colleagues, and we are using it for analytics with python; what I would like to be able to do is install python packages systemwide
<adisbladis> hyper_ch: May I ask why you are trying to build upon the deb rather than building from source?
<ixxie> sphalerite: I am also considering NixOS but that will be harder to sell
<hyper_ch> adisbladis: because building this from source is a lot more complicated
<hyper_ch> you will not only need to build rtorrent but also other stuff in addition to id... so I thought I take the easy route ;)
<adisbladis> ixxie: I started by "selling" it with nix-shell for development environments, made it easier to sell the rest :)
<adisbladis> hyper_ch: That's... Insane
<hyper_ch> adisbladis: in my shells cripts I also have a intermezzo between configuration vars and script thats: Below be dragons
<fearlessKim[m]> rtorrent ps looks nice
<hyper_ch> so just taking the compiled binaries is easier
<hyper_ch> but I currently fail in my expression to include the also compiled libs
<sphalerite> ixxie: in that case I'd put something like `source /nix/var/nix/profiles/per-user/shared-py/profile/etc/env` and make sure to install a derivation that puts the shell code to set all the env vars in etc/env
<hyper_ch> so that rtorrent-ps properly uses them
<sphalerite> ixxie: nixos/modules/programs/environment.nix could be helpful for working out how to make that script
<hyper_ch> fearlessKim[m]: you do use rtorrent?
<sphalerite> I'm sure there shoudl really be something outside the nixos tree as well? I don't know where though…
<hyper_ch> adisbladis: fearlessKim[m]: https://paste.simplylinux.ch/view/raw/44437da1
erictapen has joined #nixos
<hyper_ch> rtorrent: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
<fearlessKim[m]> hyper_ch: nope it seemed like a hassle at the time but this reignited my intereset
<hyper_ch> been using rt-ps for years on debian
<hyper_ch> pyroscope's build script on debian just works (tm)
erictapen has quit [(Read error: Connection reset by peer)]
<hyper_ch> and if I want to move my home server to nixos with encrypted zfs I need rt-ps :)
<hyper_ch> download etc is all ok, but it just refuses to use the included libraries
<Profpatsch> Oct 13 12:11:44 katara kernel: iwlwifi 0000:03:00.0: Microcode SW error detected. Restarting 0x2000000.
<Profpatsch> And my iwlwifi module failed, as well.
<Profpatsch> Do I have to update Intel microcode manually?
<sphalerite> that error soounds scary
<Profpatsch> Well, my machine booted.
<Profpatsch> Not sure how safe hardware.cpu.intel.updateMicrocode is
phreedom has joined #nixos
<Profpatsch> I mean worst case is I brick my laptop’s CPU.
<sphalerite> AFAIU microcode updates aren't persistent
<sphalerite> they only apply until next poweroff, and are just applied by the kernel on every boot
ison111 has quit [(Ping timeout: 240 seconds)]
<Profpatsch> Okay, that sounds like it’s worth a try.
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Read error: Connection reset by peer)]
<tilpner> Can someone with a working command-not-found please find out where ipvsadm comes from?
<Profpatsch> sphalerite: Heh, microcode update seems to have fixed the problem.
<Profpatsch> Noice.
anton_ has quit [(Ping timeout: 246 seconds)]
anton_ has joined #nixos
<ixxie> sphalerite: that script helps with multiuser installs?
<hyper_ch> so, trying to write a nix expression for rtorrent-ps... it comes precomipled and with according precompiled libraries... I thought I could just put libPath = "$out/lib" and then use patchelf to provide that libpath... but it does not work. So where do I go wrong? https://paste.simplylinux.ch/view/raw/adc6a37b
<sphalerite> ixxie: that script is used by the single-user installer, but you should be able to salvage the parts of it that set the env vars
<ixxie> sphalerite: I guess its easier to make a default.nix /shell.nix and add it to our repo
<ixxie> sphalerite: and just set up the multiuser install
<sphalerite> yeah, a shell.nix is always easier if that's an option
<gchristensen> ixxie: what version of centos?
Ivanych has joined #nixos
<adisbladis> peterhoeg: You there?
<ixxie> gchristensen: 7
sary has quit [(Ping timeout: 240 seconds)]
<gchristensen> ixxie: so (1) the nix manual has some stuff about multi-user (2) except for the darwin-specific stuff, the darwin installer will be useful
<gchristensen> do you use puppet or chef?
truh has quit [(Remote host closed the connection)]
truh has joined #nixos
<sirkha> taktoa, thanks for reply ~19 hours ago
orivej has quit [(Read error: Connection reset by peer)]
sary has joined #nixos
<adisbladis> Anyone familiar with cmake who would care to help to figure something out? I'm looking at why https://github.com/cryfs/cryfs with -DBUILD_TESTING=ON does not generate an install target
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdPsy
<NixOS_GitHub> nixpkgs/master 22505d8 Yegor Timoshenko: connman: do not restart after suspend
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #30381: expect: update website URL (master...expect-website) https://git.io/vdidW
NixOS_GitHub has left #nixos []
<ixxie> gchristensen: thanks, I will keep that in mind
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #30374: salt: 2017.7.1 -> 2017.7.2 (master...update-salt-to-2017.7.2) https://git.io/vdiao
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vdPGC
<NixOS_GitHub> nixpkgs/master 4b50d54 Maximilian Bosch: services.compton: add `opacityRules` option
<NixOS_GitHub> nixpkgs/master c621819 Franz Pletz: Merge pull request #30364 from Ma27/compton/opacity-rules-support...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vdPGl
<NixOS_GitHub> nixpkgs/master 1d340c9 André-Patrick Bubel: udiskie: 1.7.0 -> 1.7.1
<NixOS_GitHub> nixpkgs/master 82e9553 Franz Pletz: Merge pull request #30363 from Moredread/udiskie...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vdPGu
<NixOS_GitHub> nixpkgs/master ce7fd93 Shaun Sharples: plex: 1.9.2 -> 1.9.5
<NixOS_GitHub> nixpkgs/master caee93f Shaun Sharples: Fix warning about unknown escape sequences...
<NixOS_GitHub> nixpkgs/master 5ec10da Franz Pletz: Merge pull request #30356 from bflyblue/plex-1.9.5...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdPGg
<NixOS_GitHub> nixpkgs/master e8c89aa Wei Tang: go-ethereum-classic: 3.5.86 -> 4.0.0
<NixOS_GitHub> nixpkgs/master 1193354 Jörg Thalheim: Merge pull request #30382 from sorpaas/update-geth-classic...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdPG1
<NixOS_GitHub> nixpkgs/master b686f93 Ruben Maher: awsebcli: 3.10.5 -> 3.11.0
<NixOS_GitHub> nixpkgs/master 534060e Jörg Thalheim: Merge pull request #30375 from eqyiel/awsebcli-3.11.0...
NixOS_GitHub has left #nixos []
ThatDocsLady has quit [(Remote host closed the connection)]
ThatDocsLady has joined #nixos
reinzelmann has joined #nixos
ma27 has joined #nixos
Synthetica has quit [(Quit: Connection closed for inactivity)]
<ij> Does hydra run tests like those under nixpkgs/nixos/tests?
ebzzry has quit [(Ping timeout: 260 seconds)]
<joachifm> ij: yes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30369: intecture-agent: 0.3.0 -> 0.3.1 (master...intecture-agent) https://git.io/vdiEC
NixOS_GitHub has left #nixos []
notdaniel has quit [(Quit: Leaving)]
iqubic has joined #nixos
<sphalerite> nix-index takes a long time to build its index…
iyzsong has joined #nixos
<adisbladis> This cmake issue is making me go nuts...
<ij> joachifm, I can't find it. :/
<ij> No wonder I can't google it, Disallow: /*.
griff_ has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<gchristensen> what're you looking for?
ma27 has quit [(Ping timeout: 255 seconds)]
Myrl-saki has quit [(Ping timeout: 248 seconds)]
ma27 has joined #nixos
<ij> Yeah. I'm on unstable and wondering about the kubernets or mesos tests were built successfully.
Myrl-saki has joined #nixos
<gchristensen> it seems mesos has been failing: https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.mesos.x86_64-linux and not sure the kube test is run by hydra
<sphalerite> adisbladis: vendor/googletest/CMakeLists.txt:4 # When test cases are build, disable "make install", because this would also install gtest libraries.
<sphalerite> hm but that should probably only affect gtest itself? I think?
ma27 has quit [(Client Quit)]
<adisbladis> sphalerite: Ahh thanks :)
<adisbladis> I'll give it a go and see what ends up in the nix store
efx2 has joined #nixos
griff_ has quit [(Quit: griff_)]
dannyg has joined #nixos
iyzsong has quit [(Ping timeout: 260 seconds)]
<dannyg> for running docker on a nixos server, what config changes are required to get kernel support for cgroup cfs period/quotas, rt period/runtime
<nwspk> What's the preferred way to manage additional plugins for a package?
reinzelmann has quit [(Quit: Leaving)]
<alp> nwspk, something like what emacsWithPackages / ghcWithPackages / etc do?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #30386: stapler: init at 2016-04-24 (master...stapler) https://git.io/vdPCF
NixOS_GitHub has left #nixos []
abcrawf has quit [(Remote host closed the connection)]
<nwspk> alp: this seems a bit like an overkill for a small program
abcrawf has joined #nixos
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
xdelv has quit [(Remote host closed the connection)]
xdelv has joined #nixos
<ij> Since mesos' and kube's test code was using dockerTools.builtImage I hoped to see a failure there, but I have a oneliner for testing it.
<ij> $ nix-build '<nixpkgs>' -A dockerTools.examples.bash # does this work alright for you? I'm getting a json read error.
<ij> s/you/anyone/
leat has quit [(Quit: WeeChat 1.9)]
<tilpner> ij - Works
<gchristensen> nixos unstable hasn't been updated since oct 7 though
<gchristensen> fww :)
<ij> ugh, so frustrating… I nuked all /nix already and redownloaded everything.
chakerbenhamed has quit [(Ping timeout: 240 seconds)]
chakerbenhamed1 has joined #nixos
<alp> nwspk, well, you can surely write a simpler variant that just does the bookkeeping needed to have the program know where the relevant plugins are through some mechanism of your choise. the xxxWithPackages thing would just be the user facing part
leat has joined #nixos
<sirkha> is there a way to get nix-shell to exit if the shellHook exits with an error?
pxc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30372: intecture-{auth,agent,cli}: updates (master...intecture-cli) https://git.io/vdiED
NixOS_GitHub has left #nixos []
<ij> Restarting helped. >.>
lsix has joined #nixos
<gchristensen> ij: what made you choose to erase all of /nix and start over?
<ij> I did some debugging in a nix file or two, but I don't remember whether it was in the related files or not.
<gchristensen> also it sounds like you're not on nixos?
<ij> Yeah, that single user mode thing.
<gchristensen> got it
pxc has quit [(Ping timeout: 240 seconds)]
<ij> I tried installing it last week, but it couldn't chroot to the new installation(the '[' executable missing) and I gave up for a while.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30368: awslogs: 0.7 -> 0.10 (master...awslogs) https://git.io/vdiEO
NixOS_GitHub has left #nixos []
ShalokShalom_ has joined #nixos
<infinisil> Lol, I'm stupid
<infinisil> I'm bisecting nixpkgs to find the commit that broke vis (cli-visualizer)
iqubic_ has joined #nixos
<infinisil> 2 or 3 steps left, and i start rebuilding everything
<infinisil> When I could've just looked at the last few commits to find https://github.com/NixOS/nixpkgs/commit/e6661db29f05b4e18fb881b51c4a4d171318f56e
ShalokShalom has quit [(Ping timeout: 240 seconds)]
<infinisil> Which pretty obviously broke it because it's ncurses
iqubic has quit [(Ping timeout: 258 seconds)]
<efx2> any tips on debugging collision between directory and non-directory errors ? https://thepasteb.in/p/xGhmoVMZl4VHM
ThatDocsLady has quit [(Remote host closed the connection)]
ThatDocsLady has joined #nixos
<efx2> happening in a multi user install whenever I try nix-env -i sqitch-pg-0.9994
<efx2> i'm macos as well
b has joined #nixos
jtojnar has joined #nixos
<gchristensen> efx2: looking
<efx2> much obliged!
<gchristensen> efx2: try: nix-env --set-flag priority 10 sqitch-pg-0.9994
simukis has joined #nixos
<efx2> hmm, got error: selector ‘sqitch-pg-0.9994’ matches no derivations
<efx2> should i add the -i to that?
<gchristensen> try...
<gchristensen> efx2: try: nix-env --set-flag priority 10 /nix/store/bvdmcawmi1m2ni6d05j52df1dc57s640-sqitch-pg-0.9994
<efx2> error: selector ‘/nix/store/bvdmcawmi1m2ni6d05j52df1dc57s640-sqitch-pg-0.9994’ matches no derivations
<gchristensen> guh
<infinisil> Hmm, is it acceptable to wrap a program with TERM set to something different to make glitches go away?
efx has joined #nixos
<gchristensen> efx2, efx: what version of your nix channel are you on?
<infinisil> I have no idea why TERM=xterm-256color gives glitches, but xterm-termite works
efx2 has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<efx> gchristensen, not sure best way to check?
<gchristensen> efx: cat /nix/var/nix/profiles/per-user/root/channels/nixos/.ggit-revision
<gchristensen> efx: cat /nix/var/nix/profiles/per-user/root/channels/nixos/.git-revision
<gchristensen> oh, hmm... maybe /nix/var/nix/profiles/per-user/root/channels/nixpkgs/.git-revision
<gchristensen> I don't have a mac to check
<efx> so that path, doesn't exist
<efx> cat /nix/var/nix/profiles/per-user/root/channels/nixpkgs/svn-revision
<efx> 117347.66f8512e4f
<copumpkin> wat
<efx> ah found it: 0d8c6f4022153b712a8e0d5c82942ec970516c2c
<gchristensen> efx: where did you find 0d8.?
<copumpkin> you're right, it is called svn-revision in mine too :(
<gchristensen> copumpkin: nixpkgs didn't get a .git-revision until a few days ago
<copumpkin> ah
* copumpkin now has a boggled mind
<copumpkin> (it was previously unboggled)
<efx> gchristensen: /nix/var/nix/profiles/per-user/eli/channels/nixpkgs/.git-revision
<gchristensen> oh cool
MoreTea has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] geistesk opened pull request #30387: electrum: excluded plugins into arguments (master...electrum-plugins) https://git.io/vdP41
NixOS_GitHub has left #nixos []
<gchristensen> efx2: try: nix-env --set-flag priority 10 /nix/store/4wrxbzvjk2v587ss5696xq3ydhl9m4nd-sqitch-pg-0.9994.drv
<efx> error: selector ‘/nix/store/4wrxbzvjk2v587ss5696xq3ydhl9m4nd-sqitch-pg-0.9994.drv’ matches no derivations
<gchristensen> I have no idea how to use nix-env, apparently, sorry
<efx> no worries at all, glad for the help as I am totally new to it
<gchristensen> might I suggest nix-darwin? :P github.com/lnl7/nix-darwin
<efx> true, I should probably ask in there :)
<gchristensen> the user unfriendliness of nix-env is cross-platform unfortunately
<gchristensen> I use nix-env to be able to not uses nix-env
simukis has quit [(Ping timeout: 264 seconds)]
<efx> interesting, so nix-darwin project is another, more user friendly way to manage packages/system with nix on mac os?
Phillemann has joined #nixos
<gchristensen> yeah, it brings a more nixos-like experience
<LnL> I hope so :D
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vdPBR
<NixOS_GitHub> nixpkgs/master ea1a925 Peter Hoeg: cryfs: disable testing as it does not work - I pushed the wrong branch earlier
NixOS_GitHub has left #nixos []
<Phillemann> I have a haskell project that needs to use a recent version of the "brick" package. In haskell-packages.nix I see that there's "brick" and "brick_0_27_0". When I try to use brick_0_27_0 in my default.nix, however, it tells me it cannot find it.
<efx> nice. I will check it out today. thanks again
<LnL> maybe adding something like this with a convention of config.userPackages would be a good idea https://gist.github.com/LnL7/570349866bb69467d0caf5cb175faa74
<gchristensen> LnL: that is what I recommend my coworkers do if they don't want the nix-darwin experience
<gchristensen> back ~later :)
<LnL> we could even add some subcommands like nix-rebuild edit to open/create a config.nix, etc.
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Infinisil opened pull request #30388: cli-visualizer: fix (master...vis-fix) https://git.io/vdPBF
NixOS_GitHub has left #nixos []
MoreTea has joined #nixos
<infinisil> Phillemann: Are you looking at the same version as you have installed?
<efx> LnL: i'd like to try something like that as I am evaluating nix-pkgs overall for managing a set of dependencies across our team
<efx> I'll jump over to nix-darwin channel for more discussion at some point
<grahamc> Oh you probably want a shell.nix instead of nix env
<LnL> for project based dependencies that's the way to go
<Phillemann> infinisil: I don't understand the question.
<infinisil> Phillemann: What's the output of this:
<infinisil> nix-shell -p ripgrep --run "rg '\bbrick.* = ' $(nix-instantiate --find-file nixpkgs)"
<infinisil> there you should see a brick version you can install
<infinisil> Or you could use nox too
<Phillemann> Oh, you mean if my nixpkgs repo is up to date with what my nixos is using.
<infinisil> You said you see the package in haskell-packages.nix, did you look at this in the version you're using or online or something?
<Phillemann> I have nixpkgs/master checked out in my $HOME, but otherwise I'm using nixos-unstable, so that might be the culprit.
<Phillemann> I'm still not sure how nixos-unstable and nixpkgs/master are related.
<infinisil> Um, where do you see version 27_0?
<infinisil> I can't find it in neither nixos-unstable or master
<infinisil> both times it's just 26_1
<Phillemann> Hmmm, is it because hackage-packages.nix is auto-generated and I just need to regenerate it somehow?
<infinisil> master is where all stuff gets added, hydra then tests these new changes, and if all nixos tests succeed, then it's safe to use the version with nixos, and it gets pushed to nixos-unstable
<gchristensen> jtojnar: I'm meerging geary now, sorry for the delay
iyzsong has joined #nixos
<Phillemann> But you're right, brick_0_26_1 works.
<infinisil> Phillemann: Not sure how haskell generation works
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #30228: gnome3.geary: 0.11.3 → 0.12.0 (staging...geary) https://git.io/vdgkU
NixOS_GitHub has left #nixos []
<infinisil> Oh wait, I'm stupid
<infinisil> Phillemann: brick_0_28 should work
fader_ has joined #nixos
<infinisil> I searched nixos-unstable both times, it's brick_0_28 in master
<infinisil> but you need to have master somehow
<infinisil> or some channel version that has the latest update
<Phillemann> nixos-unstable is 6 days old...
<infinisil> It's been worse
<Phillemann> Yeah, it was 15 days some time ago...I'm not impatient.
<infinisil> You can just use it from master though, no problem there
<tilpner> There's always nixpkgs-unstable...
<infinisil> Ah right
<gchristensen> no!
<gchristensen> it is dangerous running nixpkgs-unstable on nixos
<tilpner> gchristensen - For application it should be fine
<infinisil> Yeah ^^
<tilpner> Obviously don't run your base on it
<Phillemann> I think _0_26_1 already contains the bug fix I need.
et4te has quit [(Ping timeout: 240 seconds)]
<gchristensen> IMO that recommendation must be provided with the caveat every time
<tilpner> I agree, I should've said that, but infinisil already knew it, so it didn't matter much this time
<gchristensen> there are 647 other people here
erictapen has quit [(Ping timeout: 255 seconds)]
Myrl-saki has quit [(Ping timeout: 240 seconds)]
<infinisil> Hmm, it's about accurate to say that #active people = #nicks / 100
ShalokShalom_ is now known as ShalokShalom
<disasm> infinisil: that just means that the inactive people are using nixos and it just works for them so they have no questions to ask, right? :)
<tilpner> What does nukeReferences do? Just break stuff that wouldn't everywhere?
<tilpner> *wouldn't work everywhere
<infinisil> disasm: Maybe :P
ma27 has quit [(Quit: WeeChat 1.9)]
<sirkha> trying to get this makefile (from a copy of the splash2 benchmarks) to compile inside a nix-shell with all the prereqs... https://gist.github.com/sirkha/0856fa89fde65ee29e272e5ceeefb3fd
<joachifm> tilpner: it overwrites store references, e.g. to avoid picking up unwanted references
<infinisil> Looking at this code, I would've never figured that out
<joachifm> there's also remove-references-to which is for specific paths
<tilpner> Ehh, now the VM fails to boot because /init has /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.25-49/lib/ld-linux-x86-64.so.2 as its interpreter :/
<tilpner> I would have preferred if nuke-refs just errored and told me I can't do that
<sirkha> how do i tell make what paths to use?
<joachifm> tilpner: but that's what nuke-refs is supposed to do ...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vdPE5
<NixOS_GitHub> nixpkgs/master 56e18c5 Dan Peebles: Revert "Simple proof of concept for how to do other types of services"...
NixOS_GitHub has left #nixos []
<infinisil> sirkha: cd <some-dir>; make; ?
<infinisil> or i bet there's a flag for that
<tilpner> joachifm - First time using nuke-refs, I just expected it to do something else, I guess
<tilpner> make -C dir
<joachifm> tilpner: what are you trying to accomplish?
<sirkha> infinisil, just tells me ld can't find libm
<tilpner> joachifm - Building an initrd for hypercontainers
<tilpner> I'll try patchelf-ing /init manually
<joachifm> tilpner: what did you intend nuke-refs to do?
<tilpner> Nothing really, I didn't choose it
<sirkha> spits out /nix/store/3iggy4d1wdwivs4kx9ic90npiwxvnrr8-binutils-2.27/bin/ld: cannot find -lm
<infinisil> That's a common problem i think, and there's a solution, but I don't know it
<sirkha> infinisil, i will orient my googling towards finding the common solution
<infinisil> Something like adding "-L${libm.lib}/include" to the flags
<infinisil> s/include/lib
<tilpner> Isn't it -I?
<sirkha> -L for libs
<infinisil> I have no idea
<infinisil> Oh and it seems like you need openlibm
<sirkha> -I for includes in gcc
<sirkha> libm is included in glibc (i checked the nix store)
<tilpner> Oh, I though that's what you're talking about. Nevermind me
ma27 has joined #nixos
<infinisil> Oh..
simukis has joined #nixos
<infinisil> I see ${stdenv.glibc.out}/lib/libm.so being used in pkgs/applications/audio/yoshimi/default.nix
<infinisil> buildInputs = [ alsaLib stdenv.cc.libc/*couldn't find libm*/ ]; (in pkgs/development/libraries/wildmidi/default.nix)
ma27 has quit [(Client Quit)]
<sirkha> included glibc.static and it worked
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vdPzW
<NixOS_GitHub> nixpkgs/master 67ae0fa James Edington: palemoon: 27.4.2 -> 27.5.0...
<NixOS_GitHub> nixpkgs/master 6e7f35c Joachim F: Merge pull request #30327 from JamesTheAwesomeDude/master...
NixOS_GitHub has left #nixos []
<infinisil> Ohh I actually used glibc.static before, didn't think this would solve it, nice
Phillemann has left #nixos ["WeeChat 1.9.1"]
<sirkha> the static thing in the makefile made me try it once i found that article
ma27 has joined #nixos
<infinisil> I believe static builds are discouraged in general in nixpkgs though, because it just duplicates stuff
<infinisil> or something like that
<tilpner> Wheee, kernel panic!
<tilpner> (in the vm)
<sirkha> i am actually only planning on working in the nix-shell
<sirkha> strangely
<disasm> I just have bad luck with dns. When I went to 17.03 bind stopped working so I switched to pdns, when I jumped to 17.09 pdns stopped working, lol
<disasm> ah, it's something with postgres
m0rphism has quit [(Quit: WeeChat 1.9.1)]
<infinisil> what has postgres to do with dns :/
<disasm> infinisil: using pg backend for powerdns
ixxie has joined #nixos
xdelv has quit [(Remote host closed the connection)]
ixxie has quit [(Client Quit)]
<sphalerite> disasm: do you maybe not have a system.stateVersion?
xdelv has joined #nixos
chreekat has joined #nixos
<disasm> sphalerite: I found the problem, data dir for postgresql moved from /var/db -> /var/lib/postgresql
<infinisil> did you change stateVersion?
erictapen has joined #nixos
gandreani has joined #nixos
Neo-- has joined #nixos
snikkers has quit [(Quit: Lost terminal)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/534060e608 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<disasm> crap, I don't... thx infinisil
<infinisil> no, you're supposed to not change it
<infinisil> unless you migrate everything manually as described in the release notes
<disasm> yeah, I know... when I refactored my machine configs all into one repo I must have lost that :( I rolled back to 17.03 adding stateVersion in and will try again
<infinisil> I should add a submodule for nixpkgs to my system config, such that I won't ever have to deal with something like that
<shlevy> niksnut: Can we get a new nixUnstable that includes the sudo -i OS X installer fix?
<tilpner> shlevy - You can override nixUnstable if you need it now
ShalokShalom_ has joined #nixos
ShalokShalom has quit [(Ping timeout: 260 seconds)]
<shlevy> Just want to make sure niksnut is OK with me 'keep'ing another build on hydra
<niksnut> shlevy: what for? presumably, if you're in a position to use nixUnstable, you already have nix installed...
<niksnut> and keeping builds on hydra does absolutely nothing these days
<shlevy> Ah OK
<niksnut> but bumping nixUnstable is fine
<shlevy> OK cool
<niksnut> well, I guess marking builds to keep is still a gooid idea if we ever start doing garbage collection for cache.nixos.org
<niksnut> which we probably should do soon, given S3 storage costs...
<copumpkin> 😱
<copumpkin> :)
<infinisil> why is this not a thing already
MercurialAlchemi has quit [(Remote host closed the connection)]
<disasm> well that worked, but not upgraded to pg 9.6... Maybe I'll just switch the state version back to 17.09 and manually upgrade :)
<gchristensen> infinisil: a benefit of it is when people bisect nixpkgs from 15.09 through to today, they don't have to mass-rebuild 20 times
<gchristensen> but really probably the reason is s3 was cheap and setting up GC wasn't worth the effort
<gchristensen> but as soon as we migrate to IPFS we'll just store years of binary cache on our user's systems sincere-troll.bmp
<infinisil> heh
<sphalerite> wait, macOS comes with zsh now?
riclima has joined #nixos
<disasm> gchristensen: wait, tell me more? you can git bisect and not mass rebuild?
erictapen has quit [(Ping timeout: 246 seconds)]
<gchristensen> disasm: if you happen to land on a commit which was built, yeah
<aminechikhaoui> Hi all, I'm getting few issues with my gpg-agent still as it basically prompt me to fill in the passphrase of the keys most of the time. But can probably be an issue in my setup and not in the gpg-agent nixpkgs config
<riclima> Hi, is there a channel for Mac OS Nix discussion?
<disasm> sphalerite: it has for years, but it was too old of a version for my zsh config, so I used homebrew.
<disasm> riclima: you be here
<infinisil> gchristensen: I mean, just gc'ing packages that haven't been hit in 6 months or so would probably reduce storage a lot
mguex has joined #nixos
<sphalerite> disasm: I had no idea! but yeah I'll be using the one from nixpkgs
<riclima> Ah, cool, so all Nix discussion is centralized here, then?
<gchristensen> disasm: it'll fetch the cached versions from the cache. if you write a smart bisector, you can "skip" commits that trigger a mass rebuild and the bisecting algo will automatically find commits which aren't mass-rebuilds
<adisbladis> riclima: Yes :)
<aminechikhaoui> some of the erros I'm seeing in journalctl --user -fu gpg-agent are "Failed to lookup password for key <MY_KEY> with secret service: Cannot autolaunch D-Bus without X11 $DISPLAY"
<infinisil> riclima: There is #nix-darwin i think
<gchristensen> riclima: here, and ##nix-darwin also exists if it is really niche / you're not getting help here (see /topic)
<riclima> Excellent, cheers
<aminechikhaoui> and "Oct 13 16:07:00 nixos gpg-agent[951]: failed to unprotect the secret key: Operation fully cancelled
<aminechikhaoui> Oct 13 16:07:00 nixos gpg-agent[951]: failed to read the secret key
<aminechikhaoui> Oct 13 16:07:00 nixos gpg-agent[951]: ssh sign request failed: Operation fully cancelled <Pinentry"
<ldlework> I am trying to write some Nix expression lang to create a derivation. Let's say I have a number of folders each with a default.nix inside. I want to visit each folder and load the derivation from inside the file and add it to the set of derivations I'm returning from this main file. I can't quite wrap my head around how to write this in a functional language.
<disasm> gchristensen: ah, so not straight git bisect, you need some logic for that to work?
<gchristensen> disasm: if you're on a mass rebuild, just do `git bisect skip`
<gchristensen> not so hard :)
<disasm> haha, learn something new everyday!
erictapen has joined #nixos
<infinisil> ldlework: builtins.readDir
Wizek_ has quit [(Remote host closed the connection)]
<ldlework> I mean.. I know that function exists.
<riclima> Anyway, I'm looking for advice—I'm moving from using Homebrew to Nix, and I'd like to switch my user's shell to bash 4 installed with Nix. With Homebrew, I added to /etc/shells /usr/local/bin/bash, and then `chsh -s /usr/local/bin/bash`
<ldlework> My problem is with formulating the algorithm in a functional and recursive way. I'm a long time imperative programmer.
<infinisil> ldlework: You need it recursively?
<riclima> In the case of Nix, bash is now a symlink on my home folder
<ldlework> Well I assumed that's the only way
<joko> Hello, could anyone help me with the NixOS tests? I'm running the installer one and I would like to give the VMs internet access
<riclima> I was wondering what's the recommended way to adding it to the allowed shells? Same thing? `echo $(which bash) >> /etc/shells` ?
<infinisil> ldlework: I'll show you an example, hold on
Wizek_ has joined #nixos
<riclima> Or perhaps would it be recommended to only switch bash in my terminal application's settings?
<riclima> I'm trying to not have my user break in case something goes wrong while I'm messing around
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
<disasm> riclima: if you point it to the symlinked binary in your home dir profile, you won't have to update the shells file every time you update bash
griff_ has quit [(Client Quit)]
mkoenig has joined #nixos
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
<riclima> Yeah, I don't mind doing that, but I'm not a sysadmin so I don't know if that's a mistake of some sort
<riclima> I figured I'd check with more experienced people first
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
cement has joined #nixos
griff_ has quit [(Client Quit)]
<disasm> gchristensen: what are your thoughts on the above ^^^ would pointing to the symlink in nix profile for bash be the best way to change your shell?
griff_ has joined #nixos
<gchristensen> oh hm how do I do this
griff_ has quit [(Client Quit)]
<disasm> I seldomly boot into osx anymore, lol
<riclima> I could always just tell my terminal application to just run Nix's bash, and leave the system one alone, differently from what I did with Homebrew
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
<gchristensen> I don't know :/
<riclima> But in the case of my home server Mac mini, that would mean my login shell would be Bash 3
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
<disasm> I would think /Users/foo/.nix-profile/bin/bash would be the best, because then if you upgrade bash and garbage collect the old version, you're shell will still work
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
mortum5 has quit [(Ping timeout: 255 seconds)]
JosW has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Client Quit)]
jensens has quit [(Ping timeout: 255 seconds)]
<riclima> Sounds good, since no one has jumped to say "that is a horrible idea", then I guess there aren't any obvious problems that it would cause. At any rate, I'm gonna run a full backup just in case hahah
<infinisil> ldlework: Umm, I'm having a bit of problems with reading relative paths, but
<infinisil> I'm gonna get it eventually
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<ldlework> Well I feel less like an idiot
erictapen has joined #nixos
<infinisil> I find file handling to be very finnicky in nix
<ldlework> I want to try my hand at implementing something similar to home-manager
<infinisil> Oh boy, that doesn't work with nix only
taktoa has quit [(Remote host closed the connection)]
<ldlework> ?
csingley has quit [(Quit: WeeChat 1.9.1)]
<infinisil> Nix isn't a general purpose language
<infinisil> Which is what you need for something like home-manager
csingley has joined #nixos
<infinisil> Its interaction with the system is very limited
erictapen has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Fuuzetsu pushed 1 new commit to master: https://git.io/vdPKN
<NixOS_GitHub> nixpkgs/master 0ef6e21 Mateusz Kowalczyk: Agda: package builds fine these days...
NixOS_GitHub has left #nixos []
<ldlework> Sure, I just had the idea that if I could make a derivation that aggregated the derivations inside those folders, then I could utilize the rollback/generations for the whole thing at once.
<ldlework> Rather than using say Python, to iterate the folders and produce multiple Nix builds.
<tilpner> Well... Nix can generate code, and put it into your path. I feel like that still counts as implemented with Nix
<tilpner> Especially when it generates bash or something like that
<ldlework> The point is to be able to to point at a single nix build for every time you build your dotfiles and symlink them to your home folder
<ldlework> I don't think code generation is relevant here
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vdP6f
<NixOS_GitHub> nixpkgs/master 998f087 Joerg Thalheim: dbench: fix wrong client.txt location...
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
* tilpner thinks it is
<copumpkin> does nixos have an option for some sort of global NIX_PATH entry?
<tilpner> copumpkin - nix.nixPath
Neo-- has quit [(Ping timeout: 246 seconds)]
<ldlework> how is code generation relevant?
<tilpner> copumpkin - E.g. nix.nixPath = [ "nixpkgs=..." ];
tmaekawa has joined #nixos
<tilpner> ldlework - Activation scripts play an important role in switching between generations. Both NixOS and home-manager use them
<copumpkin> oh perfect
<copumpkin> thanks!
<ldlework> Sure, but what do activation scripts have to do with what I was talking about...?
<tilpner> You said you wanted to do something similar to home-manager
tmaekawa has quit [(Client Quit)]
<gchristensen> ldlework: you just want to find default.nix's?
<ldlework> Yes, not just any random thing that home-manager does, I would also want to do something similar
<ldlework> lol the thing I want to do that is similar is dotfile management
<ldlework> not the single feature of running an activation script between generations
<infinisil> ldlework: Ah i got it: https://git.io/vdP6r
<ldlework> gchristensen the dotfile repository will be a collection of folders, like, git, emacs, vim, ssh, chrome, and so on
<infinisil> This imports all */default.nix into an array
<ldlework> inside each will have a default.nix that tells how to install those packages, and how to build their dotfiles
bennofs has joined #nixos
<tilpner> ldlework - Might I interest you in this monstrosity? https://w.tx0.co/nixos#declarative-file-management-outside-of-etc
<ldlework> I want to build a super-derivation set that includes derivations from all of those
<ldlework> So that each time you "build your dotfiles" you're working with a single nix-build, and so a single line of generations
<ldlework> (rather than a build for every software involved, git, emacs, etc)
<infinisil> Ah I see, this could make it much faster
<infinisil> but
<infinisil> Hmm, I don't fully get it, but I feel like something's not gonna work with that approach
<riclima> Alright, seems to work. Thanks disasm and gchristensen for the tips
<ldlework> infinisil in terms of running nix-build once against a set of derivations?
<infinisil> not sure, I don't fully get it yet
<infinisil> ldlework: I hope you saw my gist
<ldlework> interesting
riclima has quit [(Quit: riclima)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Fuuzetsu pushed 1 new commit to master: https://git.io/vdPid
<NixOS_GitHub> nixpkgs/master 4c1b8fc Mateusz Kowalczyk: firefox-devedition-bin: 57.0b6 -> 57.0b8
NixOS_GitHub has left #nixos []
<sphalerite> any tmux users now how to get it to scroll only one line at a time from mouse events rather than 3?
griff_ has joined #nixos
<shlevy> niksnut: https://hydra.nixos.org/build/62545924 <- This just finished a few minutes ago and is already marked as "no longer available"?
<adisbladis> sphalerite: It's already doing that?
<tilpner> (Not using tmux)
<ldlework> tilpner so this is just some helper functions for writing files/directories to the store?
<sphalerite> oh so the keyword was "speed"… derp
<sphalerite> thanks
<tilpner> ldlework - And copying/linking those store files to any place on your system. Did I misunderstand what you needed?
<sphalerite> … nope, scrolls 5 lines at a time
<sphalerite> (not sure if it was doing 3 before, might have been 5 too)
<ldlework> tilpner you accomplish the last bit by writing out some bash functions and then calling them because they can write outside of the store?
<adisbladis> My one is just scrolling one line at a time out of the box
<sphalerite> huh.
<tilpner> ldlework - Yes, that's the code generation part I thought was relevant. The activationscript automatically called by nixos-rebuild, so it's not an extra utility for me, but you can also call it yourself if you don't use NixOS
<tilpner> *The activationscript is automatically called
<sphalerite> it's doing 5 at a time for me, both on macOS and on nixos
<ldlework> tilpner yeah, I'm on OSX so I only have nix-env and nix-build
<ldlework> (I think?) lol
<adisbladis> sphalerite: Or are you talking about the scrollback buffer?
<sphalerite> yes
<sphalerite> what else would I be talking about?
<adisbladis> Because the default scroll behaviour is scrolling through history
Acou_Bass has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<tilpner> ldlework - You will need another utility, like a generated script. nix-build/nix-env alone will not let you write files into your home
<sphalerite> uuuh what?
<sphalerite> oh yeah, no I set mouse on
<adisbladis> sphalerite: That's what happens on all my systems
<sphalerite> right
jensens has joined #nixos
<sphalerite> if you set mouse on, I'm guessing it scrolls 5 lines at a time too?
<adisbladis> Yes it does :>
<sphalerite> I'll go ask in #tmux, probably a better place :)
<adisbladis> Never explored what tmux has to offer..
mrkgnao has joined #nixos
<ldlework> tilpner I guess technically I also have nix-instantiate
<nliadm> I also have a means of putting things in my home directory
chreekat has quit [(Quit: quitting)]
Myrl-saki has joined #nixos
<tilpner> nliadm - Link?
<nliadm> it's constructing a "configs" package that I install, then use stow to manage the links from $HOME to $HOME/.nix-profile/cfg
<nliadm> tilpner: lemme find my gist
<tilpner> nliadm - Are you on NixOS? I considered doing something similar, but didn't want yet another extra command
Acou_Bass has joined #nixos
<tilpner> Then again, later I gave in and did... this, so it wouldn't have been a problem
<ldlework> stow is pretty standard for it
<nliadm> tilpner: https://gist.github.com/hdonnay/3802cf201d2c550027bc9606e57d5c0b relevant parts are the shell script at the end and the "common-configs" derivation
<nliadm> no, I'm using nix on fedora
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vdPXh
<NixOS_GitHub> nixpkgs/master 8efe90a Shea Levy: nixUnstable: bump
NixOS_GitHub has left #nixos []
<ldlework> hmm this is dense
<tilpner> nliadm - Just to be sure, what's the command you use to update your config files?
<tilpner> You completely abuse installPhase, and I like it
<nliadm> I just run update.sh (I think I call it nix-up right now) and it installs all my configs and switches to them
<nliadm> it seems convoluted, reading it back with the /cfg and /live, but I think there was a good reason for that?
Enzime has quit [(Ping timeout: 246 seconds)]
jushur has joined #nixos
<ldlework> Should we just collaborate on a thing?
<nliadm> my .proflie sources everything in $HOME/.nix-profile/etc/profile.d, so the first link writes out a file in there, and the script manually triggers it
<tilpner> You two can, I won't (I need NixOS specific features)
freusque has quit [(Quit: WeeChat 1.7.1)]
<tilpner> Oh... I read that completely wrong :(
<ldlework> nliadm any interest?
<nliadm> sure, if our usecases are close enough
Enzime has joined #nixos
<tilpner> Consider early if you need to manage permissions too
<ldlework> nliadm I'm using OSX / Ubuntu, and I just want the ultimate dotfiles solution that can also install the software I depend on
<nliadm> yeah, I want a way to declaritvely control my nix-profile, and to have my dotfiles stored in the nix store
jb55 has joined #nixos
<ldlework> Just putting your dotfiles in a repo doesn't let you bootstrap a new laptop, you still have tons of installing of stuff to do, and god help you if you forogt what you did
<ldlework> nliadm I was thinking that it would be nice if you had a repo, with different folders representing the different software you want to manage, like git, emacs, and so on
<ldlework> instead of shoving everything into a dense file
<ldlework> those folders could also contain templated versions of the dotfiles and any other data
<ldlework> this way things are easier to maintain over time
<ldlework> do you agree that might be slightly better UX?
<tilpner> Remind me what was wrong with home-manager?
<nliadm> I kind of do... okay this is the third time in two days I've tried to explain my setup without sharing code, let me see if I have passwords in here, maybe I can upload it somewhere
<ldlework> It is actually very good, but its UX isn't as good as I just described
<ldlework> I basically like everything else about HM
<tilpner> And it's not possible to "fix"/improve HM?
Guest64706 has quit [(Quit: Lost terminal)]
<ldlework> Sure, most likely it is, but I also want to learn how to build things with Nix and decided this is a good project.
<tilpner> Okay
<infinisil> ldlework: So you're problem with hm is that you don't like having everything in a single file?
iyzsong has quit [(Ping timeout: 240 seconds)]
<infinisil> Because that's not a problem, you can import other files like with your nixos config
hydraz has quit [(Read error: Connection reset by peer)]
<tilpner> infinisil - Creating their own as a fun/learning project is a valid reason
jb55 has quit [(Ping timeout: 248 seconds)]
<infinisil> yeah of course, but his critisism makes me think that he missed a very basic thing of the module system
<ldlework> its possible
Myrl-sak1 has joined #nixos
hydraz has joined #nixos
hydraz has quit [(Changing host)]
hydraz has joined #nixos
entries has joined #nixos
<entries> does anyone know how to switch bootloader from systemd-boot to grub in nixos?
<infinisil> ldlework: What is?
<infinisil> entries: You remove the systemd-boot.enable line, done
<tilpner> infinisil - "that he missed a very basic thing of the module system"
dannyg has quit [(Quit: dannyg)]
<infinisil> Ah
<entries> infinisil: i did that and changed boot.loader.grub.enable to true
Myrl-saki has quit [(Ping timeout: 255 seconds)]
<entries> inifinisil: but i get the following error when i nixos-rebuild error: creating symlink from ‘/boot/loader/entries/result.tmp-5821-930462479’ to ‘/nix/store/g7p2j2galgmdcha9jy693yljh6vizlwh-nixos-system-nixos-17.09.1547.2231575a7d’: Operation not permitted
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to 1.11-maintenance: https://git.io/vdPyI
<NixOS_GitHub> nix/1.11-maintenance 76431e0 Eelco Dolstra: nix-shell -p: Use runCommandCC...
NixOS_GitHub has left #nixos []
<infinisil> entries: sudo?
<entries> infinisil: logged in as root
<avn> entries: and possible you need to set boot.systemd-boot.enable = false;
<infinisil> entries: Hmm, I think I remember seeing someone with the same problem a few days ago
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #30390: cryfs: Enable tests (master...cryfs_tests) https://git.io/vdPy4
NixOS_GitHub has left #nixos []
<infinisil> Ah, it was ij with a similar problem when nixos-installing
<entries> settings boot.systemd-boot.enable to false does not fix it. I went with systemd-boot when I installed nixos yesterday because Grub setup failed (maybe because i booted from a non-uefi device
<entries> but now i want to use grub to be able to boot into windows which lays on another device
<tilpner> entries - Are you running the command from /boot by any chance?
<infinisil> entries: Is /boot (or /boot/efi) vfat? and mounted?
<entries> its vfat and mounted and i am running it in /boot/loader/entries atm
<tilpner> entries - Run it somewhere else please
<entries> moved to /root, now it works...
<entries> is that a bug??
hotfuzz_ has joined #nixos
jacob has joined #nixos
<infinisil> huh weird
<nliadm> ldlework: I can send you an export of my rube goldberg setup, if you want to see how I've done things
<tilpner> IIRC it tries to symlink stuff in the current directory, which vfat doesn't like
jacob is now known as Guest79382
<entries> well lets see if it works, brb
hotfuzz has quit [(Ping timeout: 248 seconds)]
entries_ has joined #nixos
<entries_> grub complains my device does not have a bios boot description. even though: boot.loader.grub.efiSupport = true; boot.loader.grub.efiInstallAsRemovable = true;
<ldlework> nliadm sure!
<entries_> *partition
entries has quit [(Ping timeout: 260 seconds)]
JosW has quit [(Quit: Konversation terminated!)]
<avn> boot.loader.efi.canTouchEfiVariables = true; ?
<tilpner> If a user installs Docker, should they have dockerd in their path?
Myrl-sak1 is now known as Myrl-saki
<tilpner> Or is it enough if a service that runs dockerd is started?
entries_ has quit [(Ping timeout: 260 seconds)]
entries has joined #nixos
Myrl-saki has quit [(Disconnected by services)]
<sphalerite> tilpner: well the way to "install" docker properly on nixos is using the nixos config option
<entries> avn: excuse me, you just posted something about efiVariables, what was it again?
<sphalerite> If a user installs it using nix-env, they either have to set the daemon up themselves or use a remote daemon (which I believe is not entirely unheard of either, so it is a valid usecase!)
Lisanna has quit [(Ping timeout: 260 seconds)]
riclima has joined #nixos
<riclima> Does anyone know how can I install pip with nix?
<ldlework> tilpner the docker client talks to the docker daemon by way of a socket or https url so I don't think users need dockerd on the path
<maurer> riclima: Many (if not all) of pip's normal operations will not work under nixos
<disasm> riclima: you really shouldn't, lol but pythonPackages.pip
<maurer> riclima: what will work is available at e.g. python27Packages.pip
<disasm> riclima: I'd highly recommend setting up a nix-shell with pypi2nix instead
<tilpner> sphalerite - So you agree that virtualisation.docker.enable = true; should not put dockerd in my path?
erasmas has joined #nixos
<avn> entries: I posted excerpt about all my boot-related settings earlier
goibhniu has quit [(Ping timeout: 240 seconds)]
<sphalerite> tilpner: if you want to run a docker daemon on your nixos machine, yes
<riclima> disasm maurer it's not for installing packages globally, it's just for using with development tools under virtual environments
<disasm> riclima: yup, that's a perfect example of something to do with nix-shell
<disasm> nix-shell is pretty much designed for development environments :)
<riclima> Sure, so in that case I use pip under nix-shell?
<tilpner> sphalerite - Good, just wanted to check if there's a convention to put daemons into PATH. FWIW, that puts dockerd in my path, but I won't put hyperd in my path for virtualisation.hyperd.enable = true;
<disasm> nix-shell is like virtualenv for the entire dependency tree down to c libraries and everything
<maurer> riclima: Yeah, that will still work, but disasm is correct - using a shell.nix here is the preferred solution within nixos
<riclima> I'm not under nixos :P
<riclima> macOS
<disasm> riclima: well nix in general :)
<disasm> nix-shell works great on osx
<riclima> I'll read more into it, and sounds great, but while developing it's a hassle to use non-standard tools that the other devs aren't gonna be using
Tucky has quit [(Quit: WeeChat 1.9.1)]
<ldlework> nix-shell is so cool
<riclima> Like, if everyone is just using `pipenv run` and what not
<maurer> riclima: So, if you're not gonna use nix-shell and the rest of the nix stack, I'd suggest installing pip+venv through a more traditional OSX installation mechanism
<ldlework> I was using Docker to develop locally, like instead of having Go on my machine, I would just docker build a Dockerfile that build the binary and I'd test things that way
<riclima> maurer I'm using it for global installs and for other types of development
<ldlework> But a co-worker pointed out that you can't get the benefits of language facilities, for like your editor
<ldlework> nix-shell is the perfect intermediary
<disasm> riclima: yeah, you may want to just use homebrew if you want to do things the way everyone else does
<riclima> maurer it just felt messy to have some packages under Homebrew, and others under nix
lsix has quit [(Quit: Konversation terminated!)]
<riclima> disasm nah, I'm pretty excited about doing most of my development under nix, but Rome wasn't built in a day ;) I have a lot of documentation to read and in the meanwhile, work to do
<maurer> riclima: Yeah, what you're suggesting will work, I was more pointing out that if you aren't getting the actual dependency isolation benefits from nix, you kind of end up paying the weirdness cost with few benefits
<riclima> maurer I see
<riclima> maurer It's a step on my transition, is what I meant. Anyway, for the application I'm writing now, I intend to deploy it using Nix
<maurer> Yeah, in that case, the nix file you use to build/deploy it will end up containing almost all of what you'd put in a shell.nix anyways >_>
<maurer> only thing that'd be missing would be devtools and editor configurations
<riclima> OK, well which part of the manual should I be looking into?
p4cman has joined #nixos
pxc has joined #nixos
<joko> Anyone to help me with the NixOS tests? I'm running the installer one and I would like to give the VMs internet access
mrkgnao has quit [(Ping timeout: 240 seconds)]
<riclima> I'm gonna spend some time looking more into nix-shell, perhaps I'll figure out a way to use it so that I don't have to make other developers use nix to work on my project :)
obadz has quit [(Quit: WeeChat 1.9.1)]
<riclima> Thanks for all the tips!
mal_ has joined #nixos
<sphalerite> tilpner: right. I'd say there's probably not really one particular right or wrong way. If you have the docker daemon it makes sense to install the docker client as well (put it in systemPackages) usually, and I'm guessing that would just bring the daemon along with it just because it's not separated, because they're built together and stuff
<mal_> hi, running virt-install ... --network bridge=virbr0 i get "ERROR '/usr/libexec/qemu-bridge-helper' is not a suitable bridge helper: No such file or directory". Any ideas how to fix this?
<mal_> qemu-bridge-helper is in /nix/store/ multiple times though
<sphalerite> tilpner: also because AFAIU it's quite common to run the daemon from the command line to debug issues with it
<disasm> riclima: I hear ya, I made the jump to nixos on my mac about 6 months ago. First month was a crazy learning curve :)
pie_ has joined #nixos
<ldlework> disasm are you managing your dotfiles with nix?
<tilpner> sphalerite - I understand how it's done currently. My question was more of a "is this how we want it to be?". I have added the hypercontainer toplevel set, which contains hyperd, hyperctl and vmlogd. hyperd and vmlogd are not put into the users path but started as services on virtualisation.hyper.enable. Only hyperctl is added to my path, and if I need to debug hyperd I can use nix-shell to bring hyperd into
<tilpner> path
<disasm> ldlework: not yet... most of my configs in my dotfiles (zsh, vim) are globally set in configuration.nix
<disasm> been meaning to play with home-manager, but no time!
<sphalerite> Right
iqubic_ has quit [(Remote host closed the connection)]
<riclima> how come when I run `nix-env -I ~/SourceCode/personal-nixpkgs`
<riclima> error: no operation specified?
ShalokShalom_ has quit [(Ping timeout: 248 seconds)]
<tilpner> riclima - -I only adds to NIX_PATH, -i installs things
<ldlework> disasm: nliadm and I are thinking about writing a thing
<riclima> Ahh, I guess I misunderstood the flag
<riclima> I figured it would add that to the NIX_PATH permanently?
<riclima> I guess I should just add that to my profile?
digitus has joined #nixos
<tilpner> No, only for the current command
<riclima> Or is there a nix config file?
supercynic has quit [(Quit: Bye!)]
<tilpner> Your profile is probably the right place
<riclima> tilpner excellent, cheers
phreedom has quit [(Ping timeout: 260 seconds)]
charlycoste has quit [(Remote host closed the connection)]
jb55 has joined #nixos
<ryantm> In mkMerge, what does _type = "merge" do?
mal_ has left #nixos ["WeeChat 1.8"]
entries has quit [(Ping timeout: 260 seconds)]
MichaelRaskin has joined #nixos
ThatDocsLady has quit [(Remote host closed the connection)]
ThatDocsLady has joined #nixos
<copumpkin> is there a good way for a list module option type to say "give me the default value + this thing I ask for"
<copumpkin> the values I want are in the option'
<copumpkin> s default value
<copumpkin> I don't want to repeat the default in my config
<copumpkin> but I also want it
ma27 has quit [(Quit: WeeChat 1.9)]
ma27 has joined #nixos
civodul has quit [(Remote host closed the connection)]
ebzzry has joined #nixos
<infinisil> copumpkin: put options in the argument list at the beginning
<infinisil> then options.<your>.<option>.default
<copumpkin> oh I guess I can just pull it out of there
<copumpkin> good point
<copumpkin> thanks :)
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<infinisil> :)
<copumpkin> forgot that it got passed in!
<riclima> So I know this is probably a long shot but
<riclima> Anyone here use borgbackup on macOS? I'm getting an error trying to install it
<riclima> Says package acl is not supported on darwin :/
<riclima> Should I file a bug report?
ShalokShalom has joined #nixos
<MichaelRaskin> You could try to run the same command with env NIXPKGS_ALLOW_BROKEN=1 to see if it is a real problem or lack of confidence.
<riclima> What does that do? Just get the binaries anyway and try to run in?
<copumpkin> I think acl is legit not supported on non-linux
<copumpkin> I think it's just a case of a conditional dependency
<copumpkin> assuming borgbackup claims to work on macos
<riclima> It does, already used it before
<riclima> Well, don't have time to debug right now
<joepie91> riclima: if it can work without acl on darwin, then you should definitely file a bug; it means a conditional dependency should probably be added to the expression
<riclima> I don't know what acl is tbh, borgbackup is normally distributed as a 6mb self-contained binary
<riclima> Now I guess Nix needs to be able to build it from source, so there must be a way to build it without acl?
<riclima> I'll revisit it and file a bug report if nobody has yet
<copumpkin> yeah
<copumpkin> that's all we're saying
<copumpkin> buildInputs = [ acl lz4 openssl python3Packages.setuptools_scm ];
<copumpkin> that's currently in the expression
griff_ has quit [(Quit: griff_)]
<copumpkin> that acl bit just needs to be optional
<copumpkin> well, that's one thing wrong; who knows if it'll need more massaging to work on macOS
<copumpkin> if you don't have time to fix it, I'd just file a bug as you said
ThatDocsLady has quit [(Remote host closed the connection)]
ThatDocsLady has joined #nixos
b has quit [(Quit: leaving)]
b has joined #nixos
endformationage has joined #nixos
jgertm has joined #nixos
jensens has quit [(Ping timeout: 255 seconds)]
nixer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30365: qutebrowser: 0.11 -> 1.0 (master...qutebrowser-1.0) https://git.io/vdi3R
NixOS_GitHub has left #nixos []
iqubic has joined #nixos
ma27 has quit [(Ping timeout: 264 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #30393: nix-bundle: 0.1.2 → 0.2.0 (master...nix-bundle-0.2) https://git.io/vdPxD
NixOS_GitHub has left #nixos []
mrkgnao has joined #nixos
mrkgnao has quit [(Client Quit)]
<disasm> ldlework: ooh, what's your plans for it?
<ldlework> disasm basically a similar thing as home-manager, with techniques added from tilpner and nliadm, with more factored code, and a better end-user UX (how you organize your actual dotfiles)
<disasm> sounds cool. have you talked to rycee at all about if he'd be interested in adopting the features your discussing with home manager?
chakerbenhamed1 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] flokli opened pull request #30394: neomutt: 20170912 -> 20171013 (master...neomutt) https://git.io/vdPhq
NixOS_GitHub has left #nixos []
<joepie91> ldlework: subscribe
<joepie91> :P
<ldlework> joepie91 come hang out in ##nix-home and help us figure it out
<ldlework> disasm no, I just found nix two days ago so I don't want to assume I'm doing anything intelligent yet lol
<joepie91> joined :)
seanparsons has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
seanparsons has joined #nixos
ThatDocsLady has quit [(Quit: Leaving)]
nixer has quit [(Quit: Page closed)]
taktoa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vdXeg
<NixOS_GitHub> nixpkgs/master cdd3b97 Vincent Laporte: camlp4: init at 4.06+1
NixOS_GitHub has left #nixos []
r0llerd3rby has joined #nixos
mortum5 has joined #nixos
Judson has joined #nixos
Judson is now known as Guest69682
<gleber_> Ankhers: looks like something broke Erlang with Java on Darwin. Any chances you could look into https://hydra.nixos.org/build/61091959/nixlog/2 and https://hydra.nixos.org/build/62398047/nixlog/2 ?
jbgi has joined #nixos
ris has joined #nixos
revtintin has joined #nixos
ambro718 has joined #nixos
revtintin has quit [(Client Quit)]
asdfoiawe has joined #nixos
<ambro718> I want to try VS Code (it's in nixpkgs) but the C++ extension doesn't work, I think it downloads some binaries and tries to run them and of course they don't. What's the trick to make it work? The same stuff that is done for Steam, right?
<copumpkin> one approach might be to plumb in an FHS filesystem at runtime, assuming the error is that it can't find ld.so
riclima has quit [(Read error: Connection reset by peer)]
a6a3uh has joined #nixos
<makefu> hyper_ch: i know, i am a bit late but https://nixos.wiki/wiki/Packaging_Binaries
truh has quit [(Ping timeout: 240 seconds)]
<iqubic> How do I prevent my laptop? from going to sleep when I close the lid?
Itkovian has joined #nixos
<manveru> iqubic: look for docs on xset and dpms
<manveru> i think that was it... not sure anymore
<iqubic> Isn't there an option I can throw into configuration.nix?
<iqubic> Yes, that look like the option I want to change.
<iqubic> I'll just set it to ignore, and that will be that.
<manveru> let's hope it works :)
civodul has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vdXqi
<NixOS_GitHub> nixpkgs/master acee0f9 Joerg Thalheim: android-udev-rules: 20170612 -> 20171014
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vdXqP
<NixOS_GitHub> nixpkgs/release-17.09 8cfaaae Joerg Thalheim: android-udev-rules: 20170612 -> 20171014...
NixOS_GitHub has left #nixos []
<iqubic> Well. that didn't work at all?
<iqubic> Do I need to reboot to gt services.logind.lidSwitch to work?
VLetrmx has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdXqN
<NixOS_GitHub> nixpkgs/master ed09240 joncojonathan: babl: 1.2.8 -> 1.3.4...
<NixOS_GitHub> nixpkgs/master 662e961 Jörg Thalheim: Merge pull request #30328 from joncojonathan/update-babl0_1_34...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdXmf
<NixOS_GitHub> nixpkgs/master 7a86e4c adisbladis: cryfs: Enable tests
<NixOS_GitHub> nixpkgs/master 23dcc08 Jörg Thalheim: Merge pull request #30390 from adisbladis/cryfs_tests...
NixOS_GitHub has left #nixos []
<iqubic> Also, adding "setopt correct" to my zshLoginShellInit did nothing.
<iqubic> But I think that's because I haven't re-logged.
<iqubic> Yeah, now "setopt correct works.
r0llerd3rby has quit [(Ping timeout: 240 seconds)]
<iqubic> Still not getting "services.logind.lidSwitch = ignore" to work
ebzzry has quit [(Ping timeout: 264 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdXmr
<NixOS_GitHub> nixpkgs/master 8342c04 Matthew Bauer: nix-bundle: 0.1.2 → 0.2.0
<NixOS_GitHub> nixpkgs/master 965e249 Jörg Thalheim: Merge pull request #30393 from matthewbauer/nix-bundle-0.2...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30394: neomutt: 20170912 -> 20171013 (master...neomutt) https://git.io/vdPhq
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdXmj
<NixOS_GitHub> nixpkgs/master 847beb5 Florian Jacob: nixos/firewall: Rename misleading rejected to refused in logging...
<NixOS_GitHub> nixpkgs/master b90f508 Jörg Thalheim: Merge pull request #30324 from florianjacob/firewall-clarify-logging...
NixOS_GitHub has left #nixos []
jabranham has joined #nixos
Acou_Bass has quit [(Ping timeout: 246 seconds)]
<manveru> maybe it depends on whether you use logind or not?
hotfuzz_ is now known as hotfuzz
<iqubic> manveru: "services.logind.enable" does not exist
truh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dupgit closed pull request #30291: Adds cdpfgl programs into nix. (master...master) https://git.io/vdwU5
NixOS_GitHub has left #nixos []
<manveru> yeah, looks like it's non-optional
<iqubic> SO do I have to reboot to make this work?
<manveru> well, does logind restart when you do nixos-rebuild switch?
<manveru> systemctl status systemd-logind
MP2E has joined #nixos
<iqubic> It says that it is running.
mudri has joined #nixos
<manveru> since when?
a6a3uh has quit [(Quit: Bye)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30287: borgbackup: 1.0.11 -> 1.1.0 (master...borgbackup) https://git.io/vdVbg
NixOS_GitHub has left #nixos []
<iqubic> It's been running for the past 2H
<iqubic> Is there a way to restart a service?
<iqubic> 2H = 2 hours
<manveru> `sudo systemctl restart systemd-logind`
<manveru> might reset your X though?
<iqubic> Nope. Didn't kill X
<iqubic> And now that works.
<iqubic> Now I can close my laptop lid without my machine going to sleep.
<manveru> :D
<iqubic> Thanks for your help manveru.
nh2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdXOD
<NixOS_GitHub> nixpkgs/master f78aca5 Yegor Timoshenko: ibus-table: add pygobject3...
<NixOS_GitHub> nixpkgs/master a4b999f Jörg Thalheim: Merge pull request #30288 from yegortimoshenko/patch-3...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vdXOF
<NixOS_GitHub> nixpkgs/release-17.09 c6356ce Yegor Timoshenko: ibus-table: add pygobject3...
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdXOA
<NixOS_GitHub> nixpkgs/master f9672ea Stefan Lau: chromedriver: 2.31 -> 2.33
<NixOS_GitHub> nixpkgs/master 93babf0 Jörg Thalheim: Merge pull request #30251 from selaux/chromedriver-2.33...
NixOS_GitHub has left #nixos []
rburkholder has joined #nixos
heinz9 has joined #nixos
ebzzry has joined #nixos
<heinz9> is it possible to remove a user profile? I want to set an option in configuration.nix, which is already defined below /nix/var/nix/profiles/per-user/root
erictapen has joined #nixos
<infinisil> heinz9: I'm not sure i understand what you mean
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nisstyre has joined #nixos
jabranham has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
<heinz9> infinisil: "services.xserver.displayManager.sddm.theme" is already set in /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/x11/desktop-managers/plasma5.nix, but i want to set it in configuration.nix. I did not set in the file below .../root/...
<infinisil> heinz9: use services.xserver.displayManager.sddm.theme = mkForce <your value>;
<infinisil> lib.mkForce
<infinisil> and add lib to your arguments at the top of the file
<disasm> heinz9: I believe that's saying you have plasma5 enabled that's already setting the theme, what infinisil says is the way to do it.
<ldlework> infinisil you said you linked to the relevant part of the docs; could you hit me with that again?
<ldlework> about the options and the activation, etc
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vdXst
<NixOS_GitHub> nixpkgs/master 90594b8 Eli Flanagan: modsecurity: 2.9.0 -> 2.9.2...
<NixOS_GitHub> nixpkgs/master adc116b Daiderd Jordan: Merge pull request #30349 from efx/topic-modsecurity-update...
NixOS_GitHub has left #nixos []
<heinz9> infinisil: disasm: thanks that did the trick. couldnt find that in the documentation or anywhere else. this irc is really of great help
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vdXsn
<NixOS_GitHub> nixpkgs/master 86ebd2e gnidorah: kmsxx and pykms: init at 2017-10-03
<NixOS_GitHub> nixpkgs/master cf4a2bb gnidorah: kmsxx, pykms: suggestions by @FRidh
<NixOS_GitHub> nixpkgs/master 9087f56 gnidorah: ksmxx: 2017-10-03 -> 2017-10-10
NixOS_GitHub has left #nixos []
hellrazo1 has quit [(Ping timeout: 248 seconds)]
catch22_ has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mudri has quit [(Ping timeout: 240 seconds)]
Guest79382 has quit [(Quit: Lost terminal)]
<infinisil> ldlework: https://nixos.org/nixos/manual/ section 5 and 31
<ldlework> thanks
<infinisil> And reading nixpkgs/lib/{options,types,modules}.nix is also helpful
<infinisil> Oh and actually there's an article in the wiki: https://nixos.wiki/wiki/NixOS_Modules ldlework
<infinisil> The wiki looks great btw!
hellrazo1 has joined #nixos
notdaniel has joined #nixos
Itkovian has joined #nixos
<gleber_> I am unable to reproduce https://travis-ci.org/NixOS/nixpkgs/jobs/287172491#L2557 neither on NixOS nor on Ubuntu. The GCC command is suspicious since it includes from `/usr/include/postgresql` O_O Any ideas how to reproduce?
aneeshusa has quit [(Quit: WeeChat 1.9.1)]
mudri has joined #nixos
kozaim has joined #nixos
<LnL> yeah that looks suspicious
<LnL> maybe try a build after apt-get install postgresql-dev
mudri has quit [(Ping timeout: 240 seconds)]
<LnL> it's pretty likely that travis has those installed so that people using python/ruby dependencies don't run into problems
<gleber_> LnL: trying this out
heinz9 has quit [(Quit: Page closed)]
<kozaim> Hey there. Question: How do I install Firefox Developer Edition? I see a sources.nix and stuff about a devedition channel in default.nix here? https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/networking/browsers/firefox-bin
<tilpner> Install firefox-devedition-bin
<kozaim> Hmm I get error: undefined variable ‘firefox-devedition-bin’ at /etc/nixos/configuration.nix:39:5
<kozaim> When I do that
<tilpner> It's in pkgs, so you need either pkgs.firefox-devedition-bin, or with pkgs; [ firefox-devedition-bin ]
<tilpner> If that doesn't work, paste your config
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30029: citrix-receiver: 13.4.0 -> 13.7.0 (master...citrix_receiver_13.7.0) https://git.io/vdCf7
NixOS_GitHub has left #nixos []
<gchristensen> can someone with nix-on-linux-but-not-nixos run test -e /nix/var/nix/daemon-socket; echo $? and telll me what it returns?
schoppenhauer has quit [(Read error: Connection timed out)]
<disasm> gchristensen: that needs to be multi-user right?
<gchristensen> I'd like them to not use the daemon for this test
<disasm> ah, one sec...
<gchristensen> I want to see if the dir exists on a single-user install
<disasm> 1
<gchristensen> nice
<kozaim> tilpner: Here's my pkgs config: http://lpaste.net/359225
<kozaim> Doesn't seem to work with pkgs in front either
* disasm surprised gchristensen doesn't have a non-nixos linux machine to play with :)
<gchristensen> lol :)
<infinisil> VM?
<tilpner> kozaim - Is your system still on 17.03? 17.09 and unstable have devedition, so you could also use unstable.firefox-devedition-bin
<kozaim> Yeah, haven't gotten around to checking out the update yet
<kozaim> Guess I'll check it out. Thanks for the help!
<tilpner> kozaim - You don't have to upgrade
<tilpner> (But it wouldn't be much trouble or a bad idea)
<kozaim> Or use the unstable channel huh
<tilpner> That's what I said
<kozaim> Yeah :)
<kozaim> But updating is a better idea like you said
<kozaim> So I'll check that out
<tilpner> :)
<kozaim> Thanks man :)
<gleber_> LnL:
<gleber_> LnL: it did fail now!
<LnL> impurities!
mudri has joined #nixos
<gleber_> LnL: this mean that configure script should be patched in pgadmin3, right?
schoppenhauer has joined #nixos
<LnL> well travis should probably run with sandboxing enabled
<infinisil> travis isn't running with sandboxing??
<LnL> but yes, you can probably fix/remove the /usr/local references from configure or the makefile
<LnL> I assume so, since that build finds the system postgres headers
dw has joined #nixos
<gleber_> LnL, infinisil: yeah, the build has `checking PostgreSQL in /usr... ok` line
<gchristensen> but also we don't really depend on travis
<gleber_> Is it better to substitute `configure` or pass explicitly `--with-pgsql` argument ?
<elvishjerricco> For uefi installations, aren't you not supposed to need `boot.loader.grub.device`?
<infinisil> gleber_: Of course!
<gleber_> infinisil: Of course substitute, or of course argument? :)
<gchristensen> arg would be better
<infinisil> gleber_: argument
<gleber_> gchristensen: infinisil: ack!
<infinisil> i mean giving arguments is explicitly supported, patching the source is super hacky and may break at any point
dw has left #nixos []
<tilpner> Is there any hack to build things as root?
<infinisil> "Lets instead of using /usr/local directly, build a path with { "usr", "local" }" - Some devs, probably
<infinisil> -> patching breaks :P
<gleber_> infinisil: right
kozaim has quit [(Remote host closed the connection)]
<disasm> tilpner: what's the use case?
<tilpner> Hmm, spelling it out makes it sound wrong
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<tilpner> Sending commands to a daemon that's hopefully running, which requires you to be root
<gchristensen> ouch
<tilpner> (hyperctl with hyperd)
<tilpner> I can't just start the daemon for the build, it insists on being sole ruler of my laptop, and I don't know if there's already one running at build-time
MichaelRaskin has quit [(Remote host closed the connection)]
<joko> Any idea where "a web server that simulates cache.nixos.org" is referring to?
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc opened pull request #30397: nix-help: init (master...nix-help) https://git.io/vdX88
NixOS_GitHub has left #nixos []
<joko> elvishjerricco: no, I think you have to set it to "nodev"
<elvishjerricco> Yea I just thought that was weird. Having trouble getting a new install to boot on a new machine
<gchristensen> https://github.com/grahamc/nixpkgs/blob/d55966b7928671b00517c7021da44641719b7092/pkgs/tools/nix/help/help.sh would anyone mind fetching and running this script , and sending me the results?
<tilpner> NixOS too?
<infinisil> joko: I haven't used this, but read `man nix-push`
<CrazedProgrammer> elvishjerricco: why not use systemd-boot? https://nixos.org/nixos/manual/index.html#sec-uefi-installation
<joko> infinisil: good idea
<elvishjerricco> CrazedProgrammer: I am. It still complains that `boot.loader.grub.device` is required.
<elvishjerricco> And still won't boot =P
<infinisil> joko: Then i think all you need is a simple web server to serve it
<elvishjerricco> This is 17.09 btw
<joko> infinisil: I'm working on https://github.com/NixOS/nixpkgs/pull/30192 and I have trouble accessing the net
<sphalerite> joko: see also services.nix-serve. Probably easier to set up.
jbgi has quit [(Quit: WeeChat 1.9.1)]
<pbogdan> gchristensen: ./help.sh: bad interpreter: /bin/bash: no such file or directory
<CrazedProgrammer> elvishjerricco: you sure you've set boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; ?
<infinisil> ah right, i thought I saw nix-server somewhere but couldn't think of where
<elvishjerricco> Oh I didn't have `canTouchEfiVariables`. Don't even know what that is
<infinisil> serve*
<gchristensen> heh, the build fixes thaht. can you fix it by hand and trry again, pbogdan ?
mudri has quit [(Quit: WeeChat 1.9.1)]
<elvishjerricco> CrazedProgrammer: looking at the manual, that looks like it's probably it. Thanks!
<joko> alright
<CrazedProgrammer> elvishjerricco: no problem :)
<elvishjerricco> CrazedProgrammer: That should really be in the manual next to the systemd-boot bit.
<sphalerite> gchristensen: on osx (run using bash explicityl rather than relying on the shebang) system: "x86_64-darwin", multi-user? no, version: nix-env (Nix) 1.11.15, channels(linus): "nixpkgs-18.03pre116939.d7d774deea", nixpkgs: /Users/linus/.nix-defexpr/channels/nixpkgs
<sphalerite> gchristensen: (it is indeed single-user because high sierra)
<gchristensen> cool!
MichaelRaskin has joined #nixos
<efx> why does nix-env -f https://github.com/NixOS/nixpkgs/archive/master.tar.gz -iA apache-httpd not work, but nix-env -f https://github.com/NixOS/nixpkgs/archive/master.tar.gz -qa apache-httpd does?
<gchristensen> MichaelRaskin: you have one of the weirder nix systeems, canyou test https://github.com/NixOS/nixpkgs/pull/30397 and report back what it says?
<efx> i'm just confused using nix-env switches for querying, and then installing things from the master branch of nixpkgs
<pbogdan> gchristensen: system: "x86_64-linux", multi-user? yes, version: nix-env (Nix) 1.11.15, channels(root): "nixos-17.09.1547.2231575a7d", channels(pbogdan): "extrapkgs", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<gchristensen> nice!
kp__ has joined #nixos
<tilpner> efx - Attribute name vs name attribute. The attribute is called apacheHttpd, try that one
<sphalerite> gchristensen: on my nixos laptop system: "x86_64-linux", multi-user? yes, version: nix-env (Nix) 1.11.15, channels(root): "nixos-17.09.1547.2231575a7d", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<sphalerite> (and one more to go)
<CrazedProgrammer> elvishjerricco: i agree. someone could make a PR that adds that point to https://github.com/NixOS/nixpkgs/blob/release-17.09/nixos/doc/manual/installation/installing-uefi.xml
<MichaelRaskin> gchristensen: does just running the «bash help.in» work well enough?
<sphalerite> gchristensen: on my hacky install in debian in a chroot on my chromebook system: "armv7l-linux", multi-user? yes, version: nix-env (Nix) 1.11.11, channels(root): "nixpkgs-17.09pre111304.5328102325", nixpkgs: /home/linus/nixpkgs
<gchristensen> yep, MichaelRaskin
<gchristensen> nice
<MichaelRaskin> system: "x86_64-linux", multi-user? yes, version: nix-env (Nix) 1.11.15, channels(raskin): "", nixpkgs: /home/repos/nixpkgs
<MichaelRaskin> Which is even all true.
<efx> tilpner: thanks, i put that in earlier and it works but I was more wondering the why of these selection methods. It seems odd to me that I query available and then install differently. So nix-env -iA basically looks for a package with the name attribute of apacheHttpd
<tilpner> efx - Alternatively, use -i apache-httpd
<gchristensen> cool :) thank you MichaelRaskin
<gchristensen> that PR seeems good to me thene
<tilpner> efx - It's odd, slow, unintuitive, and I hope it gets removed
<efx> thanks tilpner, that -i is exactly what i needed. oh, wow, you can tell i don't know what i'm doing
<MichaelRaskin> Dunno if it is better to paste UID and not username
<efx> lol, you know, user interaces
<MichaelRaskin> Technically, local username is a disclosure.
<efx> s/interaces/interfaces
<efx> gchristensen: i have a multi user install on os x. Need me to run that script?
<MichaelRaskin> And unlike Nixpkgs path we don't have any way to use it for helping
<gchristensen> userss that care can sanitise it it
<sphalerite> sed s/$USER/\$USER/
<tilpner> No, please no privacy by opt-in :/
<MichaelRaskin> Well, we care only about uid-0/non-uid 0, and printing numeric uid is approximately the same effort.
<gchristensen> I put the userename in theree on purpose, I think it is helpful
<tilpner> (username isn't important, but sitll)
<MichaelRaskin> How is it helpful beyond «is UID=0?»
<gchristensen> privacy by default: you don't share that tweet-length message unless you install it, run it, cocpy it, and paste it
<gchristensen> truly multi-user systems
<copumpkin> how do I pass multiple binary caches in with --option binary-caches?
<MichaelRaskin> With '' and spaces
<copumpkin> aha!
<copumpkin> thanks
<gchristensen> tweet length is relevant not because it is short, but because it isn't long enough to be cumbersome to review
efx has quit [(Remote host closed the connection)]
<LnL> just spaces is enough
<LnL> oh n/m
<sphalerite> gchristensen: also because you can tweet it out to the world to show off your nixos systems :p
<sphalerite> s/nixos/nix/
<gchristensen> :P
<MichaelRaskin> gchristensen: I wonder if detecting non-/nix prefix is helpful
bennofs has quit [(Ping timeout: 255 seconds)]
<gchristensen> I'm hoping it'll be obvious, I don't intend this script to debug everything, just provide a high level set of info to kick off IRC help
<MichaelRaskin> I guess «nix-instantiate '<nixpkgs>' -A stdenv» should always succeed quickly and tell the store path…
riclima has joined #nixos
<MichaelRaskin> It is more about multi-user detection
<gchristensen> eh? multi-user via different prefixes?
<LnL> nix-instantiate --eval -E 'builtins.storeDir'
<MichaelRaskin> That would be fun (but possible). I mean the current prefix can be not /nix and then multi-user detection is wrong (and half of our assumptions are wrong too)
<gchristensen> oh
<gchristensen> I'mhoping someone who has done that will be able to tell us that, and know it is relevant, heh
<gchristensen> but worth exploring that,yeah
<MichaelRaskin> I really hope we won't see anyone with $NIX_STATE_DIR not matching $NIX_STORE_DIR, though
civodul has quit [(Ping timeout: 240 seconds)]
kp__ has quit [(Quit: WeeChat 1.4)]
kp__ has joined #nixos
a6a3uh has joined #nixos
<elvishjerricco> CrazedProgrammer: Huh. That still didn't work. No boot =/
noam has quit [(Read error: No route to host)]
noam has joined #nixos
<sphalerite> MichaelRaskin: wait that's a thing? Heh
<sphalerite> elvishjerricco: are you on an EFI-capable system? Do you have an EFI system partition? Did you mount it to /mnt/boot for installation?
<MichaelRaskin> As for just using non-standard storePath — I even used it; I don't see any reason to change NIX_STATE_DIR, though.
<infinisil> How about ACL's for the nix store
gandreani has quit [(Quit: Lost terminal)]
<sphalerite> infinisil: why :(
<infinisil> for private nix and multi-user systems
<sphalerite> Sounds like a great way to break stuff
<sphalerite> And unreliable for keeping secrets too I'd guess
<sphalerite> I think the best approach is to just keep secrets out of the nix store
<infinisil> oh and sparkle some encryption in there too
<sphalerite> Meh
<sphalerite> Even if the extension for secrets in the store gets anywhere I think I'll try to avoid using it
<infinisil> why?
<infinisil> i think it depends on the implementation
<sphalerite> It just feels wrong
<sphalerite> I'd say secrets are state
<symphorien> I try ` boot.crashDump.kernelPackages = pkgs.linuxPackages_4_13; ` but nixos-rebuild tells me: error: The option value `boot.crashDump.kernelPackages' in `/etc/nixos/hibernationbug.nix' is not a package. Any idea why ?
<symphorien> even the default value gives the above error
<infinisil> sphalerite: I know what you mean, but the situation with private nix is really bad right now
<sphalerite> infinisil: that's the thing, nix *isn't* private
<sphalerite> I think it's fine that way
<disasm> gchristensen: system: "x86_64-linux", multi-user? no, version: nix-env (Nix) 1.11.11, channels(sleathers): "nixpkgs-18.03pre114739.d0d905668c", nixpkgs: /home/sleathers/.nix-defexpr/channels/nixpkgs
<infinisil> I really don't think it's fine: https://nixos.org/nixos/options.html#password
<infinisil> all kinds of passwords as options
<sphalerite> That's not a nix problem though, it's a nixos modules problem
<sphalerite> IMHO
jb55 has quit [(Ping timeout: 260 seconds)]
<infinisil> if nix was able to do stuff privately, these options wouldn't be unencrypted in the store
a6a3uh has quit [(Quit: Bye)]
notdaniel has quit [(Quit: Leaving)]
riclima has quit [(Quit: riclima)]
hiratara has quit [(Ping timeout: 255 seconds)]
<infinisil> I don't know much about this, but maybe keybase integration would be possible and solve the problem
hiratara has joined #nixos
riclima has joined #nixos
Ivanych has quit [(Ping timeout: 255 seconds)]
jb55 has joined #nixos
Acou_Bass has joined #nixos
<Acou_Bass> /join ##nixheads
<Acou_Bass> ahh poo
<Acou_Bass> please ignore ;)
MoreTea has quit [(Remote host closed the connection)]
riclima has quit [(Quit: riclima)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] flokli opened pull request #30398: gummi: init at 0.6.6 (master...gummi) https://git.io/vdXzP
NixOS_GitHub has left #nixos []
johnw_ is now known as johnw
johnw has quit [(Changing host)]
johnw has joined #nixos
mortum5 has quit [(Ping timeout: 260 seconds)]
<infinisil> Acou_Bass: If you have a nix question you can ask it here
<symphorien> how ca I get the closed hydra-build commit to a given commmit ?
<infinisil> what's a closed commit?
<Acou_Bass> infinisil: ive been in this channel for a while hehe i just re-setup my ZNC so had to /join all my old channels again :(
<infinisil> Ahh lol
<symphorien> *closest sorry
erictapen has quit [(Ping timeout: 240 seconds)]
<LnL> that contains the nixpkgs revision
<gchristensen> nice, thank you disasm
<LnL> you can also get the revision for the last succeeded build of a job through the api
iqubic has quit [(Remote host closed the connection)]
<infinisil> Didn't know there was a hydra API :O
<symphorien> LnL: thanks but lets assume that git bisect tells me to test rev abcdef, how can I get a "close" commit built by hydra ?
<infinisil> Wondering about that too ^^
<LnL> oh, that would be a bit more tricky
<gchristensen> if ! nix-build . -A stdenv -j0 ; git bisect skip; fi
<LnL> that's a clever trick
<infinisil> damn
<LnL> I've been doing that manually
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30398: gummi: init at 0.6.6 (master...gummi) https://git.io/vdXzP
NixOS_GitHub has left #nixos []
<infinisil> I'm stealing that trick
<gchristensen> do :)
leat has quit [(Ping timeout: 240 seconds)]
<LnL> won't work if you're looking for a bug tho
<infinisil> Why not?
<infinisil> Assuming the bug is not in stdenv
<gchristensen> no?
<LnL> well it was when I was bisecting last time :)
<gchristensen> so you were building stdenv itself?
<LnL> yeah, I ended up in a cluster of staging rebuilds
<infinisil> Weee \o/
<disasm> I had no idea 0 could be a arg for -j with nix-build :)
<LnL> I have a machine with nix.maxJobs = 0; to make it use distributed builds for eveything
<disasm> ooh, that's cool
hiratara has quit [(Quit: ZNC - http://znc.in)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c6356ce381 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
cement has quit [(Ping timeout: 240 seconds)]
hiratara has joined #nixos
<MichaelRaskin> At some point I had a script that sets a broken build sandbox. So that I could run all the _downloads/fetches_ without doing any builds.
<gchristensen> huh
<LnL> lol, so everything that's not a fixed output drv aborted?
<MichaelRaskin> Yep.
<MichaelRaskin> But subsituters worked.
iqubic has joined #nixos
simukis has quit [(Ping timeout: 246 seconds)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
Nobabs27 has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
hc_ has joined #nixos
truh has quit [(Ping timeout: 255 seconds)]
<ryantm> It's surprising that config for a submodule doesn't work the same way as config for a module.
hc has quit [(Ping timeout: 246 seconds)]
<disasm> ryantm: what's the issue?
<ryantm> disasm: I don't have an issue; It just seems like they are just very different in how they work.
<ryantm> disasm: in config of a module, you are basically in an environment like configuration.nix; config for a submodule seems to just be a attrset that gets merged into the submodule options set.
ambro718 has quit [(Ping timeout: 240 seconds)]
hc has joined #nixos
<disasm> ryantm: I think that's because nixos doesn't really have a concept of submodules. That attr set is just an attrset that's doing some stuff, it's not a real submodule. Someone smarter than me can correct me if I'm wrong.
<ryantm> It has something called "submodule" that is partially documented at https://nixos.org/nixos/manual/index.html#section-option-types-submodule
hc_ has quit [(Ping timeout: 240 seconds)]
hc has quit [(Ping timeout: 240 seconds)]
hc has joined #nixos
orivej has joined #nixos
<iqubic> Does anyone in here use EXWM? How well does it work?
<disasm> ryantm: ah, thanks, nifty
kosmikus has quit [(Remote host closed the connection)]
kosmikus has joined #nixos
<disasm> emacs really is it's own operating system, lol :)
<ryantm> disasm: There is an extra feature where you can add `config` to the submodule attrset and it lets you set more attributes based on the other submodule options.
erasmas has quit [(Quit: leaving)]
digitus has quit [(Quit: digitus)]
hc_ has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
jb55 has joined #nixos
<symphorien> where does kernelPackages come from ?
hc has quit [(Ping timeout: 255 seconds)]
markus1199 has joined #nixos
<symphorien> ah, I'm mixking kernelPackages and kernelpatches
hc has joined #nixos
hc_ has quit [(Ping timeout: 260 seconds)]
markus1189 has quit [(Ping timeout: 260 seconds)]
<symphorien> so where to kernelPatches in line 7 come from ?
<disasm> symphorien: pkgs/os-specific/linux/kernel/patches.nix
<symphorien> why inherit (boot.config) then ?
<symphorien> sorry config.boot
palo has joined #nixos
riclima has joined #nixos
<disasm> symphorien: ah, cause that's where the user sets the patches
Zitrax has joined #nixos
Zitrax has quit [(Client Quit)]
ison111 has joined #nixos
riclima has quit [(Client Quit)]
<disasm> err wait
<symphorien> well the option is declared after that import...
thc202 has quit [(Ping timeout: 246 seconds)]
Zitrax has joined #nixos
Zitrax has quit [(Client Quit)]
juriq has joined #nixos