jensens has joined #nixos
jcarr has joined #nixos
thc202 has quit [(Ping timeout: 240 seconds)]
gandreani has joined #nixos
Neo-- has joined #nixos
gandreani has quit [(Ping timeout: 240 seconds)]
python476 has quit [(Ping timeout: 260 seconds)]
peterbb has joined #nixos
ona has quit [(Read error: Connection reset by peer)]
sellout- has joined #nixos
rnhmjoj has quit [(Ping timeout: 240 seconds)]
boomshroom has joined #nixos
<boomshroom> Haven't been here in a while.
ona has joined #nixos
<boomshroom> I tried to do an update and got `error: anonymous function at /[snip]/steam/chrootenv.nix:1:1 called with unexpected argument ‘newStdcpp’`
<boomshroom> Did something with Steam change without the manual getting updated?
takle_ has quit [(Remote host closed the connection)]
<Infinisil> Hmm, looking into it
_ris has quit [(Ping timeout: 252 seconds)]
takle has joined #nixos
<boomshroom> My configuration includes `environment.systemPackages = [(pkgs.steam.override { newStdcpp = true; })];` as specified in the Nixpkgs manual to make OpenGL work on AMD.
<Infinisil> For some reason that argument is not present in unstable, it got removed at some point, trying to find the commit
<sellout-> So, I recently saw something about setting up shellAliases like `"stack" = "${pkgs.tree}/bin/stack --nix";` so you don’t need to have a package pre-installed for the alias to work.
takle_ has joined #nixos
pxc1 has quit [(Ping timeout: 252 seconds)]
<sellout-> Ok, I was going somewhere with that, but typing it out made me rethink it. I’ll be back :D
<Infinisil> boomshroom: Found it: https://github.com/NixOS/nixpkgs/pull/29180
takle has quit [(Ping timeout: 240 seconds)]
justanotheruser has joined #nixos
aneeshusa has joined #nixos
<Infinisil> boomshroom: Seems like you can just remove it, but this PR broke backwards compatibility
jb55 has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
acarrico has joined #nixos
pie_ has quit [(Ping timeout: 252 seconds)]
MP2E has joined #nixos
<sellout-> Ok, so … tradeoffs between defining an alias like `"stack" = "${pkgs.stack}/bin/stack --nix";` and one like `"stack" = "stack --nix"` (with stack installed via systemPackages)?
kiloreux has quit [(Ping timeout: 255 seconds)]
noobineer has joined #nixos
noobineer has quit [(Max SendQ exceeded)]
<sellout-> Also, is there a better option than `shellAliases = { "ns-scala" = "nix-shell '<nixpkgs>' -p sbt --run sbt" };` for shells I’m likely to run identically in multiple places?
noobineer has joined #nixos
jcarr has quit [(Ping timeout: 240 seconds)]
<tilpner> sellout- - There will be a difference for package that install more than binaries, e.g. those that come with manpages
<tilpner> sellout- - Other tools will also not be able to pick programs from your PATH
<tilpner> (E.g. cargo doc --open opens chrome for me instead of firefox because I don't have firefox in my PATH, even though firefox is my primary browser)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #29826: snes9x-gtk: 1.53 -> 1.54.1 (master...snes9x-gtk/1.54.1) https://git.io/vdqtz
NixOS_GitHub has left #nixos []
<tilpner> And one edge-case scenario: absolute aliases need the shell to reload its config to update, PATH aliases do not. This matters if the referenced paths have been gc-ed while the shell is open
<tilpner> Regarding your second question, why do you need '<nixpkgs>' in there?
bulldog has joined #nixos
<tilpner> I believe a better solution would be to put a default.nix/shell.nix into your project, then run nix-shell (aliased to nis) to bring the required dependencies in
jb55 has quit [(Ping timeout: 248 seconds)]
acarrico has quit [(Ping timeout: 248 seconds)]
cpennington has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
acarrico has joined #nixos
<bulldog> Hello, I am trying to add a custom Python module (from PyPi) into my NixOS config. So far I tried creating a separate file for the package (following this as an example https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/cachetools/default.nix) and importing it inside my config, like this: environment.systemPackages = with pkgs; [(python3.withPackages(ps: with ps; [ (import /home/user/nix/jupyter_contrib_nbex
<bulldog> but this seems to do absolutely nothing, can't figure out what is wrong >.<
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg opened pull request #29827: qt5, plasma-5: Make 'bin' output the first one (master...qt5-shuffle-outputs) https://git.io/vdqqe
NixOS_GitHub has left #nixos []
<fearlessKim[m]> any opinion on https://github.com/NixOS/nixpkgs/issues/29605 (aka removing CMakeCache.txt when doing CleanSource) ?
tilpner has quit [(Quit: :wq)]
tilpner has joined #nixos
athaller has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
<sellout-> tilpner: Thanks, that’s really helpful. And you’re right, I don’t need `'<nixpkgs>'` there – I think I just got that from the Nix manual and didn’t think about it.
Wizek has quit [(Quit: Connection closed for inactivity)]
<sellout-> tilpner: My concern with having shell.nix is that I build a bunch of different Scala projects somewhat irregularly, and if I change what I want to use for shell.nix, then I suddenly have a bunch that are out of date.
gandreani has joined #nixos
ryanartecona has joined #nixos
gandreani has quit [(Ping timeout: 240 seconds)]
<tilpner> sellout- - One more: If you want another program to use your ns-scala (or any other alias), they have to spawn a shell and read your config. It would be better (IMO) to create a bunch of tiny wrappers that act like aliases and put those into PATH
ryanartecona has quit [(Ping timeout: 260 seconds)]
<tilpner> That's usually annoying to do by hand, but we have Nix for that
coreteam has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto opened pull request #29828: cleanSource now filters cmake cache (master...cleanSource) https://git.io/vdqmS
NixOS_GitHub has left #nixos []
bfrog has quit [(Quit: WeeChat 1.9.1)]
Neo-- has quit [(Ping timeout: 248 seconds)]
jcarr has joined #nixos
jb55 has joined #nixos
lambdamu has joined #nixos
lambdamu_ has quit [(Ping timeout: 240 seconds)]
<sellout-> tilpner: Oh, that makes sense. Thanks again.
<mahalel_> oh sorry
<mahalel_> wrong window :(
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vdqYH
<NixOS_GitHub> nixpkgs/master 97e586b Peter Hoeg: libnfs: init at 2.0.0
NixOS_GitHub has left #nixos []
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] TravisWhitaker opened pull request #29829: ghc: Add enableBootLibPIC option. (master...ghc-boot-lib-pic) https://git.io/vdqYQ
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vdqY7
<NixOS_GitHub> nixpkgs/master eba5dd8 Peter Hoeg: cwiid: boy scout cleanups
NixOS_GitHub has left #nixos []
hellrazo1 has joined #nixos
Supersonic112_ is now known as Supersonic112
sigmundv has quit [(Ping timeout: 248 seconds)]
hellrazor has quit [(Ping timeout: 246 seconds)]
acarrico has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #29830: kodi: [WIP] move to cmake which is the default from 18.0 (master...f/kodi) https://git.io/vdqOq
NixOS_GitHub has left #nixos []
<bulldog> Does anyone know how come jupyter_core is not in nixos-unstable?
<bulldog> It is weird, I can install jupyter and it works, but some other packages I'm trying to build require jupyter-core, which seems to be nowhere
sivteck has joined #nixos
kiloreux has joined #nixos
sivteck has quit [(Quit: user missing.)]
ona has quit [(Ping timeout: 248 seconds)]
data8 has joined #nixos
kkini has quit [(Remote host closed the connection)]
Piece_Maker has joined #nixos
ryanartecona has joined #nixos
Acou_Bass has quit [(Ping timeout: 255 seconds)]
Piece_Maker is now known as Acou_Bass
ShalokShalom has quit [(Ping timeout: 248 seconds)]
takle_ has quit [(Remote host closed the connection)]
ryanartecona has quit [(Ping timeout: 240 seconds)]
koserge has quit [(Ping timeout: 248 seconds)]
pxc1 has joined #nixos
<Infinisil> i can find jupyter_core in unstable
<Infinisil> bulldog: it's pythonPackages.jupyter_core
<Infinisil> Going to sleep now though, cya!
Infinisil has quit [(Quit: leaving)]
<tilpner> I'm encountering the weird .drv not valid error again :/
<clever> tilpner: what are the contents of it?
<tilpner> (I was still preparing a paste)
<tilpner> ... It just changed. The error changed, without any changes I made
<clever> cant open links at the moment
<tilpner> cannot import '/nix/store/kh1jfhlw9kdbqpzrdfh2snfr1m4pxqg4-riot-electron-nix-ec1f0e61ee6822791e57b91b679e93d2c38ec56c-src', since path '/nix/store/ylcq7flzzmnshrbf9gd8crfmxsgxh678-riot-electron-nix-ec1f0e61ee6822791e57b91b679e93d2c38ec56c-src.drv' is not valid, at /nix/store/hj82dvnaj19b2n37c1lv2n5ki45gbc1f-nixpkgs-channels-1b8c7786ee75b834a76b443381aa7033372dffae-src/lib/customisation.nix:115:50
<tilpner> (just the last line)
<tilpner> And after a gc we're back to the old error: https://gist.github.com/8241780f314aadfae9707c1782a49bbe
<tilpner> I'm running "nix-env -qa racket --show-trace"
<tilpner> In both cases do parts of an overlay depend on Nix expressions fetched via fetchFromGitHub
<bulldog> Infinisil: Ah yes. I think I am just not passing it to my custom Python package
<tilpner> bulldog - Infinisil left
<bulldog> Unrelated question: is there a way to have a set inherit all the properties of another set.
<tilpner> bulldog - Instead of { inherit (foo) *; bar = 42; } you would do foo // { bar = 42; }
jellowj has quit [(Ping timeout: 252 seconds)]
<tilpner> (Or ... // foo)
<clever> tilpner: have you had any improper shutdowns recently?
<tilpner> clever - Yes. What was the effect of those?
<bulldog> tilpner: Ah cool. But crap, doesn't work for my use case. Basically want to pass a lot of dependencies to my Python package (like here), and wanted to avoid having to pass each one
<clever> tilpner: some filesystems will randomly truncate files
<clever> tilpner: how big is /nix/store/ylcq7flzzmnshrbf9gd8crfmxsgxh678-riot-electron-nix-ec1f0e61ee6822791e57b91b679e93d2c38ec56c-src.drv ?
ebzzry_ is now known as ebzzry
<bulldog> tilpner: but if I do `(import /home/user/nix/my_pkg.nix (ps // {stdenv = stdenv;}))` I get an error because I am passing unexpected args
<tilpner> clever - That was gc-ed away, I'll paste last line of the new error
<tilpner> cannot import '/nix/store/2a13h476p2lab4gk34bhfx9zy2id02w4-nixpkgs-mozilla-7e54fb37cd177e6d83e4e2b7d3e3b03bd6de0e0f-src/firefox-overlay.nix', since path '/nix/store/i2vr71wn0v3yvbkr1sxspwg0piggcnkd-nixpkgs-mozilla-7e54fb37cd177e6d83e4e2b7d3e3b03bd6de0e0f-src.drv' is not valid, at /cfg/nixos/overlays/20-firefox-overlay.nix:5:4
<clever> bulldog: ps.callPackage ./my_pkg.nix { inherit stdenv; }; maybe
<clever> tilpner: what about that .drv file, how big is it?
data8 has quit [(Read error: No route to host)]
<tilpner> clever - None of the paths exist :/
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9824ca6975 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
kakashiAL has quit [(Ping timeout: 260 seconds)]
<tilpner> (I'm on ext4 if that's relevant)
<clever> tilpner: what happens when you run "nix-store --query --hash" on each of them?, do they all return nothing?
<bulldog> clever: Ah cool, that does the trick!
<clever> bulldog: callPackage will dynamicaly figure out what a file wants, and pass it only what it needs
<clever> bulldog: and the set you put after the path, is overrides
<tilpner> clever - path ... is not valid, for both
<tilpner> I would gist the relevant Nix files, but you couldn't view them :/
<clever> firefox is up now
<bulldog> clever: Sweet, thank you!
<tilpner> (default.nix is the file ../pkgs/nixpkgsMozilla refers to)
coreteam has quit [(Quit: Leaving)]
<clever> tilpner: what about if you run nix-store --verify --check-contents
<tilpner> (running)
ebzzry has quit [(Ping timeout: 248 seconds)]
<tilpner> clever - https://tx0.co/b8-o
<clever> tilpner: not related, but it should probably be fixed
<tilpner> --repair-path?
<clever> yeah
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b06336377b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<bulldog> is there a way to set up a local clone of nixpkgs as a channel?
<tilpner> clever - Can I rebuild the database from the store, or otherwise clean it?
<bulldog> I only want to use the local clone for some packages, not all!
<clever> [clever@amd-nixos:~]$ cat .nix-defexpr/test/foo/default.nix
<clever> import /home/clever/apps/nixpkgs
<clever> bulldog: this appears as nix-env -iA foo.hello
<clever> tilpner: not really
<bulldog> clever: But I want to use it in my nixos config as well
<clever> bulldog: you can just put a path directly in the nix expression
<clever> bulldog: import /home/clever/nixpkgs {};
<tilpner> Hmm, /nix/var/nix/db/db.sqlite passes a pragma integrity_check;
<clever> tilpner: the sqlite db is heavily protected by sqlite code
<clever> tilpner: but i have seen the sqlite db wind up "newer" then the data in /nix/store/
<clever> tilpner: files within the store got truncated, and where at an older state then the db
<tilpner> Yeah, I'm just grasping at straws :/
cpennington has quit [(Remote host closed the connection)]
<tilpner> Obviously I don't know what's happening, but it appears like Nix believes these checkouts to exist (doesn't fetch them), when they actually don't
<clever> tilpner: try evaluating parts of the expression in nix-repl
<tilpner> After evaluating "callPackage ./pkgs/riot-electron.nix {}", it successfully lists "racket"
<clever> tilpner: that wasnt present in either file in the last gist
<tilpner> I assume that's because it stopped at the first error
<tilpner> (It was in the other gist)
<tilpner> Even after a gc it still works :/
<clever> nix should re-generate all drv files automatically
<tilpner> All drv files? On what event?
<clever> when the derivation object for it is evaluated
takle has joined #nixos
<tilpner> There's nothing I can do about future inconsistencies, right? A magical "be extra careful and keep three journals" button... I'll try to REISUB more in the future, but even that doesn't always work on freezes
<bulldog> Ok, I added my custom repo to the config, and created nix expressions for my Python modules inside /home/user/nixpkgs/pkgs/development/python-modules. But I get an undefined variable when trying to include my package in (import custompkgs {}).python3.withPackages
<bulldog> do I maybe have to register the new modules somewhere else?
<clever> bulldog: did you define custompkgs within that file?
<clever> bulldog: oh, and double check pkgs/all-packages/python something
<bulldog> Yeah, not sure if I defined it in an awkward way. Basically I wrapped the main function body in a let in my config. Is that weird?
<bulldog> Ah ok, top-level/python-packages.nix!
schoppenhauer has quit [(Ping timeout: 248 seconds)]
schoppenhauer has joined #nixos
kiloreux has quit [(Ping timeout: 240 seconds)]
c0ffee152 has quit [(Quit: Lost terminal)]
<clever> bulldog: yeah, thats the one i was thinking of
rauno has quit [(Ping timeout: 240 seconds)]
ebzzry has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jb55 opened pull request #29831: trezor-agent: add systemd service (master...trezor-agent-service) https://git.io/vdqnu
NixOS_GitHub has left #nixos []
hiratara has quit [(Ping timeout: 255 seconds)]
hiratara has joined #nixos
jtojnar_ has joined #nixos
cybrian_ has joined #nixos
noobineer has quit [(Ping timeout: 240 seconds)]
bigvalen_ has joined #nixos
vegai_ has joined #nixos
symphori1 has joined #nixos
mahalel_1 has joined #nixos
mguex_ has joined #nixos
fgaz_ has joined #nixos
guillaum2 has joined #nixos
predator217 has joined #nixos
saltsa_ has joined #nixos
gerschtli1 has joined #nixos
richierich_ has joined #nixos
Willi_Butz has joined #nixos
jb55 has quit [(Ping timeout: 255 seconds)]
puck1pedia has joined #nixos
spion_ has joined #nixos
bigvalen_ is now known as bigvalen
rmarko has joined #nixos
puck1pedia is now known as puckipedia
henrytill has joined #nixos
cheshircat has joined #nixos
c_wraith has joined #nixos
Gohla has joined #nixos
chris| has joined #nixos
catern has joined #nixos
[0__0] has joined #nixos
andrewrk has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
blahdodo has joined #nixos
kline has joined #nixos
Supersonic112 has joined #nixos
apeyroux has joined #nixos
hiberno has joined #nixos
samae has joined #nixos
hodapp has joined #nixos
elasticdog has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/cf79bb1d33 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
fractal has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/10bb7fddb9 (from 27 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
phreedom has quit [(Ping timeout: 255 seconds)]
phreedom has joined #nixos
orivej has joined #nixos
leat has quit [(Quit: WeeChat 1.9)]
leat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #20889: [Do not merge*] Restore stdenv debugging at the cost of more complexity (master...stdenv-debug) https://git.io/v1WAK
NixOS_GitHub has left #nixos []
blahdodo has quit [(Quit: Bye bye)]
blahdodo has joined #nixos
ebzzry is now known as ebzzry_
hamishmack has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/a193400216 (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
eacameron has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
endformationage has joined #nixos
jcarr has quit [(Ping timeout: 255 seconds)]
bulldog has quit [(Ping timeout: 260 seconds)]
rauno has joined #nixos
ebzzry has joined #nixos
ebzzry has quit [(Client Quit)]
<MichaelRaskin> tilpner: just in case, you did run nix-store --verify --check-contents, right?
aneeshusa has quit [(Quit: WeeChat 1.9)]
<MichaelRaskin> Maybe even with --repair
<MichaelRaskin> That marks as missing everything that is damaged.
leat has quit [(Quit: WeeChat 1.9)]
proteusguy has joined #nixos
JosW has joined #nixos
phreedom has quit [(Ping timeout: 240 seconds)]
ksbrar has quit [(Quit: WeeChat 1.0.1)]
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
MichaelRaskin has quit [(Quit: MichaelRaskin)]
ixxie has joined #nixos
takle has quit [(Remote host closed the connection)]
jensens has quit [(Ping timeout: 248 seconds)]
leat has joined #nixos
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
jesuspv has joined #nixos
boomshroom has quit [(Ping timeout: 260 seconds)]
reinzelmann has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
michiel_l_ has quit [(Ping timeout: 246 seconds)]
michiel_l has joined #nixos
<richierich_> Hi all, I've tried my hand at installing nixos on an SSD a few times, but I keep running into an issue where on boot up (nixos stage 1), the machine keeps waiting for the disk to appear and eventually fails
<richierich_> Could someone help walk me through this process?
pxc1 has quit [(Ping timeout: 240 seconds)]
<etu> richierich_: Luks?
<richierich_> yes
<etu> richierich_: Do you have a line "like" this one in your config, either hardware-configuration.nix or configuration.nix: https://github.com/etu/nixconfig/blob/master/hosts/phouchg/hardware-configuration.nix#L15 ?
<richierich_> etu: not sure, my last attempt was around a week ago so I don't remember what was in either file, and I'm not sure how to look at them from a liveusb
<etu> you have to use cryptsetup to unlock the device and then mount it
<etu> Then you can look
<etu> I've experienced that the configuration generation doesn't add that line by itself, so I've have had to add it myself for the system to work.
<richierich_> etu: one moment
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
endformationage has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rvl opened pull request #29833: bower2nix: 3.1.1 -> 3.2.0 (master...bower2nix-v320) https://git.io/vdqB0
NixOS_GitHub has left #nixos []
<richierich_> etu: alright, got it (thanks for the tip!). I do not see any line like that...
<etu> richierich_: ofc you need to adjust the disk/partition specified:)
<richierich_> etu: uhh could you clarify how? Sorry about this haha, pretty new to both NixOS and this sort of deep Linux specifications
ryanartecona has joined #nixos
ertes-w has joined #nixos
<etu> richierich_: You see the weird id thingy at the end? That's generated by your filesystem (I think). So the one I have won't work for you. I usually just do "ls /dev/disk/by-uuid/ -l" to spot which id points to which disk/partition
<richierich_> etu: right, but how do I know which UUID corresponds to which? I see a few listed in that folder
<richierich_> etu: oh hang on, answered my own question haha
<etu> That's why I added -l to see where the symlinks go :)
ryanartecona has quit [(Ping timeout: 240 seconds)]
<richierich_> etu: yep totally missed that the first time I read it :P
<etu> Well, you don't have to use the uuid either. But I like it to avoid confusion when moving drives around and such. Doesn't happen very often, but when it does -- it's annoying to have to change things :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vdqBb
<NixOS_GitHub> nixpkgs/master 3d4ed01 Rodney Lorrimar: bower2nix: 3.1.1 -> 3.2.0
<NixOS_GitHub> nixpkgs/master 7f3cb3f Peter Hoeg: Merge pull request #29833 from rvl/bower2nix-v320...
NixOS_GitHub has left #nixos []
<richierich_> etu: after adding this line can I just restart? or do I need to do something else
<etu> You need to rebuild the system
MP2E has quit [(Ping timeout: 240 seconds)]
<etu> And if you're on a live-iso I guess you have to do nixos-install or something like that
<richierich_> etu: in that case I'll just do a clean install to be pure
MercurialAlchemi has quit [(Ping timeout: 252 seconds)]
Neo-- has joined #nixos
jensens has joined #nixos
mudri has joined #nixos
sigmundv has joined #nixos
python476 has joined #nixos
Wizek_ has joined #nixos
silver_hook has joined #nixos
Wizek has joined #nixos
pxc1 has joined #nixos
numerobis has joined #nixos
numerobis has quit [(Ping timeout: 246 seconds)]
goibhniu has joined #nixos
goibhniu has quit [(Changing host)]
goibhniu has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
michiel_l has quit [(Ping timeout: 246 seconds)]
michiel_l has joined #nixos
pxc1 has quit [(Ping timeout: 240 seconds)]
pxc1 has joined #nixos
pxc1 has quit [(Ping timeout: 240 seconds)]
athan has quit [(Ping timeout: 260 seconds)]
numerobis has joined #nixos
takle has joined #nixos
pie_ has joined #nixos
ixxie has joined #nixos
<jophish> Is there a minimal example somewhere for writing a script to run on startup in the configuration?
<makefu> otherwise you may want a oneshot systemd service
<jophish> thanks makefu!
python476 has quit [(Remote host closed the connection)]
python476 has joined #nixos
<ertes-w> what's the proper way to get a system to support both BIOS and EFI boot? can i just enable both GRUB and systemd-boot?
aloiscochard has joined #nixos
leat has quit [(Quit: WeeChat 1.9)]
leat has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
pvgoran has joined #nixos
<pvgoran> Hello everyone.
<pvgoran> Do we have anything like haskell's "Maybe" type in nixpkgs.lib?
thc202 has joined #nixos
<pvgoran> So that I could do, like, let maybeStuff = if a != b then lib.just (a - b) else nothing
kiloreux has joined #nixos
<pvgoran> And then otherVar = ifPresent maybeStuff (fromMaybe maybeStuff) 0;
takle has joined #nixos
mudri has quit [(Ping timeout: 246 seconds)]
<jophish> I've come up with this, the systemd dependency scheme is still a small mystery, but hopefully this'll work https://gist.github.com/5bfe42f63721e870f12b6f73ec3f2e7e
<jophish> annoyingly setting networking.interfaces.<name?>.macAddress didn't work
<jophish> as the interface seems to be up at that time already, and setting the address fails
elasticdog has quit [(Ping timeout: 246 seconds)]
<sphalerite> pvgoran: since nix doesn't have types associated with names, you can just use null
<pvgoran> I forgot about null. :)
<ertes-w> pvgoran: if you insist on having a sane representation of Maybe, you can church-encode it
<ertes-w> (n: j: j 5) # Just 5
<ertes-w> (n: j: n) # Nothing
<ertes-w> mx n j # case mx of Nothing -> n; Just x -> j x
<pvgoran> null will do, except maybe in some specific situations where we might want to distinguish "null as value" and "no value".
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] florianjacob opened pull request #29834: mariadb: 10.1.25 -> 10.1.26 (master...mariadb-10.1.26) https://git.io/vdqal
NixOS_GitHub has left #nixos []
<pvgoran> ertes-w: thanks for your suggestion, though.
takle_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
elasticdog has joined #nixos
takle_ has quit [(Ping timeout: 252 seconds)]
mortum5 has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
Manish[m] has joined #nixos
<fadenb> Hey, I am trying to extend pkgs/os-specific/linux/pam/default.nix to include the audit package (to build pam_tty_audit)
<fadenb> but I am having troubles with an infinite recursion
MercurialAlchemi has joined #nixos
numerobis has quit [(Ping timeout: 240 seconds)]
<fadenb> can someone guide me on how to solve this?
<makefu> fadenb: can you show the changed pam file?
<makefu> the issue may be related to circular dependencies. however the audit package does not have that many deps (in nixos unstable)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #29835: screengrab: 2017-02-18 -> 1.97 (master...upd.screengrab) https://git.io/vdqr1
NixOS_GitHub has left #nixos []
<fadenb> I can see the circular dependency (pam is used by cyrus sasl which is in the dependency chain). Is there an generic approach how to solve this?
<makefu> in unstable there are no deps in audit it seems
Itkovian has joined #nixos
<makefu> for actually solving circular deps you have to build an initial package without the dependencies needed later on, like a minimal package
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d757d8142e (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
kakashiAL has joined #nixos
erictapen has joined #nixos
fgaz_ is now known as fgaz
slyfox_ has quit [(Quit: :))]
python47` has joined #nixos
takle has joined #nixos
python476 has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
simukis has joined #nixos
<ocharles> Hmm 17.09 has no linux_4_4. Anyone able to find when that was removed?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to master: https://git.io/vdqPn
<NixOS_GitHub> nixpkgs/master 65b04b8 Eelco Dolstra: network-manager-applet: Don't depend on webkitgtk by default...
<NixOS_GitHub> nixpkgs/master 28299f6 Eelco Dolstra: Add even more dev outputs
NixOS_GitHub has left #nixos []
<ocharles> Afaik, it's the last kernel that actually works with proprietary ATI drivers
mudphone has joined #nixos
<mudphone> hi, I'm wondering why I have a bunch of `result` symlinks scattered all over the place
<mudphone> maybe it's the result of running a nixos-rebuild?
<mudphone> they point to `/nix/store/...-nixos-system-nixos-17...
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<mudphone> apparently they are the result of `sudo nixos-rebuilt test`... is this something I can safely remove?
<ocharles> mudphone: that happens when you `nix-build` something
<ocharles> oh yea, nixos-rebuild test would do it too
<ocharles> mudphone: just remove the result symlink, and nix-collect-garbage will do the rest
nh2 has joined #nixos
<mudphone> ocharles: okay thanks
<sphalerite> really? nixos-rebuild test creates them?
<sphalerite> doesn't it just switch to a configuration without making it the next boot?
<mudphone> that's what I'm seeing
<sphalerite> Seems like an odd behaviour
<sphalerite> ooh, unless of course it doesn't even create a boot netry
<sphalerite> I suppose it makes sense in that case
<mudphone> I'm a noob... what is the `result` symlink for?
<VLetrmx> without it your recent build could be garbage collected I think
<mudphone> ah, okay
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vyp opened pull request #29836: guile-gnome: fix build by building gwrap with guile-2.0 (master...fix/guile-gnome) https://git.io/vdqM2
NixOS_GitHub has left #nixos []
jmsb has quit [(Ping timeout: 240 seconds)]
ixxie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 11 new commits to release-17.09: https://git.io/vdqM1
<NixOS_GitHub> nixpkgs/release-17.09 f50da7b Eelco Dolstra: kdoctools: Move bin stuff to the "out" output...
<NixOS_GitHub> nixpkgs/release-17.09 d2bfefe Eelco Dolstra: postgresql: Add dev output...
<NixOS_GitHub> nixpkgs/release-17.09 bf92abb Eelco Dolstra: Add some dev outputs...
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
eacameron has joined #nixos
koserge has joined #nixos
oida has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
oida_ has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
tmaekawa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] atondwal opened pull request #29838: scudcloud: 1.58 -> 1.63 (master...master) https://git.io/vdqDd
NixOS_GitHub has left #nixos []
<sphalerite> ertes-w: I did not know about church-encoding, but that's really cool
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #28033: pkgs/haskellPackages: add nativeBuildInputs to shell env (master...haskellPackageEnv-addTools) https://git.io/v765e
NixOS_GitHub has left #nixos []
<michalrus> Hey, when switching configurations, can I somehow name the builds?
<michalrus> But not creating new profiles with -p, I think. Hmmm.
mortum5 has quit [(Ping timeout: 240 seconds)]
tmaekawa has quit [(Quit: tmaekawa)]
<michalrus> I.e. instead of `Configuration 55` I’d like to have `Configuration 55 ${myTextHere}`.
<michalrus> But w/o new profiles.
<michalrus> Just for identification reasons.
oida_ has joined #nixos
<michalrus> Hmmm. I could hack .version_suffix perhaps.
hooo has joined #nixos
<sphalerite> michalrus: yeah that's a feature I'd really like too
oida has quit [(Ping timeout: 248 seconds)]
<michalrus> sphalerite: if you don’t care about switching via `nixos-rebuild` and are fine with `nix-build && ./result/switch`, then you can change <nixpkgs>/.version_suffix in that `nix-build`. :P
xdelv has quit [(Ping timeout: 260 seconds)]
pie_ has quit [(Ping timeout: 240 seconds)]
proteusguy has quit [(Remote host closed the connection)]
xdelv has joined #nixos
ertes-w has quit [(Ping timeout: 264 seconds)]
ertes-w has joined #nixos
mbrgm has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
mbrgm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/vdq9I
<NixOS_GitHub> nix/master d1c6e0f Eelco Dolstra: nix why-depends: Write to stdout
<NixOS_GitHub> nix/master bfef3ec Eelco Dolstra: nix build: Fix realising a store path
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vdq9P
<NixOS_GitHub> nixpkgs/master e911e39 Florian Jacob: mariadb: 10.1.25 -> 10.1.26
<NixOS_GitHub> nixpkgs/master 0bc5d15 Tim Steinbach: Merge pull request #29834 from florianjacob/mariadb-10.1.26...
NixOS_GitHub has left #nixos []
mortum5 has joined #nixos
Infinisil has joined #nixos
ebzzry_ has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vdqHG
<NixOS_GitHub> nixpkgs/release-17.09 d30e143 Florian Jacob: mariadb: 10.1.25 -> 10.1.26...
NixOS_GitHub has left #nixos []
pie_ has joined #nixos
fendor has joined #nixos
pie_ has quit [(Ping timeout: 255 seconds)]
iyzsong has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #29839: i3{,-gaps}: 4.14 -> 4.14.1 (master...i3_4_14_1) https://git.io/vdqQG
NixOS_GitHub has left #nixos []
oida_ has quit [(Read error: Connection reset by peer)]
oida_ has joined #nixos
ebzzry_ has joined #nixos
takle_ has joined #nixos
pxc1 has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
joehh has joined #nixos
k2s has joined #nixos
fendor has quit [(Ping timeout: 252 seconds)]
pxc1 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #29840: emby: 3.2.30.0 -> 3.2.32.0 (master...emby_3.2.32.0) https://git.io/vdq7c
NixOS_GitHub has left #nixos []
chreekat has joined #nixos
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
ixxie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #29841: collectd: fix darwin build (master...patch-63) https://git.io/vdq5f
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 240 seconds)]
<mpickering> I am trying to install "nslookup" which should be in the "bind" package, typing "nix-shell -p bind" doesn't make nslookup available, am I doing something wrong?
chreekat has quit [(Quit: quitting)]
<etu> mpickering: nix-shell -p dnsutils
<globin> mpickering: we have that actually split out into dnsutils, otherwise the package is called bind9 IIRC
<etu> globin: It's just bind, no version
pie_ has joined #nixos
<globin> Ah I thought we had it in both
acarrico has joined #nixos
<makefu> mpickering: you can always try 'nix-index' -> nix-locate 'bin/nslookup'
<makefu> according to this nix-locate it should reside in 'host.dnsutils'
nallar has joined #nixos
hooo has left #nixos ["Leaving"]
<etu> makefu: How do I find nix-index and nix-locate?
<mpickering> ah cheers
Ross has quit [(Ping timeout: 240 seconds)]
nallar is now known as Ross
<makefu> etu: mailing-list
<makefu> ;)
<makefu> the tool is called nix-index
<makefu> package*
<etu> oh
jellowj has joined #nixos
nallar has joined #nixos
<ertes-w> so just enabling systemd-boot alongside GRUB didn't work, and enabling boot.loader.grub.efiSupport didn't work either… what's the proper way to get a system to support both BIOS and EFI boot?
Ross has quit [(Ping timeout: 240 seconds)]
nallar is now known as Ross
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #29843: docker: add 17.09.0-ce (master...docker_17_09) https://git.io/vdqFX
NixOS_GitHub has left #nixos []
acarrico has quit [(Ping timeout: 248 seconds)]
athan has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jb55 has joined #nixos
k2s has quit [(Ping timeout: 246 seconds)]
rmarko is now known as srk
mpuppe[m] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix closed pull request #29842: pythonPackages.phonenumbers: 8.8.1 -> 8.8.2 (master...pythonPackages.phonenumbers_8.8.2) https://git.io/vdq5J
NixOS_GitHub has left #nixos []
joehh has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] makefu opened pull request #29844: pyramid: fix propagated builds (master...pkgs/pyramid/fix) https://git.io/vdqN8
NixOS_GitHub has left #nixos []
pvgoran has quit [(Ping timeout: 260 seconds)]
<sphalerite> ertes-w: do you have an ESP which is mounted appropriately?
<sphalerite> And is the disk formatted with GPT? I don't know if EFI supports DOS partition tables or not
<etu> sphalerite: Pretty sure it has to be GPT
Mateon1 has quit [(Ping timeout: 240 seconds)]
mortum5 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vdqAg
<NixOS_GitHub> nixpkgs/master 3abee35 makefu: pyramid: fix propagated builds...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vdqAS
<NixOS_GitHub> nixpkgs/master bfab392 Peter Simons: nixos(spamassassin): provide /etc/spamassassin to fix sa-learn et al...
<NixOS_GitHub> nixpkgs/master 99e2459 Peter Simons: nixos(spamassassin): fix trailing whitespace
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to release-17.09: https://git.io/vdqAA
<NixOS_GitHub> nixpkgs/release-17.09 a30571c Peter Simons: nixos(spamassassin): provide /etc/spamassassin to fix sa-learn et al...
<NixOS_GitHub> nixpkgs/release-17.09 11d0942 Peter Simons: nixos(spamassassin): fix trailing whitespace...
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
rauno has quit [(Ping timeout: 246 seconds)]
acarrico has joined #nixos
leat has quit [(Quit: WeeChat 1.9)]
fendor has joined #nixos
eacameron has quit [(Ping timeout: 252 seconds)]
ryanartecona has joined #nixos
jellowj has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] WilliButz opened pull request #29845: splUnstable: fix hash (master...fix-spl) https://git.io/vdqpz
NixOS_GitHub has left #nixos []
ryanartecona has quit [(Ping timeout: 240 seconds)]
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
cement has joined #nixos
<ertes-w> hah! it's working now =)
<ertes-w> i must have forgotten some detail in the process
<ertes-w> sphalerite: it's working =)
<sphalerite> great
Infinisil has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #29845: splUnstable: fix hash (master...fix-spl) https://git.io/vdqpz
NixOS_GitHub has left #nixos []
<jophish> Has anyone seen this before: https://gist.github.com/684505354757688c1e1a6c54a1c234fa
jb55 has quit [(Ping timeout: 240 seconds)]
maralorn[m] has joined #nixos
oida has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
takle_ has quit [(Ping timeout: 240 seconds)]
<silver_hook> Is there a hack needed to have GoG game installers run on NixOS?
takle has joined #nixos
oida_ has quit [(Ping timeout: 246 seconds)]
proteusguy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 6 new commits to release-17.09: https://git.io/vdmvT
<NixOS_GitHub> nixpkgs/release-17.09 c6ca4c3 Peter Hoeg: libnfs: init at 2.0.0...
<NixOS_GitHub> nixpkgs/release-17.09 f79ef8d Peter Hoeg: cwiid: boy scout cleanups...
<NixOS_GitHub> nixpkgs/release-17.09 9dd4263 Rodney Lorrimar: bower2nix: 3.1.1 -> 3.2.0...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #29848: libmicrohttpd: fix darwin build (master...patch-64) https://git.io/vdmvo
NixOS_GitHub has left #nixos []
bennofs has joined #nixos
ebzzry_ has quit [(Ping timeout: 246 seconds)]
roni_ has joined #nixos
<roni_> hey, let's say i was a bad kid and used usermod to create my user a long time ago, but now i want to switch to using the declarative user management from configuration.nix... any danger to my user's state if i make an entry for that user and nixos-rebuild switch?
m0rphism3 has joined #nixos
roni_ is now known as roni
<maralorn[m]> Hey. I am trying to package my python application with nix. I get the following error during build: https://gist.github.com/maralorn/3fc7326ef2e85c6c499f91abab1b79ed This looks like my package has some problems with building a wheel. I have never used wheel before. This is the setup.py: https://git.darmstadt.ccc.de/jali/jali/blob/master/setup.py
m0rphism2 has quit [(Ping timeout: 240 seconds)]
ebzzry has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #29849: liboping: 1.9.0 -> 1.10.0 (master...patch-65) https://git.io/vdmfP
NixOS_GitHub has left #nixos []
<roni> maralorn[m]: i don't know if this will help you, but in one of my shell.nix files, i have this in the shellHook property:
pxc1 has joined #nixos
<roni> # Allow the use of wheels.
<roni> SOURCE_DATE_EPOCH=$(date +%s)
reinzelmann has quit [(Quit: Leaving)]
pie_ has joined #nixos
pxc1 has quit [(Ping timeout: 240 seconds)]
leat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vyp opened pull request #29850: guile-lint: fix build by building with guile 1.8 (master...fix/guile-lint) https://git.io/vdmJz
NixOS_GitHub has left #nixos []
jtojnar_ has quit [(Quit: jtojnar_)]
joepie91 has quit [(Quit: Konversation terminated!)]
joepie91 has joined #nixos
joepie91 has quit [(Changing host)]
joepie91 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #29851: mosqitto: fix patchPhase (master...patch-66) https://git.io/vdmUX
NixOS_GitHub has left #nixos []
ebzzry has quit [(Quit: ĝis)]
rtjure has quit [(Ping timeout: 248 seconds)]
ebzzry has joined #nixos
Mateon1 has joined #nixos
<roni> also, how do i keep my system from upgrading the linux kernel when i do rebuild? or is that an ill-defined question?
<roni> the equivalent in archlinux would be "holding" the linux package so it wouldn't update, basically
<roni> is that possible?
<makefu> roni: yes, you can pin the kernel you want to use
sellout- has quit [(Quit: Leaving.)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
ona has joined #nixos
justanotheruser has quit [(Ping timeout: 240 seconds)]
<roni> makefu: thanks! so can i just pattern that option after my current kernel version then?
rtjure has joined #nixos
ebzzry has quit [(Ping timeout: 255 seconds)]
<makefu> yes! "If you are satisified with the answer, make sure to add what you've learned to https://nixos.wiki"
ebzzry has joined #nixos
jcarr has joined #nixos
kuznero has joined #nixos
<kuznero> Hi All!
hke has quit [(Quit: bye)]
bennofs has quit [(Ping timeout: 240 seconds)]
mortum5 has joined #nixos
hke has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
bennofs has joined #nixos
<VLetrmx> Hi kuznero!
eacameron has quit [(Ping timeout: 246 seconds)]
<makefu> hey ho
<mudphone> VLetrmx: thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vdmI3
<NixOS_GitHub> nixpkgs/master 4398872 Peter Simons: libnfs: fix broken meta.license attribute...
NixOS_GitHub has left #nixos []
joepie91 has quit [(Read error: Connection reset by peer)]
<roni> question - i have a giant directory in /nix/store that seems to be for a package that i just don't use
joepie91___ has joined #nixos
joepie91___ has quit [(Changing host)]
joepie91___ has joined #nixos
<roni> when i run nix-store --query --referrers on the path, it just shows itself as its only referrer
<roni> i can't figure out how to get rid of it
<roni> help?
sellout- has joined #nixos
<peti> roni: nix-store --delete PATH doesn't help?
<roni> peti: didn't know i could do that, neat
<roni> but it says the path is still alive
<roni> how can i figure out what depends on it, if not through --referrers?
jcarr has quit [(Ping timeout: 248 seconds)]
<peti> roni: Maybe there is a symlink in /nix/var/nix/gcroots still referring to it?
<peti> roni: Running "nix-collect-garbage -d" might help.
<ben> can you like manually query the nix db
cpennington has quit [(Remote host closed the connection)]
<roni> makefu: thanks for the link! i did a sudo garbage collection and opened up a ton of space
<roni> peti: i didn't realize running that command with sudo would do it systemwide (though really i should have realized that)
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<makefu> roni: yes, the root user is "special"
<roni> makefu: doing that will delete the old generations even from the grub menu, correct?
<makefu> roni: yes, you can however define how many revisions it should clean up
<roni> right
<makefu> for example: nix-collect-garbage --delete-older-than 4W
<roni> i went wild and just said "-d"
<roni> ah neat
<makefu> -d removes all the stuff, which is not the current rev
<peti> roni: Not really. The grub menu stuff is garbage collected by "nixos-rebuild boot".
<roni> ok cool
<roni> how big is your root partition (the one that hosts /nix/store)?
<peti> roni: You need to run "nix-collect-garbage -d" to remove the symlinks from gcroots, and then "nixos-rebuild" will remove the actual files from /boot.
<clever> and the garbage-collection has to happen as root to be able to delete system profiles
pie_ has joined #nixos
<joepie91___> kind of lost here - I'm trying to package Arachni, but I'm unsure how to translate this to a Nix package without having the ability to eg. use Bundix and check in a gemset.nix (as it's not my repo); ref https://github.com/Arachni/arachni/wiki/Installation#nix-source
<joepie91___> does anybody have any pointers?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vdmtl
<NixOS_GitHub> nixpkgs/master c0235ef Robin Gloster: libnfs: fix eval
NixOS_GitHub has left #nixos []
<makefu> joepie91___: you will need to build it similarly to metasploit
eacameron has joined #nixos
<makefu> fetch the package, use bundler and bundix to generate the gemfile.nix
<clever> makefu: oh, does metasploit run on nixos?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #29852: ppsspp: 1.3 -> 1.4.2 (master...ppsspp/1.4.2) https://git.io/vdmtM
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdmtQ
<NixOS_GitHub> nixpkgs/master 71cc543 Tristan Helmich: emby: 3.2.30.0 -> 3.2.32.0
NixOS_GitHub has left #nixos []
ertes-w has quit [(Ping timeout: 240 seconds)]
<makefu> clever: Mic92 fixed the package some time ago
<makefu> (yes)
mortum5 has quit [(Ping timeout: 248 seconds)]
<clever> makefu: ah, i'll have to give my lan another sweep
ertes has quit [(Ping timeout: 240 seconds)]
<joepie91___> makefu: thanks, going to have a look at the metasploit package then :)
<clever> makefu: many years ago, it found a flaw in my managed switch, that just let anybody read the admin pw
<clever> makefu: but back then, i was on windows, and a single anti-virus run deleted half of metasploit, and i was never able to reinstall the mess, lol
<clever> makefu: cisco actually
fendor has quit [(Ping timeout: 252 seconds)]
roni has quit [(Ping timeout: 246 seconds)]
<clever> makefu: and i believe its less of a password leak, and more that you can just dump the entire config file
gandreani has joined #nixos
<makefu> for the d-link vuln it was pretty much the same
<makefu> but there were machines on the internet which exposed the http port
<clever> yikes
<clever> i vaguely remember it having an html ui
<joepie91___> makefu: I'm totally unfamiliar with the Ruby ecosystem; can you explain to me the syntactic meaning of https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/security/metasploit/Gemfile#L4 ?
joepie91___ is now known as joepie91
phreedom has joined #nixos
<woffs> apparently "unicode" ist not in nixos yet? this one: https://github.com/garabik/unicode
<makefu> joepie91: if i understand it correctly it is only the gemfile which defines a single requirement (similar to python pip)
<makefu> gemfile.lock then contains all the deps to build this single requirement
<makefu> the lock file gets generated by bundler
<avn> yep, and .lock converted to gemset.nix (which actually used for installing stuff)
<makefu> with this lock file you can generate the corresponding nix expression with `bundix`
bfrog has joined #nixos
<joepie91> makefu: so do I understand correctly that the Gemfile I linked, or rather the directory it is in, is basically a 'fake' Ruby project/package with metasploit-framework (from git) as its sole dependency
<joepie91> ?*
<makefu> yes exactly
<joepie91> (triggering a recursive resolve of *its* dependencies)
<joepie91> okay, that makes sense :)
jesuspv has quit [(Ping timeout: 240 seconds)]
<joepie91> thanks!
<makefu> i tried to write this down in https://nixos.wiki/wiki/Packaging_Ruby
<joepie91> I should have checked the wiki :)
<makefu> ;)
<silver_hook> Is there a trick that I need to apply to install games from GoG? I see that the unofficial GoG downloader is packaged, so I assumed it should work.
<jophish> Sonarpulse: know anything about that ghc package shadowing thing?
<joepie91> silver_hook: Linux or Windows games?
<silver_hook> joepie91: Linux
<joepie91> silver_hook: example: https://gist.github.com/joepie91/a2b838d81064ac32021f0e33dd026c8b -- note that I'm using a local file (fetchfile is a custom thing, you can also use requireFile)
<joepie91> silver_hook: the important bit is the unpackCmd
<joepie91> the gog_*.sh files are really just shell script with ZIP data behind them
<joepie91> so you can feed them into `unzip` and, modulo some warnings, it'll extract the contents
<joepie91> the 'data' source root is the same for every gog installer
<silver_hook> joepie91: I noticed that they are a shell script with some binary (assumed zip) attached
<joepie91> noarch/game seems fairly consistent across games but I don't know if it's universal; to be sure, unzip manually and look at the contents
<joepie91> yep
<silver_hook> joepie91: So simply unzipping should work?
<joepie91> yep :) and dig into the right folder in the unpacked contents
<clever> makefu: one of the online guides mentions running `msfdb init` but that command doesnt exist within this package
<silver_hook> So what is that gist paste needed for then?
<joepie91> silver_hook: if you ever need to package Windows games from GOG, those use InnoSetup and you can use `innoextract` (it's in nixpkgs) to unpack those
<joepie91> silver_hook: just as an example of a game I've packaged
<joepie91> that uses the GOG installer
<makefu> clever: not sure about that one. maybe it didn't got packaged because it resides in another folder
<silver_hook> joepie91: Oh, so it’s actually packaged for Nix?
<silver_hook> neat
<makefu> clever: for just playing with msfconsole building the db should also not be necessary
<joepie91> silver_hook: innoextract or the game, you mean?
<clever> makefu: basic things like hosts complain that it cant find the db
<silver_hook> joepie91: the game
<joepie91> silver_hook: well, yes, but it's not in nixpkgs yet :) it's in my local nix config repo
<clever> makefu: heh, if postgresql isnt even enabled, db_connect silently does nothing
<joepie91> will possibly submit it to nixpkgs at some point, but I first need to figure out how to handle the proprietary source thing
<clever> makefu: but if postgresql is enabled, db_connect verbosely fails
<silver_hook> joepie91: And that would be accepted to the main repo?
<joepie91> silver_hook: there are a few other proprietary things in nixpkgs. I don't know if this particular thing would be accepted, but it's not out of the question
kuznero has quit [(Quit: Page closed)]
<joepie91> most importantly the proprietary things don't ship with the software itself
<joepie91> and use requireFile, ie. they expect you to pre-add the sources to the store
<joepie91> using `nix-store --add` and such
<joepie91> (--add-fixed? I forget)
<joepie91> this is what is done for the Oracle JDK for example
<clever> the help requireFile prints says which one to use
<silver_hook> joepie91: Cool. Sounds similar to how Gentoo handled some of the proprietary games
jb55 has joined #nixos
<joepie91> silver_hook: the fetchfile thing you're seeing is a custom hack that uses a local filesystem path as the source, but without re-adding it to the store (or re-hashing it) on every rebuild; kind of like fetchurl for local paths
<joepie91> silver_hook: ref https://github.com/NixOS/nix/issues/1528
<silver_hook> cool
<silver_hook> BTW, for unzipping should I get `unzip` or `zip` or some other package?
<joepie91> anyway, I will likely at some point be setting up my own nixpkgs overlay with stuff like games I've packaged, experimental approaches to packaging proprietary and Windows stuff, etc.
<joepie91> silver_hook: you'll need `unzip` - see the example gist :)
<silver_hook> joepie91: Right, but both zip and unzip packages exist and point to the same URL homepage.
<joepie91> I think they're two separate pieces for compression and decompression respectively, but are distributed as one thing?
<joepie91> don't recall the specifics
<joepie91> either way `unzip` is what works
<joepie91> I don't know whether you could theoretically use `zip`
<silver_hook> Got it.
<clever> i think its just gunzip vs gzip -d
jcarr has joined #nixos
Itkovian has joined #nixos
jcarr has quit [(Remote host closed the connection)]
phreedom has quit [(Ping timeout: 246 seconds)]
<sphalerite> silver_hook: http://ix.io/Amu
<sphalerite> The separate programs are in separate packages
<silver_hook> sphalerite: Thanks :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #29853: Tinc (master...tinc) https://git.io/vdm3V
NixOS_GitHub has left #nixos []
mguex_ is now known as mguex
phreedom has joined #nixos
<sphalerite> ben: yes, you can. I usually copy /nix/var/nix/db/db.sqlite to /tmp as myself (not root) then run sqlite against it
<joepie91> makefu: these are binstubs, right? https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/security/metasploit/default.nix#L38-L45 -- is there any particular reason why they can't be generated by bundler? (I vaguely recall something about bundler being able to generate binstubs)
<sphalerite> can be useful for finding which derivation a path came from and what's been added recently and suchlike
m0rphism4 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #29854: darcnes: use web.archive.org links, clean up (master...darcnes/cleanup) https://git.io/vdm35
NixOS_GitHub has left #nixos []
m0rphism3 has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vdmsJ
<NixOS_GitHub> nixpkgs/release-17.09 794a22b Robin Gloster: urllib3: revert multiple outputs...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vdmsY
<NixOS_GitHub> nixpkgs/master 79d547b Eelco Dolstra: nix-daemon: Bump the default number of build users...
NixOS_GitHub has left #nixos []
boomshroom has joined #nixos
<boomshroom> Good morning. (unless it's not morning for you, in which case hello.)
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
adc has joined #nixos
<makefu> joepie91: maybe it can be generated :) according to git blame it was Mic92 who introduced it.
<boomshroom> It looks like Firefox Quantum has been released as Firefox 57 and I'm wondering how to install it. There looks like a script to download arbitrary firefox versions, but I'm not sure how to use it.
<makefu> joepie91: if you have a way to do so we can update the upstream package (and the wiki)
jbaum98_ has joined #nixos
<boomshroom> At the moment, I'm using Vivaldi, but I'd like to try Firefox quantum largely due to being a Rust fanboy.
<makefu> boomshroom: https://github.com/mozilla/nixpkgs-mozilla may be the right direction
<boomshroom> makefu: thank you. I already have the rust overlay and it looks like the firefox overlay isn't much different
<Mic92> joepie91: I want to hide `bundle` from the user environment that way
jb55 has quit [(Ping timeout: 240 seconds)]
<joepie91> makefu: to be clear, I have no idea how to concretely do this; it's a speculative question based on my lack of understanding of the Ruby ecosystem :)
<Mic92> maybe ln -s also works on the binstubs itself
erasmas has joined #nixos
<joepie91> Mic92: right, but iirc bundler has some sort of binstub generation thing itself?
<joepie91> I'm not entirely sure what it does exactly
<joepie91> but it feels like that might share functionality with this bit of shellscripot
<joepie91> shellscript*
<Mic92> binstubs where also ruby scripts, if I remember correctly
jbaum98_ has quit [(Client Quit)]
jbaum98 has joined #nixos
<joepie91> Mic92: oh, you're right
<joepie91> yeah, okay, then this makes sense
<Mic92> oh metasploit broke again
<Mic92> pg_config
<joepie91> Mic92: any chance this Nix-binstub-generation code could be abstracted into something like a nixpkgs library function? I don't know if the workings of Ruby stuff are consistent enough for it to work the same everywhere
<joepie91> seems like a bad idea to duplicate it everywhere
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #29855: mednaffe: 0.8 -> 0.8.6, drop patch in favor of autoreconfHook (master...mednaffe/0.8.6) https://git.io/vdmG3
NixOS_GitHub has left #nixos []
<boomshroom> makefu: It seems that only the rust overlay has an installer. Am I right in saying it should work if I just substitute rust-overlay.nix with firefox-overlay.nix?
jellowj has joined #nixos
hotfuzz_ is now known as hotfuzz
<makefu> boomshroom: that is what i would guess, however i have not tested anything but firefox-nightly yet
ertes-w has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] erictapen opened pull request #29856: bower: init and add erictapen as maintainer (master...bower-init) https://git.io/vdmGX
NixOS_GitHub has left #nixos []
<boomshroom> Looks like firefox 58 just installed.
ertes-w has quit [(Read error: Connection reset by peer)]
<boomshroom> It already feels faster, but that doesn't really mean anything
cpennington has joined #nixos
ona has quit [(Read error: Connection reset by peer)]
ertes-w has joined #nixos
<makefu> boomshroom: probably because 95% of your plugins were disabled
<boomshroom> As I said.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterbb opened pull request #29857: urweb: support darwin, depend on gcc, fix paths. (master...master) https://git.io/vdmZV
NixOS_GitHub has left #nixos []
<makefu> i had 20 plugins, literally only a single was compatible
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Lassulus opened pull request #29858: bitcoin-abc: init at 0.15.0 (master...bitcoin-abc) https://git.io/vdmZw
NixOS_GitHub has left #nixos []
ona has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
<boomshroom> Now there's the question of whether or not I'm loyal enough to Rust to switch from Vivaldi to Firefox.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vdmZX
<NixOS_GitHub> nixpkgs/master b775b2c Joerg Thalheim: metasploit: use makeWrapper instead
NixOS_GitHub has left #nixos []
<Mic92> ^ joepie91 not sure how to abstract this further
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #29843: docker: add 17.09.0-ce (master...docker_17_09) https://git.io/vdqFX
NixOS_GitHub has left #nixos []
<joepie91> Mic92: ah, looking
vengefulpickle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vdmZN
<NixOS_GitHub> nixpkgs/release-17.09 57e1610 Tim Steinbach: docker: add 17.09.0-ce...
NixOS_GitHub has left #nixos []
<joepie91> oh right, that can be done with makeWrapper
<makefu> joepie91: i needed this to avoid some dependency errors when bundling with bundix
cpennington has quit [(Read error: Connection reset by peer)]
ryanartecona has joined #nixos
<joepie91> Mic92: hm yeah, I don't think that can really be abstracted any further given that it needs both the `env` bundler dep and the ruby dep
<joepie91> at best you could have something like `makeBundlerWrapper $out/share/msf/$i ${env}/bin/bundle ${ruby}/bin/ruby`
<joepie91> but at that point why even bother :P
<joepie91> makefu: any documentation on what those errors were, by any chance?
m0rphism has joined #nixos
<joepie91> Mic92: anyhow, thanks :)
m0rphism4 has quit [(Ping timeout: 240 seconds)]
kuznero has joined #nixos
iyzsong has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pvgoran opened pull request #29859: gmsh: 2.12.0 -> 3.0.5 (master...fix-gmsh) https://git.io/vdmn6
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vdmnD
<NixOS_GitHub> nixpkgs/release-17.09 9fc37e2 makefu: gdal: fix path to pg_config...
NixOS_GitHub has left #nixos []
<kuznero> Is there any way to declare that I want to pass a flag for `cabal configure -f ...` in my shell.nix file?
<makefu> joepie91: you can simply try o build it without this hotfix :)
python47` has quit [(Ping timeout: 240 seconds)]
<kuznero> It is called `configureFlags`... found it under `NIXPKGS/pkgs/development/haskell-modules/generic-builder.nix`.
pxc1 has joined #nixos
<moredhel1> Hi, I'm currently working on adding a module for traefik, so I want to use the latest version of nixpkgs I think. Is there a way to figure out what version to use so that I don't have to compile my whole computer from source?
<moredhel1> while simultaneously having my changes tracked in source control
<jophish> peti: 042ca21c812ae3c3fd52f3fdec41699b193dcfbf broke some haskell packages, importantly `cabal-install`
<jophish> (the hackage update on monday)
pxc1 has quit [(Ping timeout: 248 seconds)]
<globin> moredhel1: https://howoldis.herokuapp.com/ take the nixos-unstable commit
<moredhel1> hmm, so I looked on: https://nixos.org/channels/nixos-unstable/gitrevision... is that the right way to do it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to master: https://git.io/vdmWm
<NixOS_GitHub> nixpkgs/master ad8cb09 Joerg Thalheim: nixos/tinc: do not add Device= by default...
<NixOS_GitHub> nixpkgs/master 75ba415 Joerg Thalheim: nixos/tinc: remove useless script argument...
NixOS_GitHub has left #nixos []
vengefulpickle has quit [(Read error: Connection reset by peer)]
ona has quit [(Ping timeout: 264 seconds)]
cpennington has joined #nixos
ona has joined #nixos
<nh2> domenkozar: on https://github.com/NixOS/nixpkgs/pull/24664#issuecomment-292295508, the PR you linked is about reloading, not config checking, is that right?
<kuznero> I declare `configureFlags` in my `shell.nix` file. So, when I start my dev shell with nix-shell and run `cabal build` I am simply uncertain weather the right flags were supplied. How do I check that?
jellowj has quit [(Ping timeout: 252 seconds)]
<clever> kuznero: if your manually running cabal, it wont use the flags specified in the nix file
<kuznero> clever: then it seams for the purposes of enabling warnings as errors (done through flag in cabal file) it does not make sense to put in shell.nix at all, right (I only need it during development phase)?
<clever> yeah
<clever> just manualy pass it to cabal configure
jellowj has joined #nixos
<kuznero> ok, tnx
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar reopened pull request #24664: nginx: Check config syntax validity with `nginx -t` in preStart (master...nginx-check-config) https://git.io/vSg78
NixOS_GitHub has left #nixos []
yegortimoshenko has joined #nixos
boomshroom has quit [(Ping timeout: 260 seconds)]
<yegortimoshenko> hi, is there a convention for directory naming under $out/share?
ona has quit [(Ping timeout: 248 seconds)]
<yegortimoshenko> there are some derivations that use $out/share/$name (with version)
<yegortimoshenko> same with $out/share/doc/$name
Neo-- has quit [(Ping timeout: 246 seconds)]
erictapen has quit [(Ping timeout: 240 seconds)]
<yegortimoshenko> is that a good idea? i see a problem with that the destination changes with each update
pxc1 has joined #nixos
<clever> yegortimoshenko: i would use an unversioned name
ebzzry has quit [(Ping timeout: 248 seconds)]
takle has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nh2 opened pull request #29860: consul service: Restart on failure (master...consul-restart-on-failure) https://git.io/vdmlr
NixOS_GitHub has left #nixos []
orivej has joined #nixos
pxc1 has quit [(Ping timeout: 240 seconds)]
ThatDocsLady has joined #nixos
<yegortimoshenko> clever: thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nh2 opened pull request #29861: consul service: Restart on failure. (release-17.09...consul-restart-on-failure-17.09) https://git.io/vdmlN
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9b4b940fb6 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<niksnut> pretty neat that you can control spotify from the plasma lock screen
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bradleyjensen opened pull request #29862: lispPackages.cl-protobufs: init at 20170403-git (master...protobuf) https://git.io/vdm8C
NixOS_GitHub has left #nixos []
pvgoran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #29863: mednafen: 0.9.47 -> 0.9.48, disable PIC, unversioned docs (master...mednafen/0.9.48) https://git.io/vdm8F
NixOS_GitHub has left #nixos []
kuznero has quit [(Quit: Page closed)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 7 new commits to release-17.09: https://git.io/vdm4h
<NixOS_GitHub> nixpkgs/release-17.09 930759d Peter Simons: libnfs: fix broken meta.license attribute...
<NixOS_GitHub> nixpkgs/release-17.09 e6e7c0f Robin Gloster: libnfs: fix eval...
<NixOS_GitHub> nixpkgs/release-17.09 dc4c56a Tristan Helmich: emby: 3.2.30.0 -> 3.2.32.0...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Lassulus opened pull request #29864: electron-cash: init at 2.9.3 (master...electron-cash) https://git.io/vdmBC
NixOS_GitHub has left #nixos []
<Mic92> now I can review darwin stuff
<gchristensen> Mic92: you can?
<gchristensen> nice :)
<gchristensen> that would be greatly appreciated I'm sure
digitus has joined #nixos
oida_ has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hamhut1066 opened pull request #29865: nixos/traefik create service (master...traefik-module) https://git.io/vdmRG
NixOS_GitHub has left #nixos []
oida has quit [(Ping timeout: 240 seconds)]
<domenkozar> hmm, would it make sense to change \h in PS1 to \H? that would mean it prints the FQDN instead of just most left subdomain
nixer has joined #nixos
<gchristensen> domenkozar: I've not seen that sort of behavior in ~most deployments I've worked in
<yegortimoshenko> where could i find qt5 moc (meta-object compiler)? i think it should be in qttools, but it isn't there
MichaelRaskin has joined #nixos
ThatDocsLady has quit [(Ping timeout: 246 seconds)]
oida has joined #nixos
oida_ has quit [(Ping timeout: 246 seconds)]
python47` has joined #nixos
acarrico has quit [(Ping timeout: 240 seconds)]
ertes-w has quit [(Ping timeout: 246 seconds)]
<clever> yegortimoshenko: qt56.qtbase.dev 1,140,816 x /nix/store/b0xq8rfq6fqwaqrrmasj68sc0f5h2zql-qtbase-5.6.2-dev/bin/moc
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to master: https://git.io/vdm02
<NixOS_GitHub> nixpkgs/master 56eba66 Rodney Lorrimar: mysqlBackup service: let it work with default settings...
<NixOS_GitHub> nixpkgs/master 34eefdf Rodney Lorrimar: nixos/release-notes: MySQL backup service breaking changes
NixOS_GitHub has left #nixos []
<yegortimoshenko> clever: thank you!
goibhniu has quit [(Ping timeout: 240 seconds)]
mahalel_1 has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to release-17.09: https://git.io/vdm0i
<NixOS_GitHub> nixpkgs/release-17.09 d2cb5cd Rodney Lorrimar: nixos/release-notes: MySQL backup service breaking changes...
<NixOS_GitHub> nixpkgs/release-17.09 86528f9 Rodney Lorrimar: mysqlBackup service: let it work with default settings...
NixOS_GitHub has left #nixos []
acarrico has joined #nixos
georges-duperon has joined #nixos
Neo-- has joined #nixos
<globin> domenkozar: -1 mine would fill half the terminal: schiach.lan.muc.mayflower.zone
<clever> maybe make it an option in nixos, so you can pick in configuration.nix
mahalel_ has joined #nixos
<globin> domenkozar: I think if you need that you can configure it yourself
<gchristensen> we have https://nixos.org/nixos/options.html#programs.bash.promptinit
sellout- has quit [(Quit: Leaving.)]
kiloreux has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nicknovitski opened pull request #29866: youtube-dl: update to 2017.09.24 (master...patch-2) https://git.io/vdmEH
NixOS_GitHub has left #nixos []
ryanartecona has joined #nixos
kiloreux has joined #nixos
jb55 has joined #nixos
<Sonarpulse> jophish: 'fraid I don't know about any shadowing thing
<domenkozar> globin: gchristensen: makes sense
sellout- has joined #nixos
kiloreux has quit [(Ping timeout: 260 seconds)]
reinzelmann has joined #nixos
<copumpkin> build-fallback
<copumpkin> If set to true, Nix will fall back to building from source if a binary substitute fails. This is equivalent to the --fallback flag. The default is false.
<copumpkin> I've never seen nix not try to fall back to building things from source if the binary cache is unavailable
<copumpkin> is the default really false? or am I misunderstanding that option?
<clever> copumpkin: i think the difference, is if the cache says it doesnt exist at all, vs if the cache says it exists, but then 404's on download
<copumpkin> oh
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 3 new commits to master: https://git.io/vdmz6
<NixOS_GitHub> nixpkgs/master 964672d Tim Steinbach: linux: Remove 4.12 (EOL)
<NixOS_GitHub> nixpkgs/master 2ca84cf Tim Steinbach: linux: 4.9.51 -> 4.9.52
<NixOS_GitHub> nixpkgs/master ab3ff4a Tim Steinbach: linux: 4.13.3 -> 4.13.4
NixOS_GitHub has left #nixos []
jensens has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] makefu opened pull request #29867: udpt: 2016-02-20 -> 2017-09-27 (master...pkgs/udpt/update) https://git.io/vdmzD
NixOS_GitHub has left #nixos []
yegortimoshenko has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
bennofs has quit [(Read error: Connection reset by peer)]
k2s has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vdmga
<NixOS_GitHub> nixpkgs/master 0a4704b Brad Jensen: lispPackages.cl-protobufs: init at 20170403-git
<NixOS_GitHub> nixpkgs/master c43550e Michael Raskin: Merge pull request #29862 from bradleyjensen/protobuf...
NixOS_GitHub has left #nixos []
reinzelmann has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vdm2I
<NixOS_GitHub> nixpkgs/master 21998d5 Robin Gloster: postgresql: fix pgxs dir in pg_config
NixOS_GitHub has left #nixos []
reinzelmann has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vdm2O
<NixOS_GitHub> nixpkgs/release-17.09 645c591 Robin Gloster: postgresql: fix pgxs dir in pg_config...
NixOS_GitHub has left #nixos []
reinzelmann has quit [(Client Quit)]
phreedom has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nh2 opened pull request #29868: A few fixes and improvements for the glusterfs service (master...nh2-glusterfs-improvements-for-17.09-master) https://git.io/vdm25
NixOS_GitHub has left #nixos []
reinzelmann has joined #nixos
hotfuzz has quit [(Read error: Connection reset by peer)]
k2s has quit [(Quit: Leaving)]
hotfuzz has joined #nixos
ambro718 has joined #nixos
pxc1 has joined #nixos
jb55 has quit [(Quit: WeeChat 1.9)]
detran has joined #nixos
kungfukenny has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-17.03: https://git.io/vdmaX
<NixOS_GitHub> nixpkgs/release-17.03 ad6265d Bjørn Forsman: nixos/gitolite: don't leak nix store hash into gitolite-admin username/key...
NixOS_GitHub has left #nixos []
<kungfukenny> Hey nixers!
<kungfukenny> Have a question
<kungfukenny> I want to try fish, so I put `programs.fish.enable = true;` and `users.extraUsers.myusername.shell = pkgs.fish;` in my configuration nix
<kungfukenny> Then rebuilt
sary has quit [(Ping timeout: 264 seconds)]
<kungfukenny> But urxvt now instantly closes upon opening
<clever> myusername.shell expects a path to the binary, but pkgs.fish is a path to a directory
<kungfukenny> And doesn't give output when starting from another already open terminal
<kungfukenny> Oh!
<clever> users.extraUsers.myusername.shell = "${pkgs.fish}/bin/fish";
<kungfukenny> Hmm, then pkgs.zsh is a path to the binary?
<kungfukenny> Packaged differently?
sary has joined #nixos
<kungfukenny> Because that worked for zsh
<clever> nearly everything under pkgs is a path to the directory containing the package
<clever> look at the resulting entry in /etc/passwd
<tilpner> Yes, that doesn't sound right. shell = pkgs.zsh is working here (not sure why)
<clever> and then try to ls what your shell is
<kungfukenny> pkgs.zsh works here too. It just doesn't for pkgs.fish it seems. Trying it now.
<kungfukenny> "${pkgs.fish}/bin/fish" doesn't work either
<kungfukenny> urxvt opens and immediately closes
<detran> I'm trying to do an efi install, and I'm getting "Failed to probe file system type "/boot": Input/output error
<kungfukenny> No error message either with `urxvt 2>&1` in an already open terminal
<clever> kungfukenny: what is in /etc/passwd for your user?
aloiscochard has quit [(Quit: Connection closed for inactivity)]
<clever> detran: what filesystem dod you mount to /boot?
<detran> clever: type vfat
ThatDocsLady has joined #nixos
<kungfukenny> clever: /nix/store/{hash}-fish-2.5.0/bin/fish
<kungfukenny> Also in an open terminal, running `fish` works fine.
<clever> what about running the exact path in passwd?
orivej has quit [(Ping timeout: 240 seconds)]
<tilpner> Also try a different terminal, just in case
<detran> and I mounted my root partition (ext4) to /mnt, then mounted boot (vfat) to /mnt/boot
<kungfukenny> clever: Works!
jensens has joined #nixos
mortum5 has joined #nixos
<kungfukenny> Oh, yeah, sorry forgot to mention, `xterm` does work starting up with fish.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vdmVo
<NixOS_GitHub> nixpkgs/master e0771a2 Robin Gloster: Revert "ibus: Move ibus-setup to .dev"...
NixOS_GitHub has left #nixos []
<Judson> So, I've got a (hopefully now complete) PR for kafkacat in, but I'm trying to figure out why it needs to add librdkafka to its includedir explicitly, but libyajl gets picked up just(?) by being a buildInput
<tilpner> kungfukenny - Do you have a weird fish config?
<kungfukenny> tilpner: No config at all. Just enable = true and shell = pkgs.fish
<clever> kungfukenny: strace -ff -o logfiles urxvt
<clever> kungfukenny: then throw the logs into a gist
<detran> does anybody know what could cause "Failed to probe file system "/boot" " ? I've verified that the partition type is EFI System, it has a vfat filesytem, and it's mounted at /mnt/boot
<kungfukenny> clever: http://lpaste.net/358746 First log
<detran> one weird thing: when I ls /mnt/boot there's nothing there
<detran> hmm
<clever> detran: is the partition type code set to efi system partition?
<detran> clever: yes
<clever> detran: not sure then
<kungfukenny> clever: And second: http://lpaste.net/358747
bennofs has joined #nixos
<clever> kungfukenny: the first log is for the terminal emulator
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
<clever> kungfukenny: it tried to run zsh, and zsh doesnt exist anymore
<detran> mount claims that it's mounted at /mnt/boot, but there's nothing there. should there be something there?
<clever> kungfukenny: what is $SHELL set to?
<kungfukenny> Hm, interesting
<betaboon> hello everyone. is anyone running nixos on rasberry pi 3 and got wifi working?
<detran> or does it get written during the install?
<clever> detran: grub adds files there, after probing it
<kungfukenny> Set to `/run/current-system/sw/bin/zsh`
<betaboon> is the nonfree rpi firmware required?
<kungfukenny> So that's incorrect
<tilpner> kungfukenny - Log out and back in
<tilpner> (Or do the su dance and start urxvt from that)
<detran> and it's the probe that's failing. do you know where I can learn more about this probing process?
<kungfukenny> tilpner: Oof. Why didn't I do that yet.
<kungfukenny> sec
<clever> detran: i usualy go directly to the source, in this case, the grub source
kungfukenny has quit [(Quit: leaving)]
<detran> clever: where do I find that?
<joepie91> makefu: Mic92: so I'm running into this issue - any chance either of you has a clue? (or anybody else who has packaged Ruby stuff) -- https://gist.github.com/joepie91/886048c43df54af82a6f2811e60b179a
kungfukenny has joined #nixos
<joepie91> I'm not really sure where it's trying to load stuff from or why it's failing
<clever> detran: can you gist your configuration.nix file?
<kungfukenny> tilpner: And ofcourse relogging totally worked. Sorry for that @tilpner and @clever. Thanks for the kind help!
<detran> clever: it's just the nixos-generate-config with stuff uncommented, but if you think that's useful I can gist it
<clever> detran: go ahead and gist it so we can confirm some things
pxc1 has quit [(Read error: Connection reset by peer)]
Infinisil has joined #nixos
pxc1 has joined #nixos
<detran> clever: http://lpaste.net/358748
<makefu> joepie91: mhh i also do not have a lot of experience with ruby packaging. Mic92 do you have an idea how to solve https://gist.github.com/joepie91/886048c43df54af82a6f2811e60b179a ?
<clever> detran: ah, your using systemd-boot, not grub
<clever> detran: /home/clever/apps/systemd/src/boot/bootctl.c: return log_error_errno(errno ?: EIO, "Failed to probe file system type \"%s\": %m", p);
<Infinisil> There should really be a warning: "You have both grub and systemd-boot enabled, using systemd-boot", because confusion happens so often
oida_ has joined #nixos
<clever> Infinisil: grub is off, i just assumed he was using grub
<Infinisil> I see, but still
tmaekawa has joined #nixos
<clever> yeah
<clever> detran: what does "mount" output for boot?
<detran> so if I just type mount and look at the boot partition, I see this:
tmaekawa has quit [(Client Quit)]
<detran> /dev/nvme0n1p1 on /mnt/boot type vfat (rw,relatime,fmask=0022,dmas=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
oida has quit [(Ping timeout: 246 seconds)]
<clever> detran: and if you run "blkid /dev/nvme0n1p1" what does it say?
<detran> /dev/nvme0n1p1: PARTLABEL="EFI System" PARTUUID="b8bc1d00-ecf4-4dd1-8fe8-aaddb534d787"
<clever> detran: try doing umount and then mount again
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vdmKc
<NixOS_GitHub> nixpkgs/master 13c9cba Robin Gloster: bacula: fix after postgresql output splitting
NixOS_GitHub has left #nixos []
18VACB98V has joined #nixos
<18VACB98V> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vdmKC
<18VACB98V> nixpkgs/release-17.09 cdf4d69 Robin Gloster: bacula: fix after postgresql output splitting...
18VACB98V has left #nixos []
<detran> here's an interesting thing: umount: /dev/boot: mountpoint not found
<clever> detran: its not in dev
<nixer> What was the -A flag replaced with in nix 1.12, I'm using nix build?
<detran> whoops
<detran> umount /mnt/boot -> mount /dev/nvme0n1p1 /mnt/boot -> nixos-install: same error
<clever> detran: how did you originally format /mnt/boot/ ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vdmKH
<NixOS_GitHub> nixpkgs/master 4013b38 Vladimír Čunát: manuals: document removal of newStdcpp from steam...
NixOS_GitHub has left #nixos []
ThatDocsLady has quit [(Quit: Leaving)]
<detran> clever: mfks.vfat /dev/nvme0n1p1
<clever> detran: out of ideas then, only thing i can think of is to try switching from systemd-boot to grub
<hyper_ch> what's nvme01p1?
<clever> nvme device 0, namespace 1, partition 1
<hyper_ch> is that one of those super fast ssds?
<clever> yeah
* hyper_ch wants one
<Mic92> makefu: joepie91 I would need to see the content of concurrent-ruby-ext-1.0.2/gem_make.out
<Mic92> mentioned in error message
<clever> hyper_ch: my bios doesnt support booting from it, so /boot has to remain on a super-slow SSD, lol
<hyper_ch> normal sata ssds are just soooo slow :)
<hyper_ch> I don't even have a slot for one of those... don't even have m2 slot I think
<clever> hyper_ch: you can also get a pci-e adapter board
<hyper_ch> on a notebook?
<clever> they are just pcie with a smaller connector
<clever> oh, thats harder
<hyper_ch> :)
<hyper_ch> is it a samsung?
<clever> i think they are also compatible with the mini-pcie notebooks use for wifi cards
<hyper_ch> need wifi though
mocker has joined #nixos
<hyper_ch> well, I could get usb wifi adapter...
<hyper_ch> or get a new notebook eventually
<johnw> is there a nixpkgs target for LaTeXit
<hyper_ch> there will be as soon as you create one :)
_ris has joined #nixos
<Infinisil> hyper_ch: Ohh, these system76 laptops have an option for these super fast ssds, and I was thinking about buying one of those in the future
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vdm6d
<NixOS_GitHub> nixpkgs/release-17.09 53068f4 Stefan Siegl: kea: fix path to pg_config...
NixOS_GitHub has left #nixos []
<hyper_ch> Infinisil: but they don't ship de_CH keyboard
<nixer> Can anyone tell me how to use nix build in 1.12, I just want to run something like "nix build ./nixpkgs -A gerrit", but the -A flag is unrecognized.
<Infinisil> hyper_ch: I can adjust, I use programmer dvorak anyways, the only difference would be one less key and a different Return
<hyper_ch> Infinisil: I can't :(
<Infinisil> 3500MB/s read, 2100MB/s write :O
<hyper_ch> I need too often öäüèéà
<hyper_ch> Infinisil: that's 3x as fast as my home internet ;)
<Infinisil> hyper_ch: I thought about making a layout so i can type these easily, but haven't really needed them at all
jonge has quit [(Ping timeout: 246 seconds)]
<Infinisil> Always using english
<globin> hyper_ch: I've found the us intl layout to be nice for cases like that
<hyper_ch> for work I can't use english
<samueldr> wouldn't some compose key trickery be better than making a custom layout?
<globin> hyper_ch: alt-gr+p = ö
<hyper_ch> samueldr: no, I'm used to the swiss german keyboard layout
<samueldr> (though, the layout I use uses dead keys for all accents, makes it so much easier)
<hyper_ch> globin: that gives you carpal's
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vdmiR
<NixOS_GitHub> nixpkgs/master 2d640b9 Michael Weiss: wlc: Downgrade back to 0.0.9...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vdmii
<NixOS_GitHub> nixpkgs/release-17.09 c35be63 Michael Weiss: wlc: Downgrade back to 0.0.9...
NixOS_GitHub has left #nixos []
<Infinisil> I'm still not sure what to do with the numbers on my programmers dvorak :/ It's hard to use vim (and soon emacs) shortcuts with numbers when you need to press shift to use them
jonge has joined #nixos
* samueldr looks up programmer dvorak
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to master: https://git.io/vdmid
<NixOS_GitHub> nixpkgs/master 3378dbb Eelco Dolstra: Revert "Revert "ibus: Move ibus-setup to .dev""...
<NixOS_GitHub> nixpkgs/master ba22ad4 Eelco Dolstra: ibus-wrapper: Fix build
NixOS_GitHub has left #nixos []
<samueldr> yeah, the number row makes it a non-starter for me
<adelbertc> anyone here have experience with dockerTools.buildImage ?
ona has joined #nixos
<adelbertc> it seems the result of that is a .tar.gz file which when unpacked is an image manifest that references the /nix/store which makes the tarball not suitable for uploading to say, Artifactory
<detran> clever: we determined earlier that grub doesn't write to /boot until after it probes, does systemd-boot work the same way?
<clever> adelbertc: why is it not suitable to upload there?
<clever> detran: you where using systemd-boot then, not grub
<clever> i forgot about which one is the default
<adelbertc> clever: if i only push the tarball upstream, whoever is pulling it wont have the referenced nix store paths right
<clever> detran: systemd-boot is what is failing to probe, but grub may probe differently
<clever> adelbertc: the tarball that nixpkgs generates contains the entire closure
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #29376: ibus-anthy: fix pygobject3 dependency (master...29275-fix-ibus-anthy) https://git.io/v5Hq2
NixOS_GitHub has left #nixos []
<adelbertc> oh i didnt notice the nested .tar in there
<adelbertc> i see
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vdmPu
<NixOS_GitHub> nixpkgs/release-17.09 86e35b7 Lancelot SIX: ibus-anthy: fix pygobject3 dependency...
NixOS_GitHub has left #nixos []
<clever> adelbertc: i can just do "docker load < result" and it will make a working docker image that can run a command
erictapen has joined #nixos
<adelbertc> clever: have you successfully loaded the tarball remotely? that is, if you upload the tarball to artifactory have you been able to successfully pull it down?
<clever> adelbertc: not yet, but i believe the docker is isolating it from the host enough that it shouldnt matter
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vdmPM
<NixOS_GitHub> nixpkgs/master f2955e4 Vladimír Čunát: manuals: fixup steam note, as the change is in 17.09...
NixOS_GitHub has left #nixos []
<clever> adelbertc: oh, and one of the builds i queued up has finished on a remote machine, that will be a similar test
<clever> adelbertc: i had configured a hydra to pre-build the entire docker image, downloading it in the browser and loading...
<adelbertc> hmm interesting
<adelbertc> what command are you using to load it remotely?
betaboon has quit [(Quit: Leaving)]
<adelbertc> when i try a `docker import <url>` it shows up as <none> for the name which had me suspicious
johnsonav has joined #nixos
<clever> adelbertc: docker load
<adelbertc> clever: you can docker load from a URL?
<clever> havent tried that yet
<adelbertc> ah ok
<adelbertc> but ok good to know the tarball should be fine as is..
<Infinisil> samueldr: You get used to it after a while. When I was still using osx i used a normal number arrangement, but on linux i couldn't be bothered with xkb, so now I'm using the weird arrangement
<samueldr> shifting it is my main issue
taktoa has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vdmX6
<NixOS_GitHub> nixpkgs/master f39ead7 Lancelot SIX: ibus-engines.hangul: add python dependency
NixOS_GitHub has left #nixos []
<Infinisil> samueldr: shifting it? You mean that you need shift for numbers?
<samueldr> didn't you say so?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vdmXj
<NixOS_GitHub> nixpkgs/release-17.09 9fbad9b Vladimír Čunát: manuals: document removal of newStdcpp from steam...
NixOS_GitHub has left #nixos []
m0rphism1 has joined #nixos
m0rphism has quit [(Ping timeout: 246 seconds)]
<Infinisil> samueldr: Yeah you do indeed need to press shift for numbers. But I consider that an advantage, because you don't need to press shift for most symbols
<hyper_ch> but aren't numbers important?
<Infinisil> eh, i don't use em much
<Infinisil> not as much as symbols anyways
<hyper_ch> (4h work x hourly wage) x VAT = bill
<hyper_ch> can't understand how you cannot use numbers
<hyper_ch> does not compute
oida has joined #nixos
orivej has joined #nixos
<clever> adelbertc: running: docker load < ~/Downloads/file.tar.gz
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vdm11
<NixOS_GitHub> nixpkgs/release-17.09 394aa5a Lancelot SIX: ibus-engines.hangul: add python dependency...
NixOS_GitHub has left #nixos []
<clever> adelbertc: and docker run -i <name>
<adelbertc> clever: yep thats worked for me, trying to get it working for a remote URL now
oida_ has quit [(Ping timeout: 260 seconds)]
<detran> whelp, I nuked everything and started over and it just worked.
* detran shrug
<detran> thanks for your help!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vdmMI
<NixOS_GitHub> nixpkgs/master e83b78b Vladimír Čunát: Merge older staging...
NixOS_GitHub has left #nixos []
jellowj has quit [(Ping timeout: 252 seconds)]
<detran> ^I mean that in a non-sarcastic way, sorry
davidak has joined #nixos
<davidak> has anyone an opinion on if we should enable cgroup accounting in NixOS? https://github.com/NixOS/nixpkgs/issues/29095
leinadlime has joined #nixos
<hyper_ch> no idea what's that good for :)
<davidak> hyper_ch: you can see what service uses what system resources
Havvy has quit [(Quit: Computer Restarted or Restarting IRC)]
oida_ has joined #nixos
<davidak> like with systemd-cgtop
Havvy has joined #nixos
<hyper_ch> isn't that what htop is for?
<davidak> yes, but that is a systemd feature
<hyper_ch> systemd still hasn't forked the kernel yet? :)
<davidak> and other tools use that, like netdata
ertes-w has joined #nixos
<MichaelRaskin> I guess the argument _for_ cgroups accounting is that it does better job tracking short-lived children.
<Infinisil> MichaelRaskin: That would be much appreciated
oida has quit [(Ping timeout: 240 seconds)]
nixer has quit [(Quit: Page closed)]
<Infinisil> systemd-cgtop shows some data for me: https://asciinema.org/a/69NdMCAh75gb3CKlbMYCVsNcg
jellowj has joined #nixos
<Infinisil> doesn't seem to show --user services (which is what's using so much cpu currently)
<hyper_ch> I thik my bug report is about the wrong package...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vdmDV
<NixOS_GitHub> nixpkgs/staging 95b706f Vladimír Čunát: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
<davidak> Infinisil: this is how it looks if you have it enabled https://davidak.basecom.de/paste/?6bc791f9398487b4#GImWeOoUhyNoNkSbZnbXCpxUj1nSkhmQlwE4taMbEtM=
yegortimoshenko has joined #nixos
<yegortimoshenko> is there a way to reference $out in derivation outside of phases?
<yegortimoshenko> "${out}"
<yegortimoshenko> doesn't work
<clever> yegortimoshenko: its an env variable at build time, so it has to be expanded by bash somewhere
<clever> yegortimoshenko: can you gist your current expression?
<hyper_ch> gist is now also a verb?
<clever> gist also allows me to fork it, make a change, and there be a clear diff of what i did to fix it
<Infinisil> davidak: I see, that's a bit more, what's input/output though and why are they all empty?
<Infinisil> disk IO?
<davidak> yegortimoshenko: you can do something like this to reference to the package conent https://github.com/davidak/nixos-config/blob/e30444489a0edfe9fd4141c538032dffa931320c/binary/configuration.nix#L139
<yegortimoshenko> makeFlags are not expanded by bash. but it's ok, i'll just use buildPhase explicitly.
erictapen has quit [(Remote host closed the connection)]
<clever> yegortimoshenko: you can also use preBuild
<Infinisil> Ah yes, it's disk IO
<clever> yegortimoshenko: nixpkgs does other things that youll loose if you override buildPhase, like -j handling and something else
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/10bb7fddb9 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
erictapen has joined #nixos
numerobis has joined #nixos
<clever> yegortimoshenko: oh oops, and just $out now
<LnL> yegortimoshenko: makeFlags = [ "all" "PREFIX=$(out)" ]; also works
ryantrinkle has joined #nixos
<yegortimoshenko> clever: here's what i've ended up doing: https://gist.github.com/yegortimoshenko/da812ac2e208c65819f78f86ab48f369
<clever> yegortimoshenko: that also works
<yegortimoshenko> but i'll end up using LnL's approach :-)
<clever> depends also on if the configurePhase needs a proper prefix
<yegortimoshenko> clever, LnL: thanks!
acarrico has quit [(Ping timeout: 255 seconds)]
<hyper_ch> I think I'll write a little bash script that gets all that desired bug-reporting-technical-data stuff properly into the terminal so I only have to copy'n'paste once
<yegortimoshenko> there's no ./configure in this case
sellout- has quit [(Quit: Leaving.)]
jensens has quit [(Ping timeout: 264 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jensens has joined #nixos
csparks has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vdm94
<NixOS_GitHub> nixpkgs/master 50fb629 Robin Gloster: bluez: remove unneeded dependencies and fix test bins
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vdm90
<NixOS_GitHub> nixpkgs/release-17.09 ef52776 Robin Gloster: bluez: remove unneeded dependencies and fix test bins...
NixOS_GitHub has left #nixos []
MercurialAlchemi has joined #nixos
<Infinisil> clever: Your link cut off
MercurialAlchemi has quit [(Ping timeout: 248 seconds)]
aneeshusa has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #29871: vim-plugins: add `overrideAttrs` support for `buildVimPluginFrom2Nix` (master...vim-utils/override-capability) https://git.io/vdmQU
NixOS_GitHub has left #nixos []
reinzelmann has quit [(Quit: Leaving)]
cpennington has quit [(Ping timeout: 248 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e8278f584f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #29872: dgraph: 0.8.1 -> 0.8.2 (master...pr/dgraph-0.8.2) https://git.io/vdmQV
NixOS_GitHub has left #nixos []
takle has joined #nixos
<adelbertc> clever: do you use kubernetes?
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<clever> adelbertc: nope
<adelbertc> bah
<joepie91> Mic92: sorry, was otherwise occupied for a bit - the contents of that are just what was already in the output of the command; https://gist.github.com/joepie91/8c4ec8c10340cac7c675f1e3e31e05bc
aneeshusa has quit [(Ping timeout: 246 seconds)]
<clever> adelbertc: network trouble?
<adelbertc> nah, Kubernetes just doesnt seem to like the tarball. at least not with my naive way of trying to get it to do something
<Mic92> joepie91: are you using jruby?
kus_ubuntui686 has quit [(Ping timeout: 260 seconds)]
<joepie91> Mic92: nope - I almost literally copypasted the metasploits etup
<joepie91> metasploit setup *
<joepie91> sec
<joepie91> Mic92: not sure if this may be of any use: https://gist.github.com/joepie91/07807c1151f13cc34f4794b69a3fc4b5
<Mic92> joepie91: are you just trying to update metasploit?
<joepie91> Mic92: added the default.nix as well
<joepie91> Mic92: no, trying to package Arachni
<joepie91> which has vaguely similar requirements to metasploit :)
jbaum98 has quit [(Quit: Connection closed for inactivity)]
<joepie91> (or well, it's the same for the most part except a few different deps_
<joepie91> )*
Itkovian has joined #nixos
<Mic92> joepie91: are you sure you have send me the output of this file? ../gems/2.3.0/extensions/x86_64-linux/2.3.0/concurrent-ruby-ext-1.0.2/gem_make.out
<Mic92> which was mentioned in the error log
cpennington has joined #nixos
<Mic92> s/output/content/
<joepie91> (that one has the cat command)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vdm7Q
<NixOS_GitHub> nixpkgs/master 6b05651 Robin Gloster: Revert "postgresql: Add dev output"...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vdm7d
<NixOS_GitHub> nixpkgs/release-17.09 81a229e Robin Gloster: Revert "postgresql: Add dev output"...
NixOS_GitHub has left #nixos []
<Mic92> joepie91: ok, I think it makes now more sense to me.
<joepie91> (I feel like I'm overlooking something very obvious here)
ona has quit [(Ping timeout: 240 seconds)]
<Mic92> joepie91: https://gist.github.com/joepie91/886048c43df54af82a6f2811e60b179a#file-1-L7 this line somehow does do its job
<joepie91> Mic92: doesn't*? :)
<joepie91> right - concretely, how could I fix that? I'd imagine that patching paths into it isn't a very reliable solution
<Mic92> joepie91: maybe you can add a line in front of that, that just do: puts(File.expand_path('../../../lib', __FILE__))
<Mic92> this should point to the root of the project
<Mic92> or better to say $root/lib
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdm5z
<NixOS_GitHub> nixpkgs/master 259df64 Franz Pletz: postgresql: default to 9.6 like in the nixos module
NixOS_GitHub has left #nixos []
ryanartecona has quit [(Quit: ryanartecona)]
<Mic92> joepie91: you know how to patch rubygems right?
DeaDSouL has quit [(Remote host closed the connection)]
<Mic92> via this gem-config directory
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/vdm5i
<NixOS_GitHub> nixpkgs/release-17.09 6f938a1 Franz Pletz: postgresql: default to 9.6 like in the nixos module...
NixOS_GitHub has left #nixos []
<joepie91> Mic92: I have no idea about anything Ruby :)
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<joepie91> Mic92: so from my perspective, any Ruby-specific advice is pretty much just magical incantations, unfortunately
<Mic92> joepie91: I take a look at it
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
<Mic92> the dark arts of taking ruby to production
<joepie91> hah
<joepie91> Mic92: do you need anything from my end at the moment? otherwise I'll vanish for 15 minutes or so for a shower
<Mic92> go ahead
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vdmd0
<NixOS_GitHub> nixpkgs/master 34750bb Robin Gloster: 17.09 release notes: redis cluster mass-restart needed...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vdmdE
<NixOS_GitHub> nixpkgs/release-17.09 455ed26 Robin Gloster: 17.09 release notes: redis cluster mass-restart needed...
NixOS_GitHub has left #nixos []
JosW has quit [(Quit: Konversation terminated!)]
<joepie91> alright :)
jellowj has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 260 seconds)]
oida has joined #nixos
<catern> ITP (Intent to Package): nix -- Purely functional package manager
oida_ has quit [(Ping timeout: 260 seconds)]
<Mic92> neat and needed
jellowj has joined #nixos
nixer has joined #nixos
oida_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mbrgm opened pull request #29874: znc: fix openFirewall option (master...znc-fix) https://git.io/vdmF2
NixOS_GitHub has left #nixos []
cpennington has quit [(Remote host closed the connection)]
<Mic92> joepie91: what os are you on?
aneeshusa has joined #nixos
oida has quit [(Ping timeout: 264 seconds)]
<gchristensen> nice
<joepie91> Mic92: NixOS
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ad6265dbfa (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
<Mic92> joepie91: ok, builds for me now
nix-gsc-io`bot has quit [(Client Quit)]
<joepie91> Mic92: what do I change to make it work here as well? :)
<gchristensen> hmm slightly disappointing we don't package puppet :P
<globin> gchristensen: arrgh \o/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 3 new commits to master: https://git.io/vdmb0
<NixOS_GitHub> nixpkgs/master d68e9b4 Nikolay Amiantov: glfw2: don't use mesa
<NixOS_GitHub> nixpkgs/master 98ef62e Nikolay Amiantov: glfw3: cleanup dependencies, propagate mesa_noglu
<NixOS_GitHub> nixpkgs/master 47f0997 Nikolay Amiantov: mupdf: cleanup dependencies...
NixOS_GitHub has left #nixos []
<joepie91> gchristensen: so you can use apt to install NixOS to install puppet to manage a NixOS system running NixOps to manage other NixOS systems? :)
hamishmack_ has joined #nixos
<Mic92> gchristensen: we have salt though
<gchristensen> joepie91: exactly!
<gchristensen> Mic92, globin: so I can use `puppet parser validate`
hamishmack has quit [(Ping timeout: 240 seconds)]
hamishmack_ is now known as hamishmack
<globin> gchristensen: puch
<globin> ouch*
<Mic92> joepie91: it contains a nixpkgs as well
<gchristensen> I know. :(
<Mic92> joepie91: *nixpkgs patch
<Mic92> joepie91: you also need to put libcurl into LD_LIBRARY_PATH, I have not done that yet to the package
<Mic92> this can be done in the makeWrapper call
<joepie91> Mic92: ah, right, I should have mentioned that I'm currently packaging it in my own separate package set, not yet in nixpkgs
oida has joined #nixos
<joepie91> (I use my own package set as a staging area of sorts)
<Mic92> joepie91: ok, but you need this gem-config patch I have in the tarball
<Mic92> this was designed for nixpkgs
<Mic92> I think there was a way to have your own gem-config overrides
<joepie91> Mic92: I'm not sure I totally understand the purpose of gem-config
<Mic92> joepie91: it override bundix's gem library definitions to add system dependencies
oida_ has quit [(Ping timeout: 240 seconds)]
<Mic92> for instance nokogiri needs libxml2 to build correctly
<Mic92> we have one global override in nixpkgs to fix most bundix related stuff without user interaction
<joepie91> Mic92: but... isn't that what's already being done with the shell.nix for metasploit (and therefore for arachni)?
<nixer> I'm trying to install nix into a container, but hitting an error. It gets past copying to the nix store and initializing the database, however it fails on building user-environment due to: "while setting up the build environment: executing /nix/store/76lhp1gvc3wbl6q4p2qgn2n7245imyvr-perl-5.22.3/bin/perl: Permission denied". Any idea on what the cause may be?
<Mic92> joepie91: no it is more granular. you shell.nix is just for you to use bundle + bundix outside of nix.
<LnL> nixer: what kind of container?
<nixer> LnL: A docker container.
<Mic92> joepie91: the gem overrides allow us to build each gem globally only ones because it specify deps needed to build a single gem
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
<LnL> nixer: you might want to look at https://github.com/LnL7/nix-docker or the nixos/nix container then :)
eacameron has joined #nixos
<joepie91> Mic92: not sure I understand how that is the case... can you ELI5 it perhaps? :)
<joepie91> (I think I just don't understand enough about the underlying design decisions behind how Ruby stuff is handled in Nix)
<nixer> LnL: I'd love to use that, however I don't want to maintain my the lifecycle of my own containers. I'm running this on ECS right now. Do you have any idea what the problem may be?
<MichaelRaskin> I remember one time when Debian considered packaging Nix; they ended up deciding that /nix/ is too non-LSB to allow.
<Infinisil> LSB?
acarrico has joined #nixos
<LnL> nixer: did you register all of the store paths after initializing the nix db?
<joepie91> Infinisil: Linux Standard Base, I'm guessing
bennofs has quit [(Quit: WeeChat 1.9.1)]
<MichaelRaskin> Yes.
<MichaelRaskin> Would be fun if they ended up packaging with /opt/nix/ as the default store path…
kkini has joined #nixos
<Infinisil> Heh lol
<nixer> LnL: No I'm not, I was just running the default nix install (by curling and running shell) on top of the base docker image (from docker). The weird thing is that this worked until I reshuffled my scripts around.
stanibanani has joined #nixos
<Mic92> MichaelRaskin: hopefully they will realise how stupid this is.
Denommus has joined #nixos
<Denommus> is there a prediction on nix without perl?
<Infinisil> MichaelRaskin: Well it would be a good test to see if nix can work with non-standard locations, because I think it is supported
<MichaelRaskin> It does work, I have tested it
<LnL> nixer: oh! you're using the installer, not sure then
<MichaelRaskin> Up to running LibreOffice on a eInk reader.
<Infinisil> Ah nice
<MichaelRaskin> Or was LibreOffice with Debian?
<MichaelRaskin> Let me check
python47` has quit [(Remote host closed the connection)]
<MichaelRaskin> Maybe. Just TigerVNC server was via Nix.
<Judson> Ugh. Systemd is such an unfortunate choice on Nix. "ExecStart" paths have to be absolute, and no PATH is provided.
<Judson> I just want to use a bash script in a user systemd...
phreedom has joined #nixos
<MichaelRaskin> Just point it to a shell script that starts by sourcing your profile script.
<Judson> And what interpreter should I use?
<Judson> "just"
<sphalerite> Judson: that's why we have systemd.services.<name>.script
<MichaelRaskin> #!/bin/sh
<Judson> I don't want a system level script though - this is session related.
<sphalerite> Oh right
<Judson> So #!/bin/sh; source .profile; exec /usr/bin/bash <realscript> ?
<sphalerite> /home/$USER/.nix-profile/bin/foo is an absolute path :)
<globin> Judson: systemd.user.services :)
ipj[m] has joined #nixos
<Judson> I need to do some kind of profile loading anyway, since then it can't find any paths at all.
<globin> Judson: you can pass it <name>.path = [ pkgs.foo ];
silver_hook has quit [(Ping timeout: 255 seconds)]
<joepie91> Mic92: so my guess was to pass a gemConfig attribute to the bundlerEnv call in default.nix
<joepie91> but this does not seem to have worked
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vdmxo
<NixOS_GitHub> nixpkgs/master 2651602 Joachim Fasting: tor-browser-bundle: factor out extensions
<NixOS_GitHub> nixpkgs/master 931da53 Joachim Fasting: tor-browser-bundle: support passing additional extensions
NixOS_GitHub has left #nixos []
<joepie91> not yet sure why
hamishmack has quit [(Quit: hamishmack)]
acarrico has quit [(Ping timeout: 240 seconds)]
cement has quit [(Ping timeout: 246 seconds)]
* joepie91 feels like he's forgetting something
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] thoughtpolice pushed 2 new commits to master: https://git.io/vdmxj
<NixOS_GitHub> nixpkgs/master 76245e0 Peter Brottveit Bock: urweb: support darwin, depend on gcc, fix paths....
<NixOS_GitHub> nixpkgs/master 04d449a Austin Seipp: Merge pull request #29857 from peterbb/master...
NixOS_GitHub has left #nixos []
jellowj has quit [(Ping timeout: 252 seconds)]
jellowj has joined #nixos
ebzzry has joined #nixos
noam__ has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #29650: opencascade: remove 6.5.5 and 6.6.0 (master...opencascade) https://git.io/vdv4l
NixOS_GitHub has left #nixos []
noam__ has joined #nixos
boxofrox has joined #nixos
ebzzry_ has joined #nixos
ebzzry has quit [(Ping timeout: 240 seconds)]
ktf has joined #nixos
<ktf> hi, nix on macosx high sierra hangs my computer (mouse still moves, everything else complete frozen). Anyone else experiencing this?
<gchristensen> a few people, in ##nix-darwin
<LnL> yeah :/
<LnL> however I'm not 100% convinced it's nix anymore
<ktf> Lnl: I see it happening when nix tries to wrap (?) system frameworks..
<Mic92> joepie91: you would have to merge the default gemConfig from nixpkgs with yours
<joepie91> Mic92: but that's what I'm doing already?
<joepie91> defaultGemConfig // { ,,,
<Mic92> joepie91: ah, yes right
<Mic92> so what is the problem then?
<joepie91> it just keeps failing in the exact same way as before though, as if it weren't specified at all
<Mic92> joepie91: your checksum was incorrect btw
aneeshusa has quit [(Ping timeout: 248 seconds)]
corpix has quit [(Ping timeout: 248 seconds)]
<Mic92> did you took the stuff I have added to the tarball
<Mic92> that was working for me
<joepie91> I know, I usually wait for it to fail and then copy the right hash :P
<joepie91> Mic92: I copied changes selectively, not sure if I might have missed something
<joepie91> hold on
corpix has joined #nixos
<Mic92> joepie91: you can also do nix-build -E 'with import <nixpkgs> { }; callPackage ./default.nix { }' in the directory
hke has quit [(Ping timeout: 240 seconds)]
aneeshusa has joined #nixos
<joepie91> Mic92: one moment, noticing something else that seems off
<joepie91> Mic92: the gemset.nix in your tarball has a 'dependencies' key for all (most?) items, but my gemset.nix doesn't, and I never ran the sed command
<Mic92> joepie91: I have not even looked at it. I just ran bundle + bundix
mortum5 has quit [(Ping timeout: 246 seconds)]
detran has quit [(Ping timeout: 248 seconds)]
<Mic92> do you have the same bundix?
<Mic92> from master?
<joepie91> ah, no, it's from 17.03
gandreani has quit [(Ping timeout: 255 seconds)]
<joepie91> should I try bundix from unstable?
kungfukenny has quit [(Ping timeout: 248 seconds)]
hke has joined #nixos
<Mic92> joepie91: maybe also building against unstable
simukis has quit [(Quit: simukis)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vdYel
<NixOS_GitHub> nixpkgs/master 23f3980 Joerg Thalheim: nixos: skip restarting systemd-logind to not break x11
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/vdYeu
<NixOS_GitHub> nixpkgs/release-17.09 24f0aec Joerg Thalheim: nixos: skip restarting systemd-logind to not break x11...
NixOS_GitHub has left #nixos []
<Mic92> globin: ^
<globin> Mic92: thanks :)
<joepie91> Mic92: against what thing in unstable? (I have a setup with different packages from different channels)
joehh has joined #nixos
stanibanani has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #29876: hugo: 0.27.1 -> 0.29 (master...pr/hugo-0.29) https://git.io/vdYvt
NixOS_GitHub has left #nixos []
ktf has quit [(Ping timeout: 246 seconds)]
<joepie91> Mic92: is your bundix version 2.3.1?
hamishmack has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdYvV
<NixOS_GitHub> nixpkgs/master 4a24420 Alexander Ried: Revert "kbd service: use /dev/tty1 for systemd-vconsole-setup"...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vdYvH
<NixOS_GitHub> nixpkgs/master 725dee2 Franz Pletz: wpa_supplicant service: restart instead of stop & start...
<NixOS_GitHub> nixpkgs/master 0ee866e Franz Pletz: kbd service: systemd-vconsole-setup is triggered by udev...
NixOS_GitHub has left #nixos []
endformationage has joined #nixos
Ridout has joined #nixos
yegortimoshenko has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
joehh has quit [(Ping timeout: 246 seconds)]
ktf has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vdYfF
<NixOS_GitHub> nixpkgs/master a06f839 Joachim Fasting: nixos/release-notes: notable changes to the dnscrypt-proxy service
NixOS_GitHub has left #nixos []
<boxofrox> i have a declarative container using a bindMount to a folder that doesn't exist. is there a way in nix to mkdir when the container starts? looking at nix/modules/virtualisation/containers.nix, there is a `preStart` option, but I think I can only replace the default value, not add to it.
joehh has joined #nixos
<joepie91> Mic92: so I copied your gemset.nix and magically the build worked
<joepie91> but my own-generated gemset.nix doesn't
hiratara has quit [(Ping timeout: 246 seconds)]
7JTACGTE7 has joined #nixos
<7JTACGTE7> [nixpkgs] fpletz closed pull request #29470: add buildGo19Pacakge (master...build_go_1_9) https://git.io/v5deZ
7JTACGTE7 has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdYJt
<NixOS_GitHub> nixpkgs/master b39c42d PanAeon: buildGo19Package: init (#29470)
NixOS_GitHub has left #nixos []
<joepie91> and my gemset.nix still doesn't have a `dependencies` key, not with the bundix from ujnstable either :/
<joepie91> unstable*
<joepie91> what the heck...
hiratara has joined #nixos
<joepie91> hold on!
<joepie91> Mic92: so it builds when I use `unstable.ruby.devEnv` instead of `nixpkgs.ruby.devEnv` (the latter of which is 17.03 channel)
<joepie91> in shell.nix
<Mic92> I think devEnv also comes with bundix
numerobis has quit [(Ping timeout: 255 seconds)]
<joepie91> Mic92: the only change for Ruby seems to have been 2.3.3 -> 2.3.4...
<joepie91> between 17.03 and master
<Mic92> whatever
<gchristensen> Mic92: pass `-d` to bundix?
<Mic92> joepie91: what work now, does it?
<joepie91> Mic92: when I use `ruby.devEnv` from master/unstable, it works; the gemset.nix seems to generate including `dependencies` keys... whereas with `ruby.devEnv` from release-17.03 doesn't work, and is missing the `dependencies` keys in gemset.nix. I didn't realize there was a -d flag, so the next step is to test from 17.03 with -d I guess
<joepie91> I'm not sure yet why one works but the other doesn't
<joepie91> especially since 17.03 ruby with unstable/master bundix didn't work either, so it can't have been a change in bundix?
<nixo[m]> Hi, how do I know which package provides g++? stdenv does notq
Infinisil has quit [(Quit: leaving)]
<joepie91> unless some build artifacts remained behind and got reused from my earlier attempts with 17.03 bundix + ruby, and it invalidated those when I changed the Ruby versioin...
<joepie91> but I have no idea how to check and/or invalidate those
<sphalerite> (Should work identically in bash)
<sphalerite> For extra niceness, pipe to xsel so you don't need to select it
<nh2> nixo[m]: I think `gcc` does, e.g. `nix-shell --pure -p gcc which --run 'which gcc'` works
erictapen has joined #nixos
<joepie91> Mic92: it works with ruby_2_2 from 17.03 too, so now I'm suspecting that it is indeed a case of build artifacts being left behind in a cache somewhere. are there any impure locations that the bundler + bundix operation touches, that I might need to rm -rf to do a 'clean' build?
nix-gsc-io`bot has joined #nixos
<Mic92> joepie91: a lot
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/9824ca6975 (from 24 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
joehh has quit [(Ping timeout: 246 seconds)]
ryantrinkle has quit [(Ping timeout: 246 seconds)]
<joepie91> alright, where do I start? :)
<Mic92> joepie91: $HOME/.bundle $HOME/.gem
<Mic92> I don't what bundix does there
<joepie91> Mic92: okay, nuked both of those; any others you know of?
coreteam has joined #nixos
joehh has joined #nixos
nixer has quit [(Ping timeout: 260 seconds)]
<Mic92> according to `gem env` that's it
<joepie91> alright, thanks
* joepie91 gives it another try
acarrico has joined #nixos
07IAA6WDP has joined #nixos
7ITABN251 has joined #nixos
<7ITABN251> [nixpkgs] Mic92 closed pull request #29874: znc: fix openFirewall option (master...znc-fix) https://git.io/vdmF2
7ITABN251 has left #nixos []
<07IAA6WDP> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdYT6
<07IAA6WDP> nixpkgs/master dd50575 Marius Bergmann: znc: fix openFirewall option...
<07IAA6WDP> nixpkgs/master 2b8cba2 Jörg Thalheim: Merge pull request #29874 from mbrgm/znc-fix...
07IAA6WDP has left #nixos []
akaWolf has quit [(Ping timeout: 260 seconds)]
ktf has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vdYTM
<NixOS_GitHub> nixpkgs/release-17.09 b9935c7 Marius Bergmann: znc: fix openFirewall option...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #29878: lftp: 4.8.0 -> 4.8.2 (master...pr/lftp-4.8.2) https://git.io/vdYTy
NixOS_GitHub has left #nixos []
jsgrant has quit [(Read error: Connection reset by peer)]
* joepie91 watches spinners spin and tumblers tumble
jsgrant has joined #nixos
gandreani has joined #nixos
zeus__ has joined #nixos
gandreani has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to master: https://git.io/vdYkS
<NixOS_GitHub> nixpkgs/master 4f91397 Rostislav Beneš: nixos/nvidia: populating /dev with nvidia devices at boot
<NixOS_GitHub> nixpkgs/master 4ef8233 Rostislav Beneš: nixos/gdm,nvidia: new options to enable GDM on Wayland and disabling it for nvidia drivers.
<NixOS_GitHub> nixpkgs/master 0cad98d Rostislav Beneš: nixos/xserver,gdm: let GDM handle X server verbosity.
NixOS_GitHub has left #nixos []
aneeshusa has quit [(Quit: WeeChat 1.9)]
<joepie91> Mic92: it's still failing on 17.03 ruby.devEnv regardless of bundix version, even after garbage-collecting the failed builds and removing ~/.gem and ~/.bundle :/
<joepie91> I think I'm just going to stick with 2_2 for now to make the issue go away
<joepie91> but it's a very weird bug
ambro718 has quit [(Quit: Konversation terminated!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #29879: nixos/monit: install monit as system package, use default config file path (master...monit) https://git.io/vdYIu
NixOS_GitHub has left #nixos []
ertes-w has quit [(Ping timeout: 248 seconds)]
Mateon1 has quit [(Ping timeout: 260 seconds)]
coreteam has quit [(Quit: Leaving)]
mudri has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdYI9
<NixOS_GitHub> nixpkgs/master ae259ff Yann Hodique: lftp: 4.8.0 -> 4.8.2
NixOS_GitHub has left #nixos []
hiratara has quit [(Remote host closed the connection)]
<nh2> bachp: is https://github.com/NixOS/nixpkgs/pull/29868 good to go from your perspective?
Mateon2 has joined #nixos
hiratara has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #29872: dgraph: 0.8.1 -> 0.8.2 (master...pr/dgraph-0.8.2) https://git.io/vdmQV
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdYLc
<NixOS_GitHub> nixpkgs/master ff15b85 Nick Novitski: youtube-dl: 2017.09.15 -> 2017.09.24 (#29866)
NixOS_GitHub has left #nixos []
gandreani has joined #nixos
<joepie91> Mic92: so apparently the two failure cases are: 1) using 17.03 ruby.devEnv, regardless of bundix version, and 2) using 17.03 bundix without a -d flag, regardless of Ruby version
Jackneill has quit [(Ping timeout: 252 seconds)]
ryanartecona has joined #nixos
<joepie91> in both cases, `dependencies` are missing from the gemset.nix
<joepie91> and the installation fails with the aforementioned error
jumblemuddle has joined #nixos
mizu_no_oto has joined #nixos
<jumblemuddle> How can I write an executable file using builtins.toFile?
<jumblemuddle> Also, why can't I use derivations inside my builtins.toFile string? (${pkgs.*})
<joepie91> jumblemuddle: there's a specific nixpkgs utility for this I believe
infinisil has joined #nixos
<joepie91> eg. `pkgs.writeScriptBin "filename" "contents"`
<jumblemuddle> joepie91: Thanks!
gandreani has quit [(Ping timeout: 240 seconds)]
aminechikhaoui has quit [(Ping timeout: 255 seconds)]
aminechikhaoui has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #29867: udpt: 2016-02-20 -> 2017-09-27 (master...pkgs/udpt/update) https://git.io/vdmzD
NixOS_GitHub has left #nixos []
<joepie91> Mic92: and it seems that whenever you use -d it always works, even with 17.03 ruby.devEnv and 17.03 bundix...
<joepie91> (use -d for bundix, I mean)
aneeshusa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #29860: consul service: Restart on failure (master...consul-restart-on-failure) https://git.io/vdmlr
NixOS_GitHub has left #nixos []
ryanartecona has quit [(Quit: ryanartecona)]
<nh2> fpletz: thanks!
oida_ has joined #nixos
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 12 new commits to release-17.09: https://git.io/vdYtV
<NixOS_GitHub> nixpkgs/release-17.09 48465ae Alexander Ried: Revert "kbd service: use /dev/tty1 for systemd-vconsole-setup"...
<NixOS_GitHub> nixpkgs/release-17.09 2ae16ef Franz Pletz: wpa_supplicant service: restart instead of stop & start...
<NixOS_GitHub> nixpkgs/release-17.09 f76d2aa Franz Pletz: kbd service: systemd-vconsole-setup is triggered by udev...
NixOS_GitHub has left #nixos []
aminechikhaoui has quit [(Ping timeout: 240 seconds)]
oida has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #29861: consul service: Restart on failure. (release-17.09...consul-restart-on-failure-17.09) https://git.io/vdmlN
NixOS_GitHub has left #nixos []
csparks has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #29849: liboping: 1.9.0 -> 1.10.0 (master...patch-65) https://git.io/vdmfP
NixOS_GitHub has left #nixos []
jumblemuddle has quit [(Ping timeout: 260 seconds)]
oida has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vdYtA
<NixOS_GitHub> nixpkgs/master fc7f4f6 Tim Steinbach: i3: 4.14 -> 4.14.1
<NixOS_GitHub> nixpkgs/master bee055f Tim Steinbach: i3-gaps: 4.14 -> 4.14.1
<NixOS_GitHub> nixpkgs/master 3290964 Franz Pletz: Merge pull request #29839 from NeQuissimus/i3_4_14_1...
NixOS_GitHub has left #nixos []
7JTACGUIY has joined #nixos
<7JTACGUIY> [nixpkgs] fpletz closed pull request #29839: i3{,-gaps}: 4.14 -> 4.14.1 (master...i3_4_14_1) https://git.io/vdqQG
7JTACGUIY has left #nixos []
ryantrinkle has joined #nixos
aminechikhaoui has joined #nixos
oida_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdYqO
<NixOS_GitHub> nixpkgs/master 7d88305 José Romildo Malaquias: lxqt.screengrab: 2017-02-18 -> 1.97 (#29835)
NixOS_GitHub has left #nixos []
Denommus has quit [(Ping timeout: 240 seconds)]
gandreani has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to master: https://git.io/vdYq2
<NixOS_GitHub> nixpkgs/master a3e2ecd Samuel Leathers: freebayes: 1.1.0 -> 2017-08-23
<NixOS_GitHub> nixpkgs/master 7cbf3a2 Robin Gloster: freebayes: clean up build
NixOS_GitHub has left #nixos []
jensens has quit [(Remote host closed the connection)]
<joepie91> Mic92: it seems to work now. thanks for the help :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdYqr
<NixOS_GitHub> nixpkgs/master 3c6eb3a Bjørn Forsman: nixos/iso-image.nix: add top-level /version.txt file...
NixOS_GitHub has left #nixos []
gandreani has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdYmk
<NixOS_GitHub> nixpkgs/master 22b0c96 Yegor Timoshenko: snes9x-gtk: 1.53 -> 1.54.1
NixOS_GitHub has left #nixos []
joehh has quit [(Ping timeout: 240 seconds)]
rtjure has quit [(Ping timeout: 246 seconds)]
predator117 has joined #nixos
predator217 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nh2 opened pull request #29880: consul: 0.7.5 -> 0.9.3 (master...consul-0.9.3) https://git.io/vdYmF
NixOS_GitHub has left #nixos []
csparks has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #29744: ipxe: 20160831 -> 20170922 (master...ipxe-update) https://git.io/vdTCp
NixOS_GitHub has left #nixos []
digitus has quit [(Quit: digitus)]
pxc1 has quit [(Ping timeout: 252 seconds)]
gandreani has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to master: https://git.io/vdYY8
<NixOS_GitHub> nixpkgs/master 8002109 Samuel Leathers: mesos: 1.1.1 -> 1.4.0...
<NixOS_GitHub> nixpkgs/master d05b0b6 Robin Gloster: mesos test: fix python handling...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #29881: nixos/tinc: add "restartTriggers" back (master...patch-67) https://git.io/vdYY4
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #29761: xwinwrap: init at 4 (master...xwinwrap) https://git.io/vdTSF
NixOS_GitHub has left #nixos []
gandreani has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #29879: nixos/monit: install monit as system package, use default config file path (master...monit) https://git.io/vdYIu
NixOS_GitHub has left #nixos []
georges-duperon has quit [(Quit: Leaving)]
<eacameron> Is there a way to run nix-build/nix-shell without trying to connect to the cache?
<eacameron> Sometimes it sits there for a full minute trying
<MichaelRaskin> --option binary-caches ''
<eacameron> MichaelRaskin: Sweet!
<eacameron> Thanks
<joepie91> MichaelRaskin: hm, where's that in the docs?
<fpletz> MichaelRaskin: that shouldn't work on nixos or if nix-daemon is used
<MichaelRaskin> I think it works this way, even if not to add binary caches.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vdYY5
<NixOS_GitHub> nixpkgs/master d82578a lassulus: bitcoin-abc: init at 0.15.0
<NixOS_GitHub> nixpkgs/master 589cff4 Joerg Thalheim: bitcoin-abc: build against qt5
<NixOS_GitHub> nixpkgs/master 589311f Jörg Thalheim: Merge pull request #29858 from Lassulus/bitcoin-abc...
NixOS_GitHub has left #nixos []
<clever> fpletz: i think nix-daemon uses nix.conf as a whitelist of approved binary caches
<clever> fpletz: but the user is allowed to pick less
<MichaelRaskin> joepie91: https://nixos.org/nix/manual/ gives an example, actually
<fpletz> oh, really? \o/
<MichaelRaskin> I think you can even add trusted but not used caches
<MichaelRaskin> trusted-binary-caches in config
<clever> yep
<MichaelRaskin> Then user can set extra-binary-caches
<fpletz> nix never ceases to suprise me ;)
<joepie91> MichaelRaskin: ah, nevermind, --option is a generic nix.conf override thing
<joepie91> I was reading it as --option-binary-caches
<joepie91> :p
Wizek_ has quit [(Ping timeout: 255 seconds)]
ryanartecona has joined #nixos
ryanartecona has quit [(Client Quit)]
erasmas has quit [(Quit: leaving)]
ebzzry has joined #nixos
gandreani has joined #nixos
ebzzry_ has quit [(Ping timeout: 240 seconds)]
infinisil has quit [(Quit: WeeChat 1.9)]
infinisil has joined #nixos
gandreani has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Eisfreak7 opened pull request #29882: sqldeveloper: 4.1.1 -> 17.2.0 (master...master) https://git.io/vdY3t
NixOS_GitHub has left #nixos []
sigmundv_ has joined #nixos
infinisil has quit [(Quit: WeeChat 1.9)]
Mateon3 has joined #nixos
Mateon2 has quit [(Ping timeout: 240 seconds)]
ebzzry_ has joined #nixos
Mateon3 is now known as Mateon1
infinisil has joined #nixos
gandreani has joined #nixos
ebzzry has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdYsp
<NixOS_GitHub> nixpkgs/master ddd13e1 volth: nixos/tinc: add "restartTriggers" back...
<NixOS_GitHub> nixpkgs/master 0a6fca1 Jörg Thalheim: Merge pull request #29881 from volth/patch-67...
NixOS_GitHub has left #nixos []
orivej has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vdYGf
<NixOS_GitHub> nixpkgs/release-17.09 c868d42 volth: nixos/tinc: add "restartTriggers" back...
NixOS_GitHub has left #nixos []
infinisil has quit [(Client Quit)]
infinisil has joined #nixos
predator217 has joined #nixos