lpsmith has joined #nixos
eacamero_ has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
eacamero_ has quit [(Ping timeout: 246 seconds)]
gnuhurd has quit [(Ping timeout: 260 seconds)]
thc202 has quit [(Ping timeout: 240 seconds)]
mog has joined #nixos
kiloreux has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
cpennington has joined #nixos
ted_ has joined #nixos
ted_ has quit [(Read error: Connection reset by peer)]
eacameron has quit [(Ping timeout: 240 seconds)]
phinxy has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch opened pull request #27882: Nwjs 0.23 (master...nwjs-0.23) https://git.io/v7gJL
NixOS_GitHub has left #nixos []
joepie91 has quit [(Ping timeout: 264 seconds)]
datakurre has quit [(Ping timeout: 276 seconds)]
datakurre has joined #nixos
fpletz[m] has quit [(Ping timeout: 276 seconds)]
adisbladis[m] has quit [(Ping timeout: 276 seconds)]
adisbladis[m] has joined #nixos
fpletz[m] has joined #nixos
octalsrc[m] has quit [(Ping timeout: 276 seconds)]
myklam[m] has quit [(Ping timeout: 276 seconds)]
NickHu has quit [(Ping timeout: 276 seconds)]
dash has quit [(Ping timeout: 276 seconds)]
hydraz has quit [(Ping timeout: 276 seconds)]
proteusguy has quit [(Ping timeout: 276 seconds)]
jsv[m] has quit [(Ping timeout: 276 seconds)]
BurNiinTRee[m] has quit [(Ping timeout: 276 seconds)]
zeus_ has quit [(Remote host closed the connection)]
nh2 has quit [(Quit: Leaving.)]
zeus_ has joined #nixos
nckx has quit [(Quit: I'll be right back! Restarting my GuixSD server: https://gnu.org/s/guix)]
hydraz has joined #nixos
hydraz has quit [(Changing host)]
hydraz has joined #nixos
zeus_ has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joehealy opened pull request #27883: dropbox: 30.4.22 -> 31.4.24 (master...update/dropbox) https://git.io/v7gUq
NixOS_GitHub has left #nixos []
nckx has joined #nixos
frankpf has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch pushed 1 new commit to master: https://git.io/v7gUa
<NixOS_GitHub> nixpkgs/master 5d62d87 Profpatsch: modules/systemd: improve logind.extraConfig example...
NixOS_GitHub has left #nixos []
m0rphism has joined #nixos
dash has joined #nixos
myklam[m] has joined #nixos
BurNiinTRee[m] has joined #nixos
octalsrc[m] has joined #nixos
jsv[m] has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
lambdamu_ has joined #nixos
Supersonic112_ has joined #nixos
cpennington has quit [(Ping timeout: 260 seconds)]
NickHu has joined #nixos
Supersonic112_ is now known as Supersonic112
proteusguy has joined #nixos
lambdamu has quit [(Ping timeout: 240 seconds)]
taktoa has quit [(Remote host closed the connection)]
lewo has quit [(Ping timeout: 276 seconds)]
<Infinisil> Ohh, I want to write a tool that takes my configuration.nix and minimized it by removing the entries that have been set to the default
<Infinisil> Would also be useful for printing the fixed point of the config without it being 100000 lines long
s33se_ has joined #nixos
lewo has joined #nixos
mbrgm has quit [(Ping timeout: 260 seconds)]
s33se has quit [(Ping timeout: 276 seconds)]
mbrgm has joined #nixos
jgertm has quit [(Ping timeout: 255 seconds)]
<clever> nix-repl> options.services.toxvpn.enable
<clever> { _type = "option"; declarations = [ ... ]; default = false; definitions = [ ... ]; description = "Whether to enable enable toxvpn running on startup."; example = true; files = [ ... ]; isDefined = true; loc = [ ... ]; options = [ ... ]; type = { ... }; value = true; }
<clever> Infinisil: compare the .value and .default of everything in this tree, while somehow iterating over it
<clever> [root@amd-nixos:~]# nix-repl '<nixos/nixos>'
<clever> Infinisil: lib.mapAttrs maybe
<Infinisil> clever: Yeah something like that
<Infinisil> Would be nice
zeus_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] danielfullmer opened pull request #27885: nixos/pulseaudio: Fix for missing zeroconf module (master...pulseaudio-zeroconf-fix) https://git.io/v7gTx
NixOS_GitHub has left #nixos []
byteflame has joined #nixos
byteflame has quit [(Client Quit)]
byteflame has joined #nixos
byteflame has quit [(Quit: leaving)]
<Infinisil> Whew, cleaned up my system config, looking decent now
eacameron has quit [(Remote host closed the connection)]
jonjitsu has joined #nixos
<jonjitsu> not sure if I'm in the right channel... I was wondering about what's the best way of using nix pkg manager on another distro like ubuntu to install packages system wide? The per-user seems to work great.
Fare has quit [(Ping timeout: 260 seconds)]
Fare has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #27886: intltool: Fix patch url (fixes #27880) (master...intltool-patch-url) https://git.io/v7gIK
NixOS_GitHub has left #nixos []
marsam has joined #nixos
<kriztw> jonjitsu: I think the closest you can get is this: https://nixos.org/nix/manual/#ssec-multi-user
<clever> jonjitsu: under nixos, the bin dir for the default profile is just in $PATH by default for every user
<clever> so things root installs with nix-env are visible to every user
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5d62d8775c (from 78 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #27887: intltool: Fix patch url (fixes #27880) (release-17.03...intltool/cherrypick-release) https://git.io/v7gIA
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Infinisil opened pull request #27888: bashSnippets: 1.12.0 -> 1.17.3 (master...bashSnippets-update) https://git.io/v7gLt
NixOS_GitHub has left #nixos []
<jonjitsu> thanks
marsam has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v7gLA
<NixOS_GitHub> nixpkgs/master 72a64ea Peter Hoeg: nsswitch: add systemd module...
NixOS_GitHub has left #nixos []
leothrix has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
rpifan has quit [(Remote host closed the connection)]
uralbash has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v7gtm
<NixOS_GitHub> nixpkgs/master cd4d0c7 Peter Hoeg: dropbox: 30.4.22 -> 31.4.24
NixOS_GitHub has left #nixos []
leothrix has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #27890: dropbox: 30.4.22 -> 31.4.24 (release-17.03...u/dbs) https://git.io/v7gtE
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to release-17.03: https://git.io/v7gtg
<NixOS_GitHub> nixpkgs/release-17.03 b171453 Peter Hoeg: dropbox: 30.4.22 -> 31.4.24...
<NixOS_GitHub> nixpkgs/release-17.03 08bc480 Peter Hoeg: Merge pull request #27890 from peterhoeg/u/dbs...
NixOS_GitHub has left #nixos []
lambdael has quit [(Quit: WeeChat 1.7.1)]
leat has quit [(Quit: leat)]
leat has joined #nixos
kiloreux has joined #nixos
marsam has joined #nixos
marsam has quit [(Remote host closed the connection)]
schoppenhauer has quit [(Ping timeout: 240 seconds)]
schoppenhauer has joined #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/08bc48049c (from 36 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
justbeingglad has joined #nixos
jgertm has joined #nixos
justbeingglad has left #nixos []
nslqqq has quit [(Read error: Connection reset by peer)]
kiloreux has quit [(Ping timeout: 240 seconds)]
nslqqq has joined #nixos
justbeingglad has joined #nixos
c0ffee152 has quit [(Quit: Lost terminal)]
justbeingglad has left #nixos []
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jraygauthier opened pull request #27891: clementine: 1.2.3 -> 1.3.1 (master...jrg/clementine_from_123_to_131) https://git.io/v7gmW
NixOS_GitHub has left #nixos []
zeus_ has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Ping timeout: 260 seconds)]
leat has quit [(Quit: leat)]
Rizy has joined #nixos
leat has joined #nixos
Rizy has quit [(Quit: Rizy)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jameysharp opened pull request #27892: zoom-us: 2.0.91373.0502 -> 2.0.98253.0707, and minor cleanups (master...zoom-us) https://git.io/v7gm5
NixOS_GitHub has left #nixos []
jgertm has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
reinzelmann has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
jonjitsu has quit [(Ping timeout: 276 seconds)]
uralbash has left #nixos []
rpifan has joined #nixos
eacameron has joined #nixos
zeus_ has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
eacameron has quit [(Ping timeout: 276 seconds)]
lambdael has joined #nixos
Guanin has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jameysharp opened pull request #27894: cucumber: init at 2.4.0 (master...cucumber) https://git.io/v7gO5
NixOS_GitHub has left #nixos []
proteusguy has quit [(Read error: Connection reset by peer)]
mkoenig has quit [(Ping timeout: 246 seconds)]
inflames has joined #nixos
mkoenig has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #27895: junicode: make description more concrete (master...patch-1) https://git.io/v7g3C
NixOS_GitHub has left #nixos []
Guanin has joined #nixos
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
himmAllRight has quit [(Quit: No Ping reply in 180 seconds.)]
himmAllRight has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
proteusguy has joined #nixos
pie_ has quit [(Ping timeout: 246 seconds)]
ebzzry has quit [(Ping timeout: 240 seconds)]
ebzzry has joined #nixos
pie_ has joined #nixos
oida has joined #nixos
pie_ has quit [(Ping timeout: 260 seconds)]
Fare has quit [(Ping timeout: 276 seconds)]
oida_ has quit [(Ping timeout: 260 seconds)]
hamishmack has quit [(Quit: hamishmack)]
eacameron has joined #nixos
nslqqq has quit [(Ping timeout: 240 seconds)]
rpifan has quit [(Ping timeout: 246 seconds)]
nslqqq has joined #nixos
eacameron has quit [(Ping timeout: 276 seconds)]
ebzzry has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #27838: numix-sx-gtk-theme: init at 2017-04-24 (master...numix-sx) https://git.io/v70WC
NixOS_GitHub has left #nixos []
reinzelmann has joined #nixos
rydnr has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
jgertm has joined #nixos
inflames has quit [(Ping timeout: 276 seconds)]
peti has quit [(Quit: WeeChat 1.7)]
leat has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] P-E-Meunier opened pull request #27896: Gwyddion: init at 2.48 (master...gwyddion) https://git.io/v7gnG
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
FRidh has joined #nixos
justelex_ has joined #nixos
nschoe has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
Infinisil has quit [(Quit: leaving)]
jgertm has quit [(Ping timeout: 240 seconds)]
justelex_ has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
ElGoreLoco has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cstrahan pushed 8 new commits to master: https://git.io/v7gWA
<NixOS_GitHub> nixpkgs/master 7541f28 Charles Strahan: boringssl: 2016-03-08 -> 2017-02-23...
<NixOS_GitHub> nixpkgs/master 3be19de Charles Strahan: libevent: 2.0.22 -> 2.1.8
<NixOS_GitHub> nixpkgs/master 958cdf3 Charles Strahan: spdlog: 292bdc5eb492 -> 0.13.0
NixOS_GitHub has left #nixos []
ElGoreLoco has quit [(Client Quit)]
nico202 has joined #nixos
StevenTian has joined #nixos
erictapen has joined #nixos
<StevenTian> Is it possible to use gcc6 or gcc7 in NixOS?
thc202 has joined #nixos
<LnL> yes ofcorse
<LnL> use gcc7.stdenv.mkDerivation for your expression
<StevenTian> Cool. I installed gcc6 by putting gcc6 in the package list of /etc/nixos/configuration.nix and executing nixos-rebuild. However, when I try to compile a simple C program, I got the following error:
<StevenTian> ...binutils-2.28/bin/ld: cannnot find crt1.o: No such file or directory
<LnL> installing compilers globally isn't a hood idea IMHO
<adisbladis> StevenTian: If I want to use some specific compiler or interpreter I will usually do it in a nix-shell
<adisbladis> Globally becomes messy..
<StevenTian> I admit that my way is not good. But should it work by installing it globally?
arximboldi has quit [(Remote host closed the connection)]
arximboldi has joined #nixos
<LnL> agreed, but you'll be missing the environment of the stdenv so that's probably causing issues
<StevenTian> I see. It makes sense. thanks a lot, LnL.
<StevenTian> I am still new to NixOS, so I try to the traditional way to do programming.
joehh has quit [(Ping timeout: 248 seconds)]
arximboldi has quit [(Remote host closed the connection)]
<LnL> yeah, the workflow is a bit different
<adisbladis> StevenTian: Throw a default.nix in the root of your project :)
Ivanych has joined #nixos
arximboldi has joined #nixos
<LnL> but, if you install everything project related globally you basically introduce the same problems that other distributions have
<StevenTian> adisbladis: thanks for your advice. I will do so. The question is that my colleagues are not using NixOS.
takle has quit [(Remote host closed the connection)]
<adisbladis> StevenTian: Something like https://paste.pound-python.org/show/4Iob8kYTfRkryLCQt5NW/
<adisbladis> StevenTian: You don't have to check it in ;)
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
arximboldi has quit [(Client Quit)]
junaidali has quit [(Read error: Connection reset by peer)]
StevenTian has quit [(Remote host closed the connection)]
<adisbladis> StevenTian: My colleagues don't mind having a few .nix files around they dont use themselves
arximboldi has joined #nixos
junaidali has joined #nixos
StevenTian has joined #nixos
justelex_ has joined #nixos
<StevenTian> Good points. What's more, they will be converted to NixOS some day anyway. :-)
<StevenTian> Thanks a lot for your help, adisbladis and LnL .
justelex_ has quit [(Quit: Konversation terminated!)]
justelex has joined #nixos
StevenTian has quit [(Remote host closed the connection)]
StevenTian has joined #nixos
joehh has joined #nixos
goibhniu has joined #nixos
<StevenTian> adisbladis: I follow your advice and now gcc6 works well. thanks again.
<StevenTian> I mean, using nix-shell and the default.nix file you provided. Awesome!
jensens has quit [(Remote host closed the connection)]
jensens has joined #nixos
<StevenTian> Now I adore my NixOS box. :-)
<hyper_ch> nixos-unstable vbox still broken
ertes has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to release-17.03: https://git.io/v7gRv
<NixOS_GitHub> nixpkgs/release-17.03 34aa9a6 Frederik Rietdijk: intltool: fix url
NixOS_GitHub has left #nixos []
MoreTea has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v7gRI
<NixOS_GitHub> nixpkgs/master c41b81f Frederik Rietdijk: intltool: fix url...
NixOS_GitHub has left #nixos []
gguy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27886: intltool: Fix patch url (fixes #27880) (master...intltool-patch-url) https://git.io/v7gIK
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27887: intltool: Fix patch url (release-17.03) (release-17.03...intltool/cherrypick-release) https://git.io/v7gIA
NixOS_GitHub has left #nixos []
<gguy> So as I understand is "haskellPackages" is a namespace hidden by default. My understanding is that "haskellPackages" is actually just a link to "haskellPackages_ghcxxx". Is there a way to list all namespaces?
<adisbladis> StevenTian: Np :)
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 3 new commits to master: https://git.io/v7gRV
<NixOS_GitHub> nixpkgs/master 881e255 Jan Tojnar: junicode: make description more concrete
<NixOS_GitHub> nixpkgs/master ef7cc03 Jan Tojnar: lohit-fonts: add package description
<NixOS_GitHub> nixpkgs/master f6817dd Frederik Rietdijk: Merge pull request #27895 from jtojnar/patch-1...
NixOS_GitHub has left #nixos []
StevenTian has quit [(Remote host closed the connection)]
peti has joined #nixos
eacamero_ has quit [(Ping timeout: 255 seconds)]
bigs has quit [(Ping timeout: 246 seconds)]
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #27897: rgbds: 0.2.4 -> 0.3.2 (master...rgbds-update) https://git.io/v7g0f
NixOS_GitHub has left #nixos []
bigs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #27898: irony-server: supports darwin (master...irony-server-darwin) https://git.io/v7g0I
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #27899: emscripten: 1.37.13 -> 1.37.16 (master...emscripten-update) https://git.io/v7g08
NixOS_GitHub has left #nixos []
takle has joined #nixos
peti has quit [(Quit: WeeChat 1.8)]
peti has joined #nixos
<tilpner> This is going to sound stupid, but is there a way to have multiple /nix/stores?
Gravious has quit [(Quit: leaving)]
<tilpner> (AFAIK there isn't because packages sometimes use the store path during compilation?)
ertes-w has joined #nixos
Phillemann has joined #nixos
<Phillemann> I have a question about channels. How often is the nixos-unstable channel updated? I added it a few days ago and nixos-rebuild switch --upgrade never downloads any new packages.
babic has joined #nixos
<tilpner> Phillemann - https://howoldis.herokuapp.com/
<Phillemann> Ah, thank you.
<Phillemann> That answers how old unstable is, but what's the update policy?
<tilpner> Expand the items at the top of that site, they describe some of it
peti has quit [(Quit: WeeChat 1.8)]
peti has joined #nixos
<Phillemann> I'm not really sure I understand that description.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to openssl-1.1: https://git.io/v7guQ
<NixOS_GitHub> nixpkgs/openssl-1.1 b1263a1 Robin Gloster: openwsman: use nix 1.11 compatible hash
NixOS_GitHub has left #nixos []
<Phillemann> nixos-unstable has a hydra test job that has to pass in order for a new unstable version to be released?
goibhniu has quit [(Ping timeout: 260 seconds)]
<tilpner> Yes, there's a bunch of packages that need to build successfully, and probably also pass the checks, in order for the channel to advance to a more recent commit
<Phillemann> Okay, so there are packages that don't pass the test job (because unstable is 4 days old).
<tilpner> Yes (though nixos-unstable is 6 days old). But I'm also terrible at navigating Hydra, so... I can't really tell you why that is
tokudan has joined #nixos
<Phillemann> It's okay, maybe somebody else can help? It's good to know though that there are tests and a mechanism to not publish results where tests fail. :)
<FRidh> have you read the explanation on http://howoldis.herokuapp.com/?
<tilpner> It's a recent failing build log, but I'm not sure why it's failing exactly
joachifm_ has quit [(Remote host closed the connection)]
<FRidh> tilpner: yes and no. Yes, you can change an env var and point to another store. No, each store is entirely independent, so you cannot keep certain paths just in store B whereas the rest is in A. So both stores will have stdenv.
<ben> how long does a full test run for a given commit take?
<ben> there oughta be a better way to get to a healthy state than piling more PRs on top of a broken branch until it starts passing tests again
<FRidh> depends on what needs to be rebuild
<ben> i mean, why dont we merge to master *after* hydra is cool with it :P
<tilpner> Phillemann - This looks more like a "Why didn't it advance" page: https://hydra.nixos.org/eval/1380713#tabs-still-fail
<tilpner> FRidh - I wasn't really expecting that to work. Thanks for answering anyway :)
<ben> also uh hydra is saying nixos-unstable is blocked on among other things a bunch of jobs that failed so long ago that we threw out the logs?
ElGoreLoco has joined #nixos
<ben> unsureif im reading this right
* tilpner thought Hydra was just really happy to delete logs
<FRidh> the nixos-unstable channel hasn't updated because of failing builds
ThatDocsLady has joined #nixos
<Phillemann> FRidh: Yeah, we were wondering which builds fail.
<FRidh> and nixpkgs hasn't because the macs can't keep up
<FRidh> if you go to http://howoldis.herokuapp.com/, then pick your channel and follow the link for "Hydra job for tests"
<FRidh> then you get a table with builds/tests vs evaluations
<FRidh> If you check nixos-unstable, then the channel did not advance becaus tests for plasma5 and sddm failed.
nh2 has joined #nixos
<Phillemann> FRidh: Oh, sorry, I accidentally clicked on nixpkgs-unstable.
<Phillemann> Thanks
joepie91___ has joined #nixos
gnuhurd has joined #nixos
joepie91___ has quit [(Changing host)]
joepie91___ has joined #nixos
joepie91___ is now known as joepie91
erictapen has quit [(Ping timeout: 255 seconds)]
slack1256 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/08bc48049c (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
reinzelmann has quit [(Remote host closed the connection)]
Phillemann has left #nixos ["WeeChat 1.9"]
reinzelmann has joined #nixos
Arcaelyx has joined #nixos
goibhniu has joined #nixos
Arcaelyx_ has joined #nixos
Arcaelyx has quit [(Ping timeout: 260 seconds)]
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
Arcaelyx_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
bjarki has quit [(Remote host closed the connection)]
justelex has quit [(Ping timeout: 240 seconds)]
SuprDewd has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
NightTrain has joined #nixos
gnuhurd has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to master: https://git.io/v7grV
<NixOS_GitHub> nixpkgs/master 86d9b09 Mathias Schreck: dockerTools: fix image json and manifest...
<NixOS_GitHub> nixpkgs/master cd3d852 Mathias Schreck: dockerTools: document image spec v1.2 compatibility
NixOS_GitHub has left #nixos []
lukego has joined #nixos
justelex has joined #nixos
<lukego> anybody want to help with a styx-static getting started error?
nh2 has quit [(Ping timeout: 240 seconds)]
hamishmack has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/v7goN
<NixOS_GitHub> nixpkgs/master a1c953d zimbatm: terraform: 0.9.11 -> 0.10.0
NixOS_GitHub has left #nixos []
nh2 has joined #nixos
Mateon3 has joined #nixos
justelex has quit [(Quit: Konversation terminated!)]
justelex has joined #nixos
Mateon2 has quit [(Ping timeout: 246 seconds)]
Mateon3 is now known as Mateon2
lukego has quit [(Ping timeout: 260 seconds)]
proteusguy has quit [(Remote host closed the connection)]
xd1le has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #27738: [backport] vim_configurable: add ".../after" plugin dirs to runtimepath (release-17.03...backport-vim-plugin-after) https://git.io/v7WVP
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
Curiontice has joined #nixos
Curiontice is now known as Capprentice
eacameron has quit [(Ping timeout: 276 seconds)]
Capprentice has quit [(Remote host closed the connection)]
cfricke has joined #nixos
Capprentice has joined #nixos
justelex has quit [(Ping timeout: 240 seconds)]
<seequ> In general, how dangerous is it to use the nixos-unstable as the main nixos channel?
<goibhniu> it takes longer to get security updates with unstable
<seequ> But no realistic chance of system breakage?
* goibhniu has been using unstable for years
sary has joined #nixos
ElGoreLoco has quit [(Quit: ElGoreLoco)]
<adisbladis> seequ: Some. Worst case you can always roll back :)
<goibhniu> KDE broke a few weeks ago, so I had to roll back
justelex has joined #nixos
<goibhniu> I guess it happens a few times a year, but I don't update all that regularly
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/34aa9a6a40 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<seequ> adisbladis: Unless it decides I don't need my GRUB anymore :p
<adisbladis> Who needs it :P
Capprentice has quit [(Quit: Leaving)]
rydnr has quit [(Ping timeout: 260 seconds)]
* goibhniu can only remember having one tricky upgrade issue ... when mutableUsers was introduced
<seequ> It's amusing that I learn of new options and ways to package things almost daily here.
eacameron has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
<joepie91> nixos install on laptop in progress...
justelex has quit [(Quit: Konversation terminated!)]
gnuhurd has joined #nixos
justelex has joined #nixos
<seequ> Installing on laptop was like the best thing. Copy config from PC -> change nvidia and boot settings -> add synaptics -> have a working install
<queiw> Hmm. pmount gives "Error: this program needs to be installed suid root". With security.setuidPrograms in /etc/nixos/configuration.nix (recommended fix) nixos-rebuild gives "The option definition `security.setuidPrograms' in `/etc/nixos/configuration.nix' no longer has any effect; please remove it."
dywedir has joined #nixos
<gchristensen> queiw: ! where do you see that recommended fix?
<seequ> queiw: add these
eacameron has quit [(Ping timeout: 240 seconds)]
<seequ> security.wrappers = {
<seequ> pmount.source = "${pkgs.pmount}/bin/pmount";
<seequ> pumount.source = "${pkgs.pmount}/bin/pumount";
<seequ> };
<joepie91> seequ: in my case I'm taking the opportunity to try out kde plasma :)
slack1256 has quit [(Ping timeout: 240 seconds)]
gnuhurd has quit [(Ping timeout: 240 seconds)]
<gchristensen> queiw: ah okay, I'll comment on that ticket.
<seequ> queiw: setting the wrappers was enough for me
gnuhurd has joined #nixos
<seequ> joepie91: yes, why not when it's a simple setting. :]
<joepie91> hm
<joepie91> grub failing to install
<joepie91> this is a new one
<seequ> Did you regenerate the hardware-configuration?
<joepie91> seequ: this is just my first barebones install before I move over my config
<joepie91> but sec
<seequ> ah
cfricke has quit [(Quit: WeeChat 1.9)]
cfricke has joined #nixos
justelex has quit [(Quit: Konversation terminated!)]
tmaekawa has joined #nixos
justelex has joined #nixos
MoreTea has quit [(Ping timeout: 260 seconds)]
justelex has quit [(Client Quit)]
justelex has joined #nixos
Myrl-saki has joined #nixos
<Myrl-saki> How to have GHC cross-compile?
rigelk has joined #nixos
rigelk has quit [(Changing host)]
rigelk has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/v7gMZ
<NixOS_GitHub> nixpkgs/master a2825a3 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> nixpkgs/master 74f5fe5 John Ericson: haskell infra: Misc cleanups...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #27840: haskell infra: Misc cleanups (master...haskell-explicit-stdenv) https://git.io/v70zs
NixOS_GitHub has left #nixos []
<joepie91> seequ: fixed. my mistake was to try and use a GPT-partitioned disk in BIOS mode
<seequ> Ah yes. That can be _fun_
<joepie91> let's see if it boots!
<joepie91> yep!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27731: Channels i686: build nixos-unstable-small with tests but not nixpkgs-unstable-(small) (master...channels) https://git.io/v7WnT
NixOS_GitHub has left #nixos []
MoreTea has joined #nixos
Capprentice has joined #nixos
justelex has quit [(Quit: Konversation terminated!)]
justelex_ has joined #nixos
kiloreux has joined #nixos
phinxy has joined #nixos
phinxy has quit [(Max SendQ exceeded)]
slack1256 has joined #nixos
arximboldi has quit [(Quit: arximboldi)]
justelex_ has quit [(Quit: Konversation terminated!)]
rigelk has quit [(Ping timeout: 268 seconds)]
justelex_ has joined #nixos
eacameron has joined #nixos
<joepie91> hmmm
<joepie91> in NixOS + KDE, how do I get my volume keys working?
<joepie91> there's no volume applet either
iyzsong has joined #nixos
vinymeuh has joined #nixos
patroclo7 has joined #nixos
<joepie91> aha
<joepie91> kmix
eacameron has quit [(Ping timeout: 246 seconds)]
lambdael has quit [(Quit: WeeChat 1.7.1)]
phinxy has joined #nixos
justelex_ has quit [(Ping timeout: 246 seconds)]
tmaekawa has quit [(Quit: tmaekawa)]
justelex_ has joined #nixos
arximboldi has joined #nixos
dev1 has joined #nixos
arximboldi has quit [(Client Quit)]
dev1 has quit [(Client Quit)]
<tilpner> Any tips for running git bisect on nixpkgs/nixos?
MoreTea has quit [(Ping timeout: 255 seconds)]
<domenkozar> tilpner: ^^
mudri has quit [(Ping timeout: 268 seconds)]
catch22__ has quit [(Remote host closed the connection)]
<tilpner> Unfortunately it's not a package. I'll have to reboot every time, so I was hoping to generate multiple profiles at a time
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1454628d57 (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<joepie91> tilpner: have you considered instantiating it in a QEMU VM?
<joepie91> using nixos-rebuild build-vm or so
simukis has joined #nixos
<joepie91> that should save you a good deal of reboot cycles :)
dev1 has joined #nixos
<tilpner> joepie91 - Yes, but I need to test hardware :(
<joepie91> ahhhh
<tilpner> (I don't know what I'm doing. Not really)
<joepie91> tilpner: well, the problem with git bisect is that it needs immediate feedback on whether the checkout fixed the issue or not
<joepie91> otherwise it doesn't know in what direction to continue searching
<tilpner> Yeah, multiple profile won't work
<joepie91> so I don't think there's a way around the reboot-and-bisect-again cycles :/
<tilpner> So I need to reduce closure size before doing this
NightTrain has quit [(Quit: Lost terminal)]
<Myrl-saki> I don't think targetPlatform is working for ghc. :C
<queiw> gchristensen, seequ: thanks!
<Myrl-saki> ghc = pkgs.haskell.compiler.ghcHEAD.override { targetPlatform = "i686-linux"; };
<Myrl-saki> Is this the proper format?
<dev1> how to we figure out what build inputs to provide the nix-expression when building packages with mkDerivation???
<dev1> besides trial and error
<symphorien> Myrl-saki: try (import <nixpkgs> { system = "i686-linux"; }).haskell.compiler.ghcHEAD
<symphorien> thats not really cross compilation but for x86{,64} it works
<Myrl-saki> symphorien: Wait. I fed up lol
<Myrl-saki> symphorien: What's the `config` child for overriding again?
elvishjerricco has quit [(Ping timeout: 246 seconds)]
<Myrl-saki> Thanks lol
<Myrl-saki> symphorien: I'll try that soon.
<Myrl-saki> symphorien: That uses the 32-bit ghc, right?
<symphorien> that uses 32 bits everything
justelex_ has quit [(Ping timeout: 246 seconds)]
gnuhurd has quit [(Remote host closed the connection)]
Capprentice has quit [(Read error: Connection reset by peer)]
mudri has joined #nixos
<Myrl-saki> symphorien: I'll just go with that.
Capprentice has joined #nixos
MoreTea has joined #nixos
mguentner has joined #nixos
gnuhurd has joined #nixos
bennofs has joined #nixos
eschnett has quit [(Quit: eschnett)]
<Myrl-saki> symphorien: Class: ELF32
<Myrl-saki> symphorien: Works. :P
<symphorien> :)
<Myrl-saki> symphorien: Thanks.
<dev1> whats the difference between mkDerivation and mkDerivation rec
<dev1> thank you!
patroclo7 has quit [(Ping timeout: 260 seconds)]
sary has quit [(Ping timeout: 276 seconds)]
nico202 has quit [(Remote host closed the connection)]
Fare has joined #nixos
<dev1> whats pkgconfig do?
<sphalerite> dev1: use the search. https://www.freedesktop.org/wiki/Software/pkg-config/ it's not nixos-specific
sary has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #27885: nixos/pulseaudio: Fix for missing zeroconf module (master...pulseaudio-zeroconf-fix) https://git.io/v7gTx
NixOS_GitHub has left #nixos []
<gchristensen> FRidh: it turned out to be more effort to make the PR, because I had to flesh it out a bit more :)
iyzsong has quit [(Read error: Connection reset by peer)]
gnuhurd has quit [(Remote host closed the connection)]
<tilpner> What data is described system.stateVersion?
<tilpner> *described by
<tilpner> (Can I delete it?)
<gchristensen> tilpner: please don't :)
<gchristensen> and please don't change it
<tilpner> gchristensen - Not delete the entry, but delete the data
<tilpner> I'm getting error: current Nix store schema is version 10, but I only support 7
<Myrl-saki> Err
<Myrl-saki> How do I import nixpkgs lol
<Myrl-saki> I mean, how do I use nixpkgs under nix-repl?
<gchristensen> system.stateVersion hasnothing to do with nix store schemas
<gchristensen> Myrl-saki: import <nixpkgs> {}
<tilpner> Oh
<tilpner> Then how do I downgrade the Nix store schema...?
<tilpner> Don't tell me I have to reinstall D:
iyzsong has joined #nixos
<tilpner> (Do tell me that if it's the answer)
<gchristensen> lol
dev1 has quit [(Quit: WeeChat 1.7.1)]
<gchristensen> I don't know. copumpkin / clever ?
<Myrl-saki> gchristensen: I just did that, without using a `let/in`, did I just populate my nix store with a lot of things or nah?
<gchristensen> Myrl-saki: shouldn't have, what happened that makes you think that mightt have happened?
<Myrl-saki> Talked about broken packages and the like.
<gchristensen> Myrl-saki: can you paste your nix-repl log?
<goibhniu> tilpner: did you downgrade nix?
<tilpner> goibhniu - I'm trying to, yes
<tilpner> (It won't let me)
justelex_ has joined #nixos
<Myrl-saki> gchristensen: I'll just trust you. :P
<gchristensen> ok :)
<gchristensen> though you shouldn't have gotten that error
<Myrl-saki> gchristensen: Though, on the other hand, can a nix-repl command populate the nix store??
peacememories has joined #nixos
<Myrl-saki> gchristensen: Here's one line. AgdaSheaves = «error: Package ‘Agda-Sheaves-8a06162a8f0f7df308458db91d720cf8f7345d69’ in ‘/etc/nixos/nixpkgs/pkgs/development/libraries/agda/Agda-Sheaves/default.nix:18’ is marked as broken, refusing to evaluate.
<domenkozar> how can I cleanup /nix/store/.links?
<tilpner> domenkozar - What do you wnat to clean up about it?
<tilpner> domenkozar - nix-collect-garbage should do that already
<domenkozar> remove unused things, I don't how how exactly that folder is used
<domenkozar> :)
sigmundv has quit [(Ping timeout: 268 seconds)]
<gchristensen> Myrl-saki: yeah so I'd like to see your log b/c I'm not sure how you got that error
<gchristensen> Myrl-saki: it looks like indeed you tried to evaluate all of nixpkgs, which isn't something most people do
<Myrl-saki> Ah sure
<seequ> domenkozar: how unused?
erictapen has joined #nixos
<gchristensen> (I mean, I know how that error comes to be, and you shouldn't be getting it.)
<domenkozar> actually I'd like to undestand what .inks does
<seequ> Not used in any profile or not in current profile?
<gchristensen> domenkozar: that is the optimized store feature
<domenkozar> gchristensen: the hard linking?
<gchristensen> yeah
<domenkozar> is there way to revert that and clean it up? :D
<Myrl-saki> gchristensen: Yeah, that's what I mean. :P
<gchristensen> Myrl-saki: sorry, what do you mean?
<Myrl-saki> gchristensen: That I evaluated nixpkgs
<Myrl-saki> gchristensen: Literally just ran `import <nixpkgs {}>`
<Myrl-saki> Err
<Myrl-saki> `import <nixpkgs> {}`
<gchristensen> Myrl-saki: yeah, your log is going to be really helpful. Nix is a lazy language, so importing nixpkgs doesn't mean evaluating nixpkgs
<gchristensen> (import <nixpkgs> {}).bash only evaluates enough of nixpkgs to provide you bash
<Myrl-saki> gchristensen: Ah. So output forces execution?
<gchristensen> right
<domenkozar> gchristensen: do you know how these links work? :)
<gchristensen> domenkozar: I know how to search around nix to find how they work :)
<Myrl-saki> gchristensen: I just decided to try out nix-repl to see if I can get the version of things.
<tilpner> Myrl-saki - What version?
<Myrl-saki> tilpner: Of packages.
eschnett has joined #nixos
proteusguy has joined #nixos
<gchristensen> domenkozar: maybe I should ask though, why are you wanting to clean them up?
<gchristensen> is it not working correctly?
<domenkozar> it's created 6M entries that's also hitting the ext4 issue
<gchristensen> lol.
<gchristensen> domenkozar: can you do an aggressive garbage collection and then disable optimisation?
<domenkozar> that's the thing, I don't want to GC
<gchristensen> how much data do you have?
<domenkozar> 1.6T
<gchristensen> thats about when I saw the problem too
hlavaty has joined #nixos
<domenkozar> I guess we don't have implementation to reverse optimise feature
<gchristensen> well I don't think there is a way to go back, unfortunately
<tilpner> And I'm sitting here... trying to keep /nix/store under 60GB
<gchristensen> tilpner: I'm pretty sure domenkozar (and I certainly am) talking about dedicated hydra build servers :)
* seequ read the T as tera and was very confused
charlycoste has joined #nixos
<gchristensen> not personal machines
<domenkozar> it's 1.6TB, yes
<seequ> o.o
<domenkozar> on 4TB hdd
<gchristensen> domenkozar: oh so you have plenty of space?
<gchristensen> do you have ~2TB free?
<ikwildrpepper> I wish I had plenty of space
<tilpner> Oh, yes, that's more reasonable :D
<domenkozar> gchristensen: yes
<ikwildrpepper> we need to GC every 4 hours
<ikwildrpepper> gc'ing up to 500GB
<ikwildrpepper> (not on hydra.nixos.org btw)
<domenkozar> yeah I have plenty of space
<domenkozar> but I'm still getting out of disk space errors :D
<domenkozar> gchristensen: I could migrate the store if you mean that
<gchristensen> domenkozar: this will be slow, but maybe faster than rebuilding: nix-export everything in your store elsewhere on your disk, aggressive GC, disable optimisation, import
<ikwildrpepper> domenkozar: inodes?
<LnL> I think gc + cache is probably a better approach
<ikwildrpepper> or too many entries in /nix/store?
<domenkozar> too many entries in /nix/store/.links
xd1le has quit [()]
<gchristensen> ikwildrpepper: the ext4 hashing algorithm is hitting the birthday paradox in /nix/store/.links apparently :)
vinymeuh has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<domenkozar> # \ls -afq /nix/store/.links/| wc -l
Intensity has quit [(Ping timeout: 258 seconds)]
<domenkozar> 6261508
<Myrl-saki> Just curious. Who here is in support of suckless tools?
<domenkozar> BigData
<avn> domenkozar: try switch to zfs ;)
<Myrl-saki> support in the sense of agreeing.
<sphalerite> me
<domenkozar> avn: too late for that
<gchristensen> avn: that isn't a useful suggestion at this time
<seequ> My /nix/store is 8.2GB :P
<avn> domenkozar: span .links to .links/na/me-of-file can help as well, but I feel it also too late? ;)
<sphalerite> Myrl-saki: I'm not a purist, but I like them. Composability is incredibly useful.
<domenkozar> that will break nix
<domenkozar> gchristensen: hmm, I wonder if export works on such big store
<gchristensen> domenkozar: if I were you, I would ls the store, `split` it in to small chunks, and export small chunks
<gchristensen> then you get more fine-grained resumability
<avn> Boo. I am idk about "fix it right now", I have only workaround-in-future ideas, sorry.
<domenkozar> well I know how to fix it in the future
<domenkozar> that's the easy part
<domenkozar> gchristensen: hmm :)
<seequ> In what case do you end up with 1.6TB store? Just ever ever GC'ing?
<gchristensen> domenkozar: another thought if you have a different box you could replace it with is to make the new box use a different FS and nix-copy-closure over to it
<seequ> never ever*
<gchristensen> but again, I'd `split` it in to smaller chunks
<tilpner> seequ - Running Hydra, apparently
<gchristensen> seequ: very active build servers, compiling big software, over a period of time
<seequ> ahhhhhh
<seequ> I see
<domenkozar> could use nix 1.12 and a separate store to sync
<gchristensen> indeed...
justelex_ has quit [(Quit: Konversation terminated!)]
justelex_ has joined #nixos
<gchristensen> domenkozar: (a paranoid bit of caution: if the data on this box is irreplaceable, by the laws of 3-2-1 backups it doesn't exist)
<domenkozar> or just upload everything to S3
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #27902: flockit: init at 2012-08-11 (master...flockit) https://git.io/v7gFs
NixOS_GitHub has left #nixos []
<domenkozar> and GC
<domenkozar> this sounds like best option so far
<domenkozar> also it's the-future
<gchristensen> that is likely, of all options, the slowest of them all
<LnL> yes or use a store_uri and serve that as a cache
<gchristensen> keep in mind budget, when I did the community PR hydra thing, S3 cost me like $400 over 3 weeks
<domenkozar> for how much storage?
<MoreTea> gchristensen, did you ask the NixOS foundation to reimburse you?
<gchristensen> (I don't want to)
<LnL> gchristensen is to nice to ask that
<MoreTea> ok ;)
<gchristensen> domenkozar: I dunno, it was a lot though, but more importantly was the bandwidth
<domenkozar> yeah that's expensive
<gchristensen> domenkozar: but if you have a local cache inside your network that'll reduce a lot of the traffic, this is easy to set up with nginx
<gchristensen> in short, this is exactly what I'd do: push all your builds to s3, use a local cache inside your network that pulls from s3. you get cheapish and highly redundant storage, and lower bandwidth builds due to caching, and you don't have to screw around with local disks anymore
<domenkozar> LnL: is store_uri supported in Nix 1.11?
<domenkozar> ah it should be
<LnL> yes and I'm pretty sure both file:// and s3:// work
<copumpkin> as of 1.12 s3:
<LnL> oh, just file then
<ikwildrpepper> LnL: I believe I offered to (personally) chime in, but gchristensen seems to be too nice to accept
<domenkozar> ok so I need to figure out how to push the cache on s3 and then back
<LnL> ikwildrpepper: same :)
<LnL> a bunch of people did
<ikwildrpepper> good people, this nixos bunch
<gchristensen> <3 the nixos community
<domenkozar> has anyone then pushed local cache to s3 with Nix 1.11.x? :)
<ikwildrpepper> nope, need 1.12pre
<gchristensen> ikwildrpepper: oh but it'll do it?
<ikwildrpepper> we push all our builds with nix copy to s3 cache
<LnL> I use store_uri with an nfs mount
<LnL> and sync that to s3
<gchristensen> domenkozar: can you get 1.12? :P
<domenkozar> I think Hydra uses 1.12
<domenkozar> anyway :D
<ikwildrpepper> gchristensen: decided that my goal for a week with my in-laws is to 'finish' packet.net backend for nixops
<domenkozar> ok so this should take a while, but also should be easy
<domenkozar> ikwildrpepper: lol
<ikwildrpepper> and it is going to be awesome
<gchristensen> ikwildrpepper: YEESSS!
<gchristensen> ikwildrpepper: one thing: if the way the packet config on the boxes is annoying, we can fix that together
<gchristensen> I owe them new installer images anyway
<ikwildrpepper> gchristensen: didn't look yet, will start first one tonight and look how annoying it looks like :D
ixxie has joined #nixos
<copumpkin> niksnut: you around? wondering if you have any thoughts on that "get .meta from actual closure of some derivaton I use" question
nh2 has quit [(Quit: Leaving.)]
<copumpkin> we've spitballed some approximations of the operation but it would be nice to get something proper
nh2 has joined #nixos
eacameron has joined #nixos
Intensity has joined #nixos
cpennington has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
gnuhurd has joined #nixos
jonjitsu has joined #nixos
eacameron has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
MoreTea has quit [(Remote host closed the connection)]
peti has quit [(Quit: WeeChat 1.5)]
peti has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
MoreTea has joined #nixos
reinzelmann has joined #nixos
Jackneill has quit [(Read error: Connection reset by peer)]
Jackneill has joined #nixos
eacameron has joined #nixos
dywedir has quit [(Remote host closed the connection)]
bharper has joined #nixos
bharper has left #nixos ["WeeChat 1.9"]
erictapen has quit [(Ping timeout: 258 seconds)]
slack1256 has quit [(Remote host closed the connection)]
<domenkozar> hah
<domenkozar> gchristensen: actually I can just turn off auto optimization
<domenkozar> and the errors should disapear
<gchristensen> oh?
<domenkozar> I mean collisions happen when nix tried to symlink into .links
<gchristensen> oh
<domenkozar> so if the feature is off, all should be good right
<LnL> yes, you'll get half the files in /nix/store
<domenkozar> half the files? :)
<LnL> for every file in /nix/store you get a /nix/store/.links/<sha>
eacameron has quit [(Ping timeout: 258 seconds)]
<ixxie> any vscode users here?
reinzelmann has quit [(Remote host closed the connection)]
ebzzry has joined #nixos
eacameron has joined #nixos
goibhniu1 has joined #nixos
goibhniu has quit [(Ping timeout: 258 seconds)]
<domenkozar> LnL: yeah but writing files makes it collide, lookups will just work
ebzzry_ has joined #nixos
jonjitsu has quit [(Remote host closed the connection)]
<gchristensen> domenkozar: I'd recommend migrating away from this half-half situation
reinzelmann has joined #nixos
ebzzry__ has joined #nixos
<domenkozar> gchristensen: why? :)
<domenkozar> I mean what's the worry
<LnL> ^ with a cache you have 1 file per store path
<gchristensen> well it sounds like the data is important and not backed up, so I'd take it as a good opportunity to move to something more stable like S3 & a local cache
<domenkozar> gchristensen: oh yes clearly I'll come up with a plan for that.
<gchristensen> yeah, but using the current problem as a reason to put a fire under you to fix it seems prudent is all
ebzzry has quit [(Ping timeout: 255 seconds)]
<gchristensen> instead of waiting for A Real Problem
reinzelmann has quit [(Client Quit)]
goibhniu1 is now known as goibhniu
ebzzry_ has quit [(Ping timeout: 246 seconds)]
<gchristensen> niksnut, ikwildrpepper what if hydra, instead of streaming the result back to the master, just uploaded directly to s3?
<gchristensen> hydra could create one-time-use tokens for the results
<ikwildrpepper> gchristensen: niksnut is on holiday atm
<gchristensen> oh awesome! good!
<ikwildrpepper> so don't expect response soon :)
<gchristensen> s/niksnut, //
drakonis has joined #nixos
<domenkozar> gchristensen: afaik slaves upload directly to s3
earldouglas has joined #nixos
<domenkozar> if I understand your question
<gchristensen> I'm pretty sure slaves stream it back to the master and the master streams it up to s3
<gchristensen> see also why hydra masters get bogged down with `xz`
elvishjerricco has joined #nixos
<Ankhers> Is anyone having issues building gcc-5.4.0 on master?
<Ankhers> I'm on OSX if it makes a difference.
<LnL> yes it's broken atm :/
Jackneilll has joined #nixos
<LnL> still trying to figure out what caused it
<Ankhers> What is the rule about submiting a PR that relies on it?
<LnL> you could start from a revision before it broke that way it can be tested properly
<LnL> what package?
<domenkozar> gchristensen: right that's because we'd have to change the remote builder
<gchristensen> sure
<Ankhers> Elixir 1.5.1 came out the other day.
<Ankhers> Just updating the version and sha.
gguy has quit [(Ping timeout: 260 seconds)]
<LnL> hmm, how does that depend on gcc?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f6817ddf99 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<LnL> we can probably get rid of that
<Ankhers> I might be building erlang as well.
nix-gsc-io`bot has quit [(Client Quit)]
<gchristensen> domenkozar: that seems not too worrisome, it'll take a lot of load off the master
<Ankhers> Yes, I am building erlang as well with this right now.
<LnL> yeah it's probably erlang, you could try to get it working with clang
Jackneill has quit [(Ping timeout: 255 seconds)]
<LnL> it's usually just that it's a bit more strict then gcc
dbmikus has joined #nixos
<Ankhers> I don't know if I would want to do that. Maybe I will just see if I already have erlang built for something else. If not, I will just throw it up as a WIP PR and explain that I am waiting for GCC to be fixed.
<gchristensen> I say, not knowing any C++
MercurialAlchemi has quit [(Ping timeout: 258 seconds)]
ixxie has quit [(Quit: Lost terminal)]
Rotaerk has quit [(Quit: Leaving)]
cement has joined #nixos
<pierron> clever: (as Infinisil is no longer connected) FYI, we cannot simply remove every option definition which matches the default value, because the definition could use some mkOverride / mkForce to set a value identical to the default one.
<MoreTea> oh, is the remote builder script going to disappear?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #27903: libvirt: 3.5.0 -> 3.6.0 (master...issue-27857-libvirt-xml-manipulation) https://git.io/v72JW
NixOS_GitHub has left #nixos []
<LnL> it's written in c++ for 1.12
tokudan has quit [(Quit: Leaving)]
justelex_ has quit [(Quit: Konversation terminated!)]
justelex_ has joined #nixos
<manveru> so it's even harder to debug? :P
ebzzry__ has quit [(Ping timeout: 260 seconds)]
gnuhurd has quit [(Remote host closed the connection)]
StevenTian has joined #nixos
m0rphism has quit [(Quit: WeeChat 1.9)]
<StevenTian> The default gcc optimization flag is -O2. Is there a way to customize the building of gcc so that I can change the default options of gcc?
<StevenTian> I got the default gcc options via the command "gcc -v --help".
<StevenTian> In my Ubuntu box, the default optimization is no optimization flag, which means -O0.
Fare has quit [(Ping timeout: 246 seconds)]
<symphorien> export hardeningDisable=all should do the trick
<LnL> yes, I think it's part of the hardening flags
justelex_ has quit [(Quit: Konversation terminated!)]
justelex_ has joined #nixos
<StevenTian> Thanks to both of you. Where am I supposed to place "export hardeningDisable=all"?
<ToxicFrog> The best(?) part is that -O0 doesn't actually disable optimizations D:
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] davidak opened pull request #27905: restic: enable darwin builds (master...restic) https://git.io/v72k6
NixOS_GitHub has left #nixos []
gnuhurd has joined #nixos
<gchristensen> MoreTea: hydra has always done its own thing
<gchristensen> for non-eternal values of "always"
<ikwildrpepper> gchristensen: well, not always
<gchristensen> ;)
<ikwildrpepper> not even that long ago
marsam has joined #nixos
cfricke has quit [(Ping timeout: 255 seconds)]
<ToxicFrog> Hrm
<ToxicFrog> I had this idea of installing Nix on SUSE so that I could re-use the derivations I wrote for stuff like bup that isn't packaged in SUSE
<ToxicFrog> But the Nix installer doesn't work, and the documentation on how it works is really vague.
<gchristensen> "doesn't work"?
<ToxicFrog> `error: opening lock file ‘/nix/var/nix/profiles/per-user/ben/profile.lock’: No such file or directory`
<gchristensen> awkward
<ToxicFrog> It creates /nix and /nix/store fine, builds the user environment, and then falls over with that message.
StevenTian has quit [(Remote host closed the connection)]
<LnL> sounds like /nix/var/nix/profiles/per-user/ben is not owned by the correct user
iyzsong has quit [(Ping timeout: 240 seconds)]
<ToxicFrog> LnL: /nix/var/nix/profiles/per-user doesn't exist at all.
<LnL> or that :p
<ToxicFrog> I could create it, but since the installer should have done that, I don't know what else is broken.
<LnL> what platform is this?
<ToxicFrog> (and now I have an incomplete Nix install on my laptop. Whee. Hopefully I can get rid of it just by deleting /nix)
<ToxicFrog> OpenSUSE Tumbleweed, amd64
<ToxicFrog> ...hah. And I can't even try installing the Fedora RPMs because they don't exist on Hydra
<LnL> that doesn't do a multi user install by default
eacameron has quit [(Quit: Leaving...)]
<sphalerite> Infinisil: re nixer's question about using "out" in an expression, it is actually possible in nixUnstable using the new (undocumented, by the looks of it, yay!) placeholder mechanism.
<ToxicFrog> https://hydra.nixos.org/build/57717383 lists them but 404s if I attempt to download any of them.
<LnL> you'll only have /nix/var/nix/profiles/default AFAIK
<ToxicFrog> LnL: I wasn't trying to do a multiuser install! I was just following the instructions in the manual and running the `install` script with no arguments as a non-root user.
<LnL> weird
<gchristensen> ToxicFrog: this clearly requires a bug report
<sphalerite> Infinisil: https://github.com/NixOS/nix/commit/22d6e31fc6a9de2ee424984e629ccd2e394ba512 it's documented only in the source
<gchristensen> domenkozar: discussing your issue with ext4 & the locks, their recommended solution was to stop at 6,261,507 files
<ToxicFrog> gchristensen: which repo should I report it against?
<gchristensen> ToxicFrog: nix
<LnL> ToxicFrog: as for the 404's you can use the cache instead, nix-store -r /nix/store/1z896hdii9k8yq4jh0alc3z5hbjwzdd4-nix-rpm-fedora-25-x86_64-1.12pre5524_a2778988
<gchristensen> oh man yeah but we don't have that on the website for a reason
vinymeuh has joined #nixos
pie_ has joined #nixos
pie__ has joined #nixos
<LnL> yeah hydra should show that and/or keep files for releases like this
<ToxicFrog> LnL: but I don't have nix-store installed yet, because I'm trying to install nix in the first place.
<gchristensen> no I mean we don't tell people about the RPMs for a reason
<ToxicFrog> gchristensen: filed https://github.com/NixOS/nix/issues/1500
<domenkozar> gchristensen: their?
<ToxicFrog> gchristensen: we don't? The manual mentions them.
<gchristensen> like they're not listed as an install option on nixos.org/nix
<ToxicFrog> That's why I went looking for them in the first place.
<gchristensen> ouch
<gchristensen> left hand not talking to the right
Ivanych has quit [(Ping timeout: 260 seconds)]
<ToxicFrog> And the "Getting Nix" page has a link at the bottom to "Continuous Builds" which has the RPM links.
<gchristensen> :|
<ToxicFrog> It says that using `install` is the "
<Myrl-saki> I saw some *BSD getting updated on nixpkgs.
<ToxicFrog> "quickest" way to install but makes no mention of it being the only supported way or of the RPMs being discouraged.
<ToxicFrog> And while I'm here, I'd like to complain about the manual being extremely vague about what the installer actually does and how the nix-tools end up in your $PATH
<ToxicFrog> And, for that matter, how the "single user" install interacts with wanting to install things that any user can run -- like, can I install stuff as one user and then have another user add it to their $PATH? If not, how do you do "system-wide installs" of stuff with Nix when you aren't running NixOS?
<ToxicFrog> Based on NixOS experience the answer is "install it as root", except the Nix installer explicitly rejects any attempt to do that.
Sonarpulse has joined #nixos
justelex_ has quit [(Ping timeout: 255 seconds)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
justelex_ has joined #nixos
peacememories has joined #nixos
peacememories has quit [(Client Quit)]
bennofs has quit [(Ping timeout: 258 seconds)]
nslqqq has quit [(Ping timeout: 240 seconds)]
pie__ has quit [(Ping timeout: 255 seconds)]
pie_ has quit [(Ping timeout: 260 seconds)]
cement has quit [(Remote host closed the connection)]
bennofs has joined #nixos
<Sonarpulse> niksnut: you see my ping in https://github.com/NixOS/nixpkgs/pull/27859 ?
<Sonarpulse> wondering what you think about the reading the whole propagated file in Nixpkgs, in addition to Nix, too
StevenTian has joined #nixos
<gchristensen> Sonarpulse: he's away on holiday
Ivanych has joined #nixos
<Sonarpulse> oh
<gchristensen> can we get a niksbot for auto-replies
<gchristensen> (please no, I'm kidding)
* joepie91 writes a niksbot
<joepie91> :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to staging: https://git.io/v72YI
<NixOS_GitHub> nixpkgs/staging 283364a adisbladis: Revert "buildenv: read propagated-user-env-packages line-by-line"...
<NixOS_GitHub> nixpkgs/staging f1d48ca John Ericson: Merge pull request #27859 from adisbladis/revert_27427...
NixOS_GitHub has left #nixos []
aanderse_ has quit [(Read error: Connection reset by peer)]
frankpf has joined #nixos
aanderse_ has joined #nixos
StevenTian_ has joined #nixos
StevenTian_ has left #nixos []
nslqqq has joined #nixos
<LnL> Sonarpulse: by the way, I don't really get your last comment on the cross wrapper stuff
<Sonarpulse> LnL: :)
<Sonarpulse> yeah there's a lot going on
<Sonarpulse> did you read the big comment?!? :)
<LnL> big comment?
cement has joined #nixos
<Sonarpulse> LnL: maybe I didn't push enough yet?
<Sonarpulse> oh wait yeah I did not
<Sonarpulse> I happend to be working on that right now
<Sonarpulse> and got confused
erasmas has joined #nixos
<cement> if I install bison, does that automatically link /usr/bin/yacc?
<sphalerite> no.
<sphalerite> /usr doesn't exist on nixos
<ToxicFrog> If you're on NixOS nothing ends up in /usr/bin at all except env
<Sonarpulse> LnL: actually, do you mean the shellcheck one, or the cross one?
<Sonarpulse> cross/hygiene one?
<ToxicFrog> sphalerite: /usr/bin/env exists so you can #!/usr/bin/env bash
cfricke has joined #nixos
<LnL> Sonarpulse: the cross one, with the salts
<Sonarpulse> LnL: ah ok
<Sonarpulse> yeah I am about to push
<sphalerite> /usr doesn't exist in the conventional sense, that is. That's definitely what I meant and I totally remembered that /usr/bin/env exists. Yeah.
digitus has joined #nixos
deltasquared has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
nh2 has quit [(Ping timeout: 255 seconds)]
nh2 has joined #nixos
<LnL> that's an exception because it's part of POSIX
<gchristensen> good news y'all, I got permission from Luca ( lethalman ) to port Nix Pills in to something distributed by nix
<disasm> ooh, that's awesome!
Ivanych has quit [(Ping timeout: 240 seconds)]
<gchristensen> and when that happens he'll link from his pills to the ported version
<Sonarpulse> LnL: Just pushed to that PR
<disasm> so we can keep them up-to-date as things change too :)
<gchristensen> yep :)
<Sonarpulse> I'm about to get lunch, and I need to actualy test it
mudri has quit [(Ping timeout: 240 seconds)]
<Sonarpulse> but the comments are there to explain the general idea, which is what I'm most interested in other ppl looking over anyways
<MoreTea> gchristensen, awesome
<gchristensen> now the problem is where to put the thing
eacameron has joined #nixos
<gchristensen> it really is its own ... thing
<Sonarpulse> gchristensen: yay!
<LnL> yeah, it should be separate
<LnL> we can't dump that in the manual or something
<gchristensen> ok who wants to write a whole boat load of docbook with me
cpennington has quit [(Read error: Connection reset by peer)]
<Sonarpulse> gchristensen: lololol
<Sonarpulse> is this going in a manual?
vengefulpickle has joined #nixos
* LnL runs away
<Ankhers> gchristensen: I can help out.
<disasm> gchristensen: I'll help out if it's not time sensitive. I'm taking some time off till mid-next week.
<Ankhers> I'll admit that I have not written docbook before though.
<gchristensen> w00t
<disasm> Ankhers: me neither, but it's been on my list of things to learn :)
<LnL> I'm looking at the gcc stuff, etc. on darwin but I could help out when I'm stuck building stuff
<disasm> it's pretty much xml tags :)
peacememories has joined #nixos
<gchristensen> once you have a few examples to copy and paste it really isn't that bad
peacememories has quit [(Client Quit)]
<Ankhers> Anyone know a good emacs mode for docbook? A quick google says to use NxmlMode.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] WilliButz opened pull request #27907: packer: add missing go-dependency (master...master) https://git.io/v72nz
NixOS_GitHub has left #nixos []
<gchristensen> that is what I use
<gchristensen> it is pretty good
<Ankhers> Cool. I will give it a go.
<gchristensen> cool, thanks!
<gchristensen> I'll start a skeleton and do the first one, then we should be able to copy-and paste that for the rest and then converge on a completed doc by splitting out the Pills
<Ankhers> Sounds good to me. Just ping me when you have something for me to do.
<gchristensen> will do :D
arximboldi has joined #nixos
<gchristensen> disasm: are you @disassembler on github?
babic has quit [(Ping timeout: 255 seconds)]
<copumpkin> shlevy, zimbatm: y'all around to talk about TF 0.10?
<disasm> gchristensen: yessir
<disasm> awesome, thanks
ertes-w has quit [(Ping timeout: 246 seconds)]
<nixy> Not sure if any of you use Linode, but they just put this out https://www.linode.com/docs/tools-reference/custom-kernels-distros/install-nixos-on-linode
FRidh has quit [(Quit: Konversation terminated!)]
<gchristensen> oh damn nixy
<LnL> yeah I saw that earlier
<gchristensen> that is seriously good
<nixy> My hard work is finally bearing fruit :)
<gchristensen> nixy: did you get that done?
<nixy> Yeah, I wrote it and have been trying to push it through the docs review process
<nixy> Full disclouse: I work for Linode
<gchristensen> oh should I delete the submission to lobste.rs?
<gchristensen> to let you submit it?
<nixy> I suppose I should since I wrote it lol
<gchristensen> deleted :)
<nixy> Submitted!
<nixy> GlennS: I know you were looking at some NixOps stuff for Linode, some stuff in that guide might help you out
phreedom has quit [(Ping timeout: 240 seconds)]
frankpf has quit [(Quit: Leaving)]
<MoreTea> gchristensen, yes, I'd like to help with docs
<MoreTea> I'll allocate some time for that.
phreedom has joined #nixos
<joepie91> hmm... say that I have a repository containing proprietary bits (JRE, etc.) that are requireFile'd by a nixpkgs package, and instead of using nix-prefetch-url, I want to specify their inclusion in the store from my configuration.nix... how would I approach this?
<joepie91> (Ie. declaratively instead of imperatively)
<gchristensen> nixy: great work, thank you so much
<joepie91> I guess that really all I need to do is forcibly add a path to the store, and requireFile will pick it up, but idk how to do that :)
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
<LnL> building something that depends on a requireFile should show you instructions
<disasm> nixy: I have a similar way of deploying with nixops to vultr, where you create an image, and then use the API to use your created image. Not sure if you can adapt some of that to linodes API's and create a linode backend for nixops.
<Ankhers> Would someone mind giving me an invite to lobste.rs? I can send a PM with my information.
<joepie91> LnL: yes, but the instructions are imperative (nix-prefetch-url, etc.), and I'm looking for a declarative solution
<disasm> What is lobste.rs?
<Ankhers> website.
<gchristensen> Ankhers: email?
<joepie91> LnL: ie. something I can ship alongside my NixOS config repo
<nixy> disasm: I had thought about that kind of approach, but hadn't seen anything in NixOps using it
mudri has joined #nixos
<LnL> joepie91: well it's used with upstream doesn't provide a possibility to download it in an automated mail
<disasm> nixy: yeah, it's hard when there aren't official images :)
ixxie has joined #nixos
<disasm> nixy: although you working at linode, maybe you could get an official image created :)
<joepie91> LnL: I am aware. hence needing to ship along the source file with my config repo, and wanting to have it added to the store declaratively, so as to not break the nixpkgs packages that need it
<drakonis> lobsters is nice.
<nixy> disasm: That is the dream. Just another step towards world domination
<gchristensen> nixy: I can help with that, I've done similar work for Packet.net
<drakonis> its hacker news except sane
<nixy> The first step was getting the guide published. Now that it's out there and I can show that there is interest I should be able to push for an image
<Ankhers> gchristensen: Thanks.
<disasm> ooh, that is a pretty cool site. I'll take an invite too if anyone has extras :)
<LnL> joepie91: oh like that, you can write a fixed output drv for it if you distribute it internally
<joepie91> LnL: ah, how would I do that? I've searched around for a bit, but couldn't find anything
<joepie91> (if you have an example, even better :P)
<joepie91> like, if I have an example I can probably figure out how it works
<joepie91> just need a starting point :)
<copumpkin> joepie91: you going to nixcon?
<clever> joepie91: only thing i can think of involving JRE, is to just re-host the tar on your own site, and fetchurl them
<LnL> you could do something like openjdk.overrideAttrs { src = fetchurl ...; }
<clever> and then that
zennist has joined #nixos
<LnL> and if the hash of that fetchurl is the same as the requireFile nothing will rebuild
goibhniu has quit [(Ping timeout: 255 seconds)]
<clever> hydra cant build the oracle jdk, so hydra wont have anything cached that depends on it
<zennist> newbie here. does nix allow my make command to read files in a custom location e.g., /home/<myname>/... during the build process?
leat has joined #nixos
<LnL> oh right, the hash doesn't even matter
<zennist> i just tried for something and my make is reporting permission denied on the said locations
<joepie91> copumpkin: maybe, not super likely, but I will at least be at SHA2017 :P
<clever> zennist: HOME is set to /homeless-shelter during a build
<clever> zennist: all files you need to build must be clearly specified in the .nix file
<drakonis> what's the news on nixcon
<joepie91> LnL: hm, then I can also just specify a local path, no?
<zennist> i see - but i did use explicit path i.e., /home/...
<joepie91> openjdk.overrideAttrs { src = ./foo/bar; }
<clever> zennist: its also ran as another user, nixbld1
<LnL> yes that should also work
<drakonis> i have to ask, why isn't the nixcon domain registered?
<clever> zennist: what is in that directory that your trying to access?
<zennist> clever: okay, is there any instruction on how to 'add' those files into the nix build expression?
<zennist> header files
<drakonis> instead of registering a numeric domain for each year of nixcon
<joepie91> LnL: hm, does overrideAttrs modify it for all of nixpkgs, or just for that invocation? because otherwise I'm still stuck with dependencies
<zennist> but well..custom header files that i provide myself shall i say
<clever> zennist: try using ${./include} in the nix expression instead
<copumpkin> drakonis: there's a law in the US forbidding registration of domains with edit distance 1 from "nixon"
<drakonis> why not register in europe
<copumpkin> joepie91: only that invocation
<copumpkin> joepie91: you could overlay it
<zennist> what does ${./include} do? which file it's pointing to?
<drakonis> that's a dumb law, thanks nixon
cfricke has quit [(Quit: WeeChat 1.9)]
<clever> zennist: the ${ ... } lets you insert a nix expression into a string
<copumpkin> drakonis: :)
<clever> zennist: and ./include is a path relative to the nix file, that nix should include
<joepie91> copumpkin: how would I approach that?
<drakonis> nixon was president way before the internet took off
<drakonis> how is this a law
<copumpkin> joepie91: I think you can do something like nixpkgs.overlays = [ (self: super: { openjdk = super.openjdk.overrideAttrs { src = ... } }
<copumpkin> I can't remember specifics
<zennist> clever: i see; so in my case i should include a bunch of ${/home/myuser/headerfiles}...?
abcrawf has joined #nixos
<joepie91> copumpkin: ah, right, yeah, that makes sense.
<zennist> does it support include a directory?
<copumpkin> drakonis: oh I just made it up
<clever> zennist: and its recomended to always use relative paths, not absolute
<joepie91> copumpkin: before I attempt that - there's no way to just pre-emptively dump a given file into the store?
<drakonis> lmfao
<LnL> copumpkin: unbalanced parenthesis
<joepie91> copumpkin: without requiring modifications of derivations
<LnL> :p
<clever> zennist: so the headers should be in the same directory as the nix file, and then ${./headerfiles}
<drakonis> well played
<joepie91> copumpkin: there's no declarative way *
<copumpkin> joepie91: there is, sort of. I think if you just refer to a FO derivation like fetchurl somewhere
<copumpkin> then the requireFile will work fine
<copumpkin> I don't actually know what Nix will do
<copumpkin> if it encounters a fetchurl and a requireFile with the same hash
<LnL> joepie91: if you use a cache that has the path it should also work without changes
<joepie91> copumpkin: but because of lazy evaluation it'd still have to try to actually *use* it, right?
<copumpkin> presumably it's nondeterministic?
<joepie91> copumpkin: before it dumps it into the store
<copumpkin> joepie91: yeah, there's sort of something like that
<clever> joepie91: a packageOverride on the oraclejdk, replacing requireFile with fetchurl would solve that problem twice
<joepie91> hrm...
<clever> its using fetchurl, so it downloads, and it removed requireFile, so the order doesnt matter anymore
<copumpkin> joepie91: looking for an option
<joepie91> clever: I'll be using a local filesystem path (in config repo), not a remote URL
<clever> joepie91: make an override with src = ./foo.tar.gz;
<joepie91> clever: right, that's what we just went through :)
<clever> ah
<joepie91> it would still require an overlay to make it affect all of nixpkgs
<joepie91> also as a dep
<clever> yeah
<clever> packageOverrides and overlays can do that
<gchristensen> nixy: are you on twitter?
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
<gchristensen> ikwildrpepper: can you do the honors of retweeting https://twitter.com/grhmc/status/893141887397351425
<gchristensen> or tweeting it on its own whatever
<zennist> clever: i'm still a bit confused by your solution; so I have my build config defined something like mkDerivation { ... = ; ... = ; } etc., how can I tell nix: for this package allow me to read the following files?
<zennist> clever: i tried to just set those directories to world readable but that doesn't do the trick
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<clever> zennist: can you gist the full nix file?
<Myrl-saki> What's suggested for Nix files? snake_case or camelCase?
Capprentice has quit [(Remote host closed the connection)]
<zennist> it's a long file but you can ignore most of it; all it does is overriding some parent configurations
Capprentice has joined #nixos
<clever> zennist: and where are you trying to access the headers?
<zennist> that's right at the bottom: there is a 'cocos2d-hs' package
<zennist> line 443
<zennist> when building that package cabal would need to read a custom location
<clever> zennist: to start with, try adding this: postUnpack = "ls -ltrh ${./headerfiles}";
<clever> zennist: and then look at the output it generates in the build
takle has quit [(Ping timeout: 240 seconds)]
<zennist> ls: cannot access '/home/lingnan/builds/cocos2d-x/cocos': Permission denied
<clever> that doesnt look like you used ${
zeus_ has joined #nixos
<zennist> yeah the headers are in that custom location...
<LnL> that would be impure
<clever> you must refer to that custom location inside the ${ ... }
<LnL> builds can't see anything except for their explicit dependencies
<zennist> that works out fine!
<zennist> why does ${ .. } do the magic?
<clever> 2017-08-03 13:27:01 < clever> zennist: the ${ ... } lets you insert a nix expression into a string
<clever> 2017-08-03 13:27:11 < clever> zennist: and ./include is a path relative to the nix file, that nix should include
<zennist> mhh okay, but a file path is a nix expression?
<LnL> if you use ${/path/to/headers} nix will copy everything in that path to /nix/store/...-headers
<zennist> i can now do the 'ls' command, but my make command still can't see that directory
<clever> change the ls to an echo
<clever> you will see that nix generated a special path
<clever> you must either pass that special path directly to make, or copy it to the current directory, and have make look in the current directory
<LnL> your build needs to use the store path that nix generated
<zennist> i see
<zennist> i actually passed the full path directly to my make
<zennist> but it can't access the content as permission denied
<zennist> although the directory is world readable
<clever> you must pass make the ${./foo} path, not the /home/user/foo path
<zennist> but wouldn't that expand to the nix store path which doesn't contain my header?
<clever> it will expand to a storepath containing a complete copy of the foo directory
<clever> which contains your header
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #27907: packer: add missing go-dependency (master...master) https://git.io/v72nz
NixOS_GitHub has left #nixos []
<zennist> okay i guess it's easier for me to just manually copy my header into my project area and let make use relative path...
<clever> nix can do that
justelex_ has quit [(Ping timeout: 260 seconds)]
<clever> postUnpack = "cp -vir ${./headerfiles} headerfiles";
<zennist> it's alright the headers don't change so i'll just manually do it then; originally thought they are quite big so was thinking to keep them out of the project area
abcrawf has quit [(Remote host closed the connection)]
abcrawf has joined #nixos
ambro718 has joined #nixos
justelex_ has joined #nixos
charlycoste has quit [(Quit: Leaving.)]
ben has quit [(Ping timeout: 240 seconds)]
deltasquared has left #nixos ["Leaving"]
mudri has quit [(Ping timeout: 260 seconds)]
todder has joined #nixos
moet has joined #nixos
jgertm has joined #nixos
hellrazor has joined #nixos
hlavaty has quit [(Remote host closed the connection)]
<Myrl-saki> How do I make Nix compile a certain version of a library and output the file location?
swoorup has joined #nixos
<swoorup> hi
<swoorup> i just installed nixos coming from ubuntu
<swoorup> how do you install viber?
<clever> swoorup: nix-env -iA nixos.viber
<swoorup> nix-env -qa | grep -i viber yields 0 result
[0x4A6F] has joined #nixos
<clever> but if you run the command i gave?
mudri has joined #nixos
<copumpkin> ikwildrpepper: any thoughts on that brightbox image PR I have?
<copumpkin> ikwildrpepper: I don't know anything about brightbox but it would be nice to reduce duplication
<Myrl-saki> Oh. nix-build lol. Of course
<swoorup> how can i search for unfree packages using nix-env
<ikwildrpepper> copumpkin: didn't see it
<swoorup> i do have unfree enabled in my configuration.nix
<ikwildrpepper> copumpkin: will check
<ikwildrpepper> btw macs are offline
<ikwildrpepper> as the internet in our office has been down all day
<copumpkin> ikwildrpepper: just reusing some common code since there was a lot of copying and pasting going on back in early image days :)
<copumpkin> ikwildrpepper: onoes :(
<copumpkin> ikwildrpepper: how can you survive with no internet?!? that sounds awful
<ikwildrpepper> copumpkin: yeah, it was terrible
<ikwildrpepper> hadan aweful day, started with a call with EC2 issues in us-east-1 making server unresponsive
<ikwildrpepper> so was up half the night to fix that, then get into the office seeing internet not working.
<gchristensen> ugh
<ikwildrpepper> i lived up to my nickname at work, mr grumpy
<gchristensen> you should take the day off
<swoorup> copumpkin, how do you grep unfree packages
<copumpkin> ikwildrpepper: you never seem very grumpy on IRC
<ikwildrpepper> copumpkin: yeah, grumpyness gets lots on IRC
<copumpkin> swoorup: I'm not sure; don't use nix-env much, sorry
<gchristensen> copumpkin: you should see his private messages to me
<copumpkin> you'd probably need to stick it into config somewhere
<ikwildrpepper> besides, you guys are such good company :p
<copumpkin> :)
<swoorup> ahh nevermind
<gchristensen> ikwildrpepper: <3
<copumpkin> how do I switch NixOS from grub to sys/extlinux in module config?
<copumpkin> boot.loader.generic-extlinux-compatible.enable ?
<clever> copumpkin: i believe that only generates a config file, it doesnt install a bootloader
<copumpkin> clever: I saw this though:
<copumpkin> system.build.installBootLoader = "${builder} -g ${toString cfg.configurationLimit} -t ${timeoutStr} -c";
<copumpkin> in the same module
<copumpkin> is there a better way?
<Dezgeg> that is what just creates the conf file
<copumpkin> also, `generic-extlinux-compatible` is kind of a rotten option name :P
<copumpkin> oh I see
<clever> that also copies kernels to /boot, if it needs to
<copumpkin> do we actually support turning grub off? I've seen some references to systemd-boot
<copumpkin> but I'm not on an EFI system
<clever> boot.loader.grub.enable = false;
<copumpkin> sure, but I still want a bootloader
<copumpkin> just not grub
<ndash> yes, you can use systemd-boot
<copumpkin> but doesn't that only work on EFI?
<clever> boot.loader.generic-extlinux-compatible.enable = true; boot.loader.grub.enable = false;
<swoorup> are there are plans to improve the UI for nix package managers?
<copumpkin> swoorup: there's plans and implementation, if you're talking about the command line UI
<copumpkin> swoorup: GUI-wise I haven't see nanything
<swoorup> yup command line
<swoorup> atm, I find it too verbose
<copumpkin> swoorup: the upcoming nix 1.12 release will have a top-level `nix` command that has subcommands like `shell` and `install` and `use`
<copumpkin> should be quite a bit friendlier and more deliberately thought out
<copumpkin> if you go grab a prerelease you can already play with it
<swoorup> i see, so all nix should be hidden as a subcommand?
<ikwildrpepper> copumpkin: will test your PR tomorrow
<copumpkin> swoorup: well, it just brings it more in line with how other tools are moving these days
<ikwildrpepper> need to dig up my brightbox account :D
<copumpkin> ikwildrpepper: thanks! I don't think it should produce materially different images
<ikwildrpepper> copumpkin: looks pretty straightforward indeed
<swoorup> thats awesome
<swoorup> i find the wiki too verbose as well, could have been split up like Arch
<swoorup> wiki
<swoorup> not too verbose, but a long read
<swoorup> and hard to find information
akiroz has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
nschoe has quit [(Quit: Program. Terminated.)]
swoorup has quit [(Remote host closed the connection)]
<copumpkin> clever: what about that?
<clever> copumpkin: swoorup just ran into that issue
et4te has joined #nixos
<akiroz> hi guys, I'm just starting to learn NixOps but I can't seem to be able to deploy my first server. I got this error when running nixops deploy:
<akiroz> error: The option value `users.users.root.openssh.authorizedKeys.keys.[definition 1-entry 1]' in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/config/users-groups.nix' is not a string.
<akiroz> System: NixOS 17.03 NixOps: 1.5.1
<clever> akiroz: did you set users.users.root.openssh.authorizedKeys.keys to something?
<akiroz> nope, none of my configs touch openssh
reinzelmann has joined #nixos
<clever> akiroz: which backend are you using?
<akiroz> libvirtd running on my local machine
<clever> client_public_key = nixops.util.attr_property("libvirtd.clientPublicKey", None)
<clever> akiroz: i'm guessing there is a bug dealing with that public key
Myrl-saki has quit [(Ping timeout: 268 seconds)]
<akiroz> clever: hmm... guess I'll try deploying to nixos-containers for now, thanks for the help
ambro718 has quit [(Ping timeout: 260 seconds)]
bennofs has quit [(Ping timeout: 240 seconds)]
ThatDocsLady has quit [(Ping timeout: 240 seconds)]
jgertm has quit [(Ping timeout: 240 seconds)]
swoorup has joined #nixos
<swoorup> is this site down?
<swoorup> how do I configure audio
<clever> swoorup: the wiki was shut down, https://nixos.org/nixos/options.html#hardware.pulseaudio.enable
<swoorup> why was it shutdown?
<clever> too much spam
<swoorup> hmm
<swoorup> any plans to re-enable it?
<clever> which was linked on https://nixos.org/wiki/PulseAudio
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to openssl-1.1: https://git.io/v72at
<NixOS_GitHub> nixpkgs/openssl-1.1 e8c1910 Robin Gloster: cyrus_sasl: 2.1.26 -> 2.1.27rc3...
NixOS_GitHub has left #nixos []
vinymeuh has quit [(Quit: Textual IRC Client: www.textualapp.com)]
FRidh has joined #nixos
hellrazor has quit [(Quit: WeeChat 1.9)]
StevenTian has quit [(Quit: Connection closed for inactivity)]
swoorup has quit [(Read error: Connection reset by peer)]
justelex_ has quit [(Ping timeout: 240 seconds)]
arximboldi has quit [(Ping timeout: 276 seconds)]
moet has quit [(Quit: leaving)]
<akiroz> clever: turns out it was the --dry-run flag passed to nixops deploy that caused it to fail... any ideas why?
justelex_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #27898: irony-server: supports darwin (master...irony-server-darwin) https://git.io/v7g0I
NixOS_GitHub has left #nixos []
<clever> akiroz: that probably stopped it from creating an ssh keypair
<clever> akiroz: so it gave an invalid value to nixos, as the key to allow in
bennofs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #27905: restic: enable darwin builds (master...restic) https://git.io/v72k6
NixOS_GitHub has left #nixos []
<akiroz> Ahh I see, thanks again!
obadz has quit [(Ping timeout: 240 seconds)]
obadz has joined #nixos
jgertm has joined #nixos
akiroz has quit [(Quit: Page closed)]
tmaekawa has joined #nixos
colabeer has joined #nixos
deltasquared has joined #nixos
deltasquared has left #nixos []
justelex_ has quit [(Quit: Konversation terminated!)]
justelex_ has joined #nixos
tmaekawa has quit [(Quit: tmaekawa)]
tmaekawa has joined #nixos
bennofs has quit [(Ping timeout: 260 seconds)]
nschoe has joined #nixos
tmaekawa has quit [(Quit: tmaekawa)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #27909: sqlite3_analyzer: 3.19.2 -> 3.20.0 (master...update/sqlite3_analizer-3.20.0) https://git.io/v72is
NixOS_GitHub has left #nixos []
<nschoe> Hi all, quick question, I've just installed nixos.gnome.gtk (gtk+-2.0), and I'm trying to compile a simple Hello, world with gtk, but `pkg-config --cflags gtk+-2.0` doesn't find anything.
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/aa8cbedf37 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<ToxicFrog> Hrm. I want to create a local nixpkgs-like repo that has some packages which I write from scratch, and some which override packages in <nixpkgs>.
<ToxicFrog> And then use that both for my systems using NixOS (which AIUI always use <nixpkgs> as the package search path?) and my systems using Nix on some other distro.
<ToxicFrog> Is this possible?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #27910: sqlite: 3.19.3 -> 3.20.0 (staging...update/sqlite-3.20.0) https://git.io/v72Pf
NixOS_GitHub has left #nixos []
<clever> nschoe: you must use nix-shell when building things, installing build-time stuff just breaks it
bennofs has joined #nixos
<eacameron> Is there a way to create a Haskell build env for nix shell that works for multiple projects? Kinda how stack does it?
<clever> eacameron: i generally use ghcWithPackages, just add all the packages you need to it
<nschoe> clever, hum, I'm not sure I understand. Does it mean I should uninstall 'nixos.gnome.gtk'? Do you have some documentation for compiling a small project with nix-shell?
<eacameron> clever: I suppose that would get me closer.
<nschoe> clever, note: I'm not trying to createa nix package, I'm just developping on my machine, and want to compile my project, not install it
<clever> nschoe: nix-shell -p gnome.gtk pkgconfig
<clever> nschoe: you must still build it under nix-shell, and installing pkgconfig also breaks it
<nschoe> clever, thanks. IIUC (I haven't use nixOS much for developping yet), this will drop me into a shell with gnome.gtk installed. But will it be at the "usual" /usr/lib/include? What about pkgconfig, should I install it inside the nix-shell? How do I link agaisnt this library?
<clever> nschoe: nix will never have a /usr/lib/include directory
<clever> nschoe: by adding pkgconfig to the -p list, a setup hook for pkgconfig gets ran, which will scan over all of your inputs (gnome.gtk pkgconfig), and add each of them to an env variable that changes the pkgconfig search path
<LnL> the only thing we have is /usr/bin/env everything else is in the store :)
<nschoe> clever, that's what I thought, yeah ^^
<clever> nschoe: gcc should also be in the scope already, and it will change the search path for -I
<clever> so when using nix-shell, it will just work
ambro718 has joined #nixos
<nschoe> clever, okay so the correct solution **is** to use nix-shell -p gnome.gtk, xxx.pkgconfig, and then inside it use pkg--config --cflags <yyy>. I mena this is not a hack, this is the normal soution, right?
<clever> yes
<nschoe> clever, okay, I'm going to read more about nix-shell, and try this, then
<nschoe> clever, thanks for taking the time, I'm sure plenty of stupid questions like mine come around here :/
<clever> you can also create a shell.nix to save the list of packages that will be growing
<clever> with import <nixpkgs> {}; stdenv.mkDerivation { name = "yourproject"; buildInputs = [ gnome.gtk pkgconfig ]; }
<clever> nschoe: if you put this into a file called shell.nix, you can just run nix-shell without an arguments
zennist has quit [(Ping timeout: 240 seconds)]
<clever> and now you can track the dependencies in git
<nschoe> clever, okay, that's cool. Thank you for that.
<nschoe> clever, I suppose "inside the nix-shell" the setup is close to that of "other systems", so that my work can be re-used on, say a Ubuntu or so.
<clever> yeah
<clever> you can also run nix-shell on an ubuntu system that has had nix installed
katyucha_ has quit [(Quit: leaving)]
Curiontice has joined #nixos
katyucha has joined #nixos
Soham has joined #nixos
Capprentice has quit [(Ping timeout: 258 seconds)]
Curiontice has quit [(Ping timeout: 260 seconds)]
MP2E has joined #nixos
[0x4A6F] has quit [(Ping timeout: 248 seconds)]
phreedom has quit [(Ping timeout: 248 seconds)]
phreedom has joined #nixos
marsam has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to master: https://git.io/v72Dd
<NixOS_GitHub> nixpkgs/master 53d2f09 Markus Mueller: nat: always flush nixos nat rules on firewall start/reload...
<NixOS_GitHub> nixpkgs/master 1793c96 Markus Mueller: tests/nat: Use switch-to-configuration in test case
NixOS_GitHub has left #nixos []
catch22 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #27911: erlang: remove explicit gcc dependency (master...erlang-no-gcc) https://git.io/v72yN
NixOS_GitHub has left #nixos []
revtintin has quit [(Ping timeout: 260 seconds)]
zeus_ has quit [(Read error: Connection reset by peer)]
jedai has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
kiloreux has quit [(Read error: Connection reset by peer)]
ixxie has quit [(Quit: Lost terminal)]
<sphalerite> Maybe we should write that bot... With gchristensen's cloudfront.sh script and https://github.com/nixos-users/wiki/wiki/FAQ#i-installed-a-library-but-my-compiler-is-not-finding-it-why at least
<gchristensen> yeah
<gchristensen> a general-purpose factoid bot
rpifan has joined #nixos
rpifan has quit [(Max SendQ exceeded)]
rpifan has joined #nixos
ChongLi has quit [(Ping timeout: 260 seconds)]
rpifan has quit [(Max SendQ exceeded)]
ChongLi has joined #nixos
rpifan has joined #nixos
rpifan has quit [(Max SendQ exceeded)]
rpifan has joined #nixos
<sphalerite> Maybe even have it respond automatically when a specific set of keywords is encountered? e.g. ("cache.nixos.org" & ("curl error" | "slow")) and ("install" & ("library" | "pkg-config" | ...))
rpifan has quit [(Max SendQ exceeded)]
<sphalerite> (but only once ever per person asking, or something)
rpifan has joined #nixos
<sphalerite> and debounce
rpifan has quit [(Max SendQ exceeded)]
rpifan has joined #nixos
<gchristensen> too far :)
ben__ has joined #nixos
rpifan has quit [(Max SendQ exceeded)]
rpifan has joined #nixos
rpifan has quit [(Max SendQ exceeded)]
gnuhurd has quit [(Ping timeout: 268 seconds)]
frankpf has joined #nixos
gnuhurd has joined #nixos
kiloreux has joined #nixos
hellrazor has joined #nixos
zennist has joined #nixos
justelex_ has quit [(Ping timeout: 240 seconds)]
drakonis has quit [(Read error: Connection reset by peer)]
MinceR has quit [(Ping timeout: 260 seconds)]
MinceR has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fread2281 opened pull request #27912: xf86-video-intel: build intel-virtual-output (master...master) https://git.io/v72QG
NixOS_GitHub has left #nixos []
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/v72Qc
<NixOS_GitHub> nixpkgs/master 0b96f1d Robin Gloster: bsdgames: fix weird Makefile use of STRIP
NixOS_GitHub has left #nixos []
zennist has quit [(Ping timeout: 240 seconds)]
<disasm> clever: I know both default.nix and shell.nix work, but is one preferred over the other for use with nix-shell? I've been using default.nix mostly.
MoreTea has quit [(Quit: Leaving)]
justelex_ has joined #nixos
Infinisil has joined #nixos
bennofs has quit [(Quit: WeeChat 1.9)]
<disasm> sphalerite: yeah, we had a factoid bot in the drupal community when I was doing PHP dev stuff still. was rather useful to say !composer or something any time someone asked how to install drupal 8, lol :)
justelex_ has quit [(Ping timeout: 268 seconds)]
MP2E has quit [(Read error: Connection reset by peer)]
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
justelex_ has joined #nixos
MP2E has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #27883: dropbox: 30.4.22 -> 31.4.24 (master...update/dropbox) https://git.io/v7gUq
NixOS_GitHub has left #nixos []
jluttine has quit [(Ping timeout: 260 seconds)]
giorgiolando has joined #nixos
Soham has quit [(Ping timeout: 240 seconds)]
faffolter has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mbrgm opened pull request #27914: journalbeat: 5.4.1 -> 5.5.0 (master...upgrade-journalbeat) https://git.io/v72bI
NixOS_GitHub has left #nixos []
<Sonarpulse> where is NIX_BUILD_TOP defined?
MP2E has quit [(Read error: Connection reset by peer)]
MP2E has joined #nixos
taktoa has joined #nixos
<sphalerite> Oh yeah, Infinisil was it you who was fiddling around with persuading silly applications to use XDG_CONFIG?
<Infinisil> sphalerite: Yes :)
<taktoa> !m Infinisil
<[0__0]> You're doing good work, Infinisil!
<Sonarpulse> gchristensen: thanks
<gchristensen> Sonarpulse: fwiw I audited every occurrence of NIX_BUILD_TOP and these are indeed the only places
<Sonarpulse> gchristensen: but those are like random places
<Sonarpulse> it it is defined in my nix-shel
<Sonarpulse> I think Nix itself might do it??
<gchristensen> oh duh
<Sonarpulse> we do abuse this NIX_ namespace too muhc
<Sonarpulse> should be NIXPKGS_CC_WRAPPER_CFLAGS_COMPILE
<Sonarpulse> or whatever
<gchristensen> yeah
<Sonarpulse> env["NIX_BUILD_TOP"] = env["TMPDIR"] = env["TEMPDIR"] = env["TMP"] = env["TEMP"] = tmp;
<gchristensen> NIXOS_* NIXPKGS_* NIX_*
<Sonarpulse> yikes
<sphalerite> Infinisil: if you really insist on making unmodified applications use it (as opposed to patching them and sending the patches upstream, which is a better approach IMO!) you can also use a mount namespace + bind mount to fake them
reinzelmann has quit [(Quit: Leaving)]
<sphalerite> Err actually that still involves the creation of the directories in your ~, even though they're empty. Never mind...
<Infinisil> sphalerite: Yeah
justelex has joined #nixos
<Infinisil> What I'm doing as a start is wrap the programs with certain env vars set / certain flags passed. Stuff like ZDOTDIR for zsh, or --hsts-file for wget
* disasm senses a hubot with the !m syntax
<gchristensen> disasm: the frustrating thing is [0__0] can do factoids but it isn't configured for it / lincolnloop won't help me set it up
<Infinisil> I'm currently a bit short on time, exams are in a week, but here is what I got now, feel free to use it/improve it if you feel like it ( sphalerite taktoa [0__0] ): https://gist.github.com/a82c894755d27c2382dcb711f60b4e8b
<disasm> yeah, you need a sql database I believe to enable factoids.
<Infinisil> The overrideAttrs is pretty bad, that should change for example
<gchristensen> disasm: its hosted
<disasm> ah, ok
<gchristensen> LL is just 100% unresponsive
jluttine has joined #nixos
justelex_ has quit [(Ping timeout: 260 seconds)]
<gchristensen> [0__0]: help
<[0__0]> Available plugins: logger, ping, help, last_seen, bangmotivate (https://botbot.me/freenode/nixos/help/)
<Infinisil> LOL, I thought that was a person
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas opened pull request #27915: python2-pythondialog: fix --replace on substituteInPlace; fixes certbot (master...fix-certbot) https://git.io/v72xq
NixOS_GitHub has left #nixos []
<gchristensen> :)
colabeer has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
<Infinisil> This PR is the reason why we need something better than bash..
<Sonarpulse> lolz
<gchristensen> you can write bad tools in any language
<Sonarpulse> all the errors I uncovered
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas opened pull request #27917: pinentry: fix keyboard/pointer grabbing bugs (master...fix-pinentry) https://git.io/v72xS
NixOS_GitHub has left #nixos []
<Sonarpulse> by making that check it's arguments
<Infinisil> gchristensen: But it's especially easy in bash
<LnL> it didn't check the arguments before?
<gchristensen> Infinisil: I was going to try and defend bash but thought better of it ;)
frankpf has quit [(Ping timeout: 260 seconds)]
MP2E has quit [(Quit: brb)]
takle has joined #nixos
<Infinisil> gchristensen: I mean bash good things: It's very easy to get started, very flexible, great ecosystem. But one thing where bash stinks is type safety
<grahamc> Does type safety prevent you from ignoring nonsensical argv's?
<tilpner> Hey Infinisil, did you get your overlays installed?
<LnL> main problem is bootstrapping, size of the stdenv closure is important
<Infinisil> grahamc: With a language with types you could just write a function that takes these arguments, no need to use stringly typed manner. Of course integrating this with all other tools would be a pain.. but that's how it could work
<Infinisil> tilpner: I did not, I gave up eventually
takle has quit [(Ping timeout: 248 seconds)]
takle has joined #nixos
<tilpner> Alright, ping me if you try again, I still had another suggestion
<Infinisil> tilpner: Thanks, I'll try to remember :)
<Sonarpulse> LnL: nope just skipped stuff that didn't fit
<Sonarpulse> Infinisil: worse than dynamic types is just no interestd data types
<Sonarpulse> would bash vars support json or similar
<LnL> well :/
<LnL> that's not good
<Sonarpulse> i.e. arbitrary depth
goibhniu has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cillianderoiste pushed 12 new commits to master: https://git.io/v72hd
<NixOS_GitHub> nixpkgs/master 475c303 Cillian de Róiste: a2jmidid: fix download URL...
<NixOS_GitHub> nixpkgs/master 8fb5217 Cillian de Róiste: blender metadata: fix homepage
<NixOS_GitHub> nixpkgs/master 8a1328f Cillian de Róiste: chromedriver: update homepage
NixOS_GitHub has left #nixos []
hellrazor has quit [(Ping timeout: 260 seconds)]
rtjure has joined #nixos
bennofs1 has joined #nixos
vengefulpickle has quit [(Remote host closed the connection)]
simukis has quit [(Ping timeout: 240 seconds)]
joehh has quit [(Ping timeout: 248 seconds)]
goibhniu has quit [(Ping timeout: 276 seconds)]
<Infinisil> Sonarpulse: Yeah that would probably work, just pass json strings around and obtain info about them with jq or something similar
<Infinisil> Although there still aren't any types, unless you do something hacky with json (like nix did :P)
FRidh has quit [(Quit: Konversation terminated!)]
<Sonarpulse> Infinisil: well env vars we are screwed
<Sonarpulse> unless we fork linux!
<Sonarpulse> :D
<Sonarpulse> but within bash there's no good reason not to have more interesting data
<Infinisil> Agreed
cement has quit [(Ping timeout: 260 seconds)]
<Sonarpulse> It would be interesting to write our own shlell
<Sonarpulse> monadic nix
m0rphism has joined #nixos
<Sonarpulse> foo bar ${normal nix} baz
<LnL> and then people complain because it breaks with a bash version from 20 years ago :p
<Sonarpulse> :D
<Sonarpulse> OTOH it's good to do as little thinking at build time as possible
<Sonarpulse> plan, than execute!
<Sonarpulse> the rarely-followed mantra of sane build systems
<Infinisil> execute -> fail -> do a bit of planning -> fail again -> stay up til 5am in frustration -> give up
<LnL> lol
justelex has quit [(Quit: Konversation terminated!)]
justelex has joined #nixos
zeus_ has quit [(Read error: Connection reset by peer)]
<Sonarpulse> lol
zeus_ has joined #nixos
<simpson> Infinisil: You need to find a structure. Plan, discuss, negotiate, build, regret.
<simpson> Chaos, discord, confusion, bureaucracy, the aftermath.
<LnL> for me it usually ends with -> wake up -> fix 1 typo -> success
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/v7av8
<NixOS_GitHub> nixpkgs/master 264d664 Robin Gloster: privoxy: fix weird use of STRIP in the Makefile
NixOS_GitHub has left #nixos []
justelex has quit [(Ping timeout: 276 seconds)]
* ToxicFrog gnaws unhappily on Nix. I just want to write my own package definitions and use them from both Nix and NixOS without having to keep a complete checkout of nixpkgs! This shouldn't be this hard!
<Infinisil> ToxicFrog: nix-build -E '(with import <nixpkgs> {}).callPackage path/to/nixpkgs/like/package.nix {}'
<tilpner> ToxicFrog - You just want to add your own packages? Does an overlay work?
nschoe has quit [(Ping timeout: 255 seconds)]
<ToxicFrog> Infinisil: to expand on this somewhat, I want to override some packages and have those overrides take precedence over the versions in <nixpkgs> (so, nixpkgs.config.packageOverrides)
<ToxicFrog> And I want to write some new packages from scratch
<ToxicFrog> and I want to be able to re-use all that work on a system that just has Nix installed, not NixOS.
<LnL> nixpkgs.config = import /path/to/nixpkgs/config.nix
<ToxicFrog> tilpner: the Nix manual is silent on this topic. What's an overlay?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 11 new commits to master: https://git.io/v7afV
<NixOS_GitHub> nixpkgs/master 0c37778 John Ericson: cc-wrapper: WIP linking hack for mac OS...
<NixOS_GitHub> nixpkgs/master 9242c8b John Ericson: cc-wrapper: Use two scripts instead of patch
<NixOS_GitHub> nixpkgs/master 1cd74ac John Ericson: cc-wrapper: Make sure symbol tables of child delegators is not empty...
NixOS_GitHub has left #nixos []
<ToxicFrog> LnL: without having a checkout of nixpkgs that I need to keep in sync across multiple machines.
<tilpner> ToxicFrog - A prettier generalisation of packageOverrides. What you describe should be possible with them
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #27536: Linking hack for macOS Sierra (master...appease-sierra-linker) https://git.io/v7Uvz
NixOS_GitHub has left #nixos []
<LnL> yes, you don't need a nixpkgs checkout to use overlays/packageOverrides
<ToxicFrog> tilpner: that sounds like exactly what I'm looking for.
<tilpner> ToxicFrog - I'd try to walk you through it, but I'm about to install NixOS to install NixOS, so... I'll not be on IRC for a while :/
<ToxicFrog> ...aah, they're in the nixpkgs manual, not the nixos or nix manuals
<ToxicFrog> tilpner: no worries, I'll futz around with it for a bit and see if I can get it working
<ToxicFrog> And if not it's all in git, so
<ToxicFrog> Thanks for the pointer!
<clever> LnL: and now ive found a bug in either git or glibc, causing deadlocks that ignore all signals: https://gist.github.com/cleverca22/b8c04ac38a05660539a9b2157a9fa0d7
<LnL> oh!
<LnL> that's not good
<clever> the reason i noticed, is because it was ignoring a dead child
<clever> i think the sigchild was ignored, and it never ran waitpid()
<Infinisil> Lol
<clever> it has been waiting for a rotting child to die since july 11th
<Infinisil> You should RIIR
<clever> and the zombie apocalypse is already starting, i found 2 such instances on the server
<clever> Infinisil: RIIR?
zennist has joined #nixos
<Infinisil> clever: Rewrite It In Rust :P The known solution for every one of ones programming problems /s
<clever> lol
<clever> ive also run into a more difficult problem
<clever> how do i google the git repo, for git!
<clever> ah, git/git on github for git
<LnL> git*git*git*git
<clever> at a glance, i think it will just undo the partial "git clone" upon receiving any signal (maybe even sigchld?)
zennist has quit [(Ping timeout: 260 seconds)]
<clever> and that involves malloc in the signal context
<gchristensen> isn't that unsafe?
<clever> yes
<clever> gchristensen: check the backtrace i linked ~10mins ago
<LnL> isn't that why we're talking about it? :p
<clever> gchristensen: malloc hangs on a mutex, and sending any signal, causes another nested malloc, to hang on the same mute
<clever> x
<clever> this git process has been deadlocked since july 11th
<clever> over 3 weeks
<gchristensen> oh sorry I didn't read the scroll back
mguentner has quit [(Quit: WeeChat 1.9)]
<clever> aha, i think i found an un-documented hole in glibc
<clever> git is using opendir to implement its rm -rf
<clever> opendir calls malloc
<clever> the man page makes no mention of that
<clever> so its not safe to do opendir in a signal handler!
<clever> though given that opendir returns a DIR*, you can probably expect it to do so
<Sonarpulse> urg
<Sonarpulse> I just borked eval
<Sonarpulse> absent mindedly
<LnL> also, those changes don't rebuild anything?
<clever> hmmm, reading the .bash_history, i sent it 3 signals while debugging, and i see 3 signal handlers in the backtrace
<Sonarpulse> recurseForDerivations
<clever> that implies it was hung at __read_nocancel for over 3 weeks, and the deadlocking was a side-effect of __read_nocancel not handling signals right
<Sonarpulse> isn't enough to make my hydra job appear?
erictapen has joined #nixos
requisitebits has joined #nixos
<clever> Sonarpulse: try loading the release.nix in nix-repl and eval the job's attribute?
<Sonarpulse> clever: I did
<gchristensen> pierron: wow! cool!
NightTrain has joined #nixos
hiratara has quit [(Ping timeout: 246 seconds)]
joehh has joined #nixos
<clever> the strbuf_getwholeline in frame 27 is reading up to the first \n in a given FILE*
hiratara has joined #nixos
<joepie91> copumpkin: clever: I've been attempting to do an overrideAttrs, but it seems impossible for oraclejdk8distro due to how it's structured: https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/all-packages.nix#L5709-L5712
<joepie91> any suggestions?
<joepie91> (input from anybody else also welcome)
<copumpkin> why impossible?
<LnL> what's the problem, are you on another platform?
<clever> joepie91: if you pass it the required 2 booleans, it should return a derivation that can be overridden
<joepie91> appendToName appears to produce a string?
<clever> joepie91: oraclejdk8 is an attr that has already done so
<clever> joepie91: appendToName is a function that takes a derivation, and applies an override to its .name field
<clever> but if pluginSupport is false (like in oraclejdk8), it skips that entirely
<joepie91> oh, I misread appendToName's code
<joepie91> hold on
<joepie91> clever: this concerns plugins, so appendToName definitely is called
<clever> ah, but it should still be a derivation returned
<joepie91> breaks for reasons that are unclear to me: https://gist.github.com/joepie91/f981bf19bf8ad5aafa097a1917feee0b
<joepie91> oh
<joepie91> hold on
<joepie91> I'm overriding the wrong thing
<joepie91> clever: now breaks in a different way while overriding the right thing; https://gist.github.com/joepie91/f981bf19bf8ad5aafa097a1917feee0b
<joepie91> unless there's something I'm missing here
dbmikus has quit [(Quit: WeeChat 1.9)]
<clever> joepie91: overrideAttrs needs a function
<clever> attempt to call something which is not a function but a set, at
<LnL> foo.overrideAttrs (drv: { ... })
<clever> yeah, that
<LnL> that allows you to refer to the current values, hello.overrideAttrs (drv: { name = "${drv.name}-foo"; })
<joepie91> ... d'oh
<joepie91> yeah, now it builds...
<joepie91> thanks :P
<Sonarpulse> can someone help me debug my eval breakage of master?
<Sonarpulse> !
<LnL> what's the problem?
<LnL> I'm seeing a ++ in the diff of all-packages
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/v7aLu
<NixOS_GitHub> nixpkgs/master 8f141b2 Michael Weiss: androidenv: Update all packages using fetch.sh
NixOS_GitHub has left #nixos []
<Sonarpulse> LnL: that's fine
<Sonarpulse> that's me dealing with a fake merge conflict
<Sonarpulse> the issue is darwin-tested
<Sonarpulse> LnL: basically I stuck it at the ned
<Sonarpulse> *end
<Sonarpulse> and somebody else stuck something else at the end
<Sonarpulse> LnL: the diff I pasted
<LnL> yeah the content looks fine
<Sonarpulse> I thought would fix it
<Sonarpulse> but then jobs.tests.macOSSierraShared == {}
<joepie91> I hope this is all going to fit onto my laptop's HDD...
<Sonarpulse> which is odd
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Zimmi48 opened pull request #27918: Coq update (master...coq-update) https://git.io/v7aLQ
NixOS_GitHub has left #nixos []
<gchristensen> " The membership plan could amplify Mozilla’s voice. You’d get services from Mozilla, not just a browser, and the nonprofit would get your membership fees and firm backing — something akin to what the National Rifle Association or the AARP enjoy." this is neat
<LnL> Sonarpulse: that's the darwin only jobs issue
<Sonarpulse> LnL: ooooo
<LnL> x86_64-linux is used to determine the attributes
<LnL> so it gets filtered out
<LnL> you can explicitly set it to darwin in release.nix
<Sonarpulse> thanks so much!
<Sonarpulse> LnL: why isn't that merged?
<Sonarpulse> I got confused and thought matthewbauer couldn't
<Sonarpulse> but surely you could, LnL?
joehh has quit [(Ping timeout: 276 seconds)]
silver_hook has quit [(Ping timeout: 276 seconds)]
<LnL> I like dezeg's idea a lot better
<LnL> didn't get around to that yet
<Sonarpulse> ah
<Sonarpulse> ok
<LnL> and if we add everything from the darwin attribute I also want to make sure everything has the correct license
<Sonarpulse> LnL: so someone just needs to unbreak Dezgeg's WIP branch?
<Sonarpulse> I'd do that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] taktoa opened pull request #27919: Improved nixos-option manpage (master...taktoa/man-nixos-option) https://git.io/v7atB
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 1 new commit to master: https://git.io/v7aty
<NixOS_GitHub> nixpkgs/master 8b02483 John Ericson: darwin-test-channel: I broke it a bit adding macos-sierra-shared...
NixOS_GitHub has left #nixos []
<Sonarpulse> LnL: I pushed that diff
<Sonarpulse> but... I'm sort of OCD about these things
<Sonarpulse> Dezgeg's was diff small so I could simply do that instead of opening the floodgates of random ad-hoc stuff in there
<Sonarpulse> for non-linux
<LnL> huh, that's enough?
<LnL> tests.macOSSierraShared # => { }
<LnL> you need both recurseIntoAttrs and tests.macOSSierraShared = darwin;
<Sonarpulse> LnL: it's not enough
<Sonarpulse> I figured the `tests.macOSSierraShared = darwin` should be separate commit as it's the first such hack in there
<Sonarpulse> or I'd just rebase Dezgeg's
justelex has joined #nixos
<Sonarpulse> if it's not controversial
<LnL> it's probably fine if you don't include the recurseIntoAttrs for the darwin attribute
giorgiolando has quit [(Ping timeout: 260 seconds)]
<hodapp> package for live-coding GLSL... put it in development/tools, or development/tools/misc, or elsewhere?
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
<globin> Sonarpulse == Ericson2314?
cornfeedhobo has quit [(Ping timeout: 248 seconds)]
<Sonarpulse> globin: haha yes
<Sonarpulse> an unnecessary confusing I'll need t ofix
<gchristensen> you can tell b/c ericson2314's avatar says sonar pulse
<Sonarpulse> LnL I'll just leave the recurseForDerivations to be ready for the real fix
<gchristensen> also it is literally sonar
<globin> Sonarpulse: ah %) and I was wondering why you were asking me about the cc-wrapper stuff \o/
<Sonarpulse> hehehe
hellrazor has joined #nixos
<globin> Sonarpulse: now I know who to ping
<globin> Sonarpulse: btw any idea on the ld SIGSEGV?
<Sonarpulse> globin: I don't :(
<Sonarpulse> I'm sort of drowning in concurrent thins atm
<Sonarpulse> I've gottened pinged on a number of git-blames :/
<globin> I thought that might've been you, too :]
<globin> aah or I think we might've had the binutils update at the same time
<Sonarpulse> oh really?
<Sonarpulse> that would make more sense than anything I did
erictapen has quit [(Ping timeout: 240 seconds)]
<globin> yep
<Sonarpulse> my new env vars can cause problems
<Sonarpulse> but not segfaults
<globin> let me have a look.. I actually create its own jobset for there reasons
<globin> s/there/these
<globin> seems to be that..
ebzzry__ has joined #nixos
cornfeedhobo has joined #nixos
arximboldi has joined #nixos
eschnett has quit [(Quit: eschnett)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 1 new commit to master: https://git.io/v7aOJ
<NixOS_GitHub> nixpkgs/master 1ad0eae John Ericson: darwin-tested channel: Fix eval
NixOS_GitHub has left #nixos []
<ToxicFrog> I just love it when nixos-rebuild tells me "infinite recursion detected" but when I ask it for a trace none of the files it cites actually contain my code
<clever> ToxicFrog: one of those files is manipulating a function that came from your code, the traces suck
<clever> ToxicFrog: if you gist what you changed recently i could take a peek
pie_ has quit [(Read error: Connection reset by peer)]
<ToxicFrog> clever: I'm trying to convert my packageOverrides to overlays, it's a bit much to gist :/
<ToxicFrog> I'll keep poking at it
pie_ has joined #nixos
<clever> ToxicFrog: ah, make sure an override doesnt refer to self when trying to modify itself
hamishmack has quit [(Quit: hamishmack)]
<clever> foo = self.foo.override will fail
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
<clever> it must use super
<ToxicFrog> Yeah, that was the first thing I checked, and I found a case of that and fixed it, but it's still happening.
<ToxicFrog> So I've probably missed one somewhere :/
<clever> and dont reference pkgs anywhere
<ToxicFrog> using self to pull in dependencies is still ok though, right?
<clever> yeah
justelex has quit [(Excess Flood)]
justelex has joined #nixos
mounty has quit [(Ping timeout: 240 seconds)]
<ToxicFrog> Hrm. Ok, so it looks like the problem is that you can't go, for example, `{ pidgin, ...}: { bitlbee, ...}: { bitblee = bitlbee.overrideAttrs (...); }
<ToxicFrog> I changed that to `self: super: { bitlbee = super.bitlbee.overrideAttrs (...) }` and I no longer get the infinite recursion.
<ToxicFrog> Except...my overlay doesn't seem to be taking effect.
<ToxicFrog> If I do a `nixos-rebuild --dry-build`, it shows it building the non-overlaid versions of the packages I'm overriding.
endformationage has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to openssl-1.1: https://git.io/v7a3L
<NixOS_GitHub> nixpkgs/openssl-1.1 b1f2f94 Robin Gloster: Merge remote-tracking branch 'upstream/master' into openssl-1.1
NixOS_GitHub has left #nixos []
<clever> ToxicFrog: what did you modify inside the overrideAttrs ?
joehh has joined #nixos
<ToxicFrog> clever: I have a bunch of overrides; in some I override src, in others postPatch, preBuild, configureFlags, and/or nativeBuildInputs
<ToxicFrog> But in each case I also modify the name to make it clear that a modified version is being built
<ToxicFrog> And none of the stuff dry-build says it's going to be build uses the modified names.
wigust has quit [(Ping timeout: 240 seconds)]
<ToxicFrog> Says it's going to build bitlbee-3.5.1 rather than bitlbee-libpurple, for example.
justelex has quit [(Ping timeout: 260 seconds)]
<clever> ToxicFrog: find the path for the final .drv file in the tree, then run nix-store -qR on that drv
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v7a3C
<NixOS_GitHub> nixpkgs/master 4a93ce1 Marius Bergmann: journalbeat: 5.4.1 -> 5.5.0
<NixOS_GitHub> nixpkgs/master 3badb04 Jörg Thalheim: Merge pull request #27914 from mbrgm/upgrade-journalbeat...
NixOS_GitHub has left #nixos []
<clever> ToxicFrog: then search it for both versions of bitlbee
wigust has joined #nixos
<ToxicFrog> As in, do nixos-rebuild build (rather than dry-build), then look for the drv?
<ToxicFrog> I will do that once I'm done powering down the toddlebot.
markus1189 has joined #nixos
<Infinisil> Oh my god, yet again I used ls instead of ln and wondered why no link was created..
<clever> i always do ln -sv
silver_hook has quit [(Ping timeout: 240 seconds)]
<clever> the -v makes things more obvious when it works
<Infinisil> Yeah
zennist has joined #nixos
<Sonarpulse> gchristensen: following up on the other PR https://github.com/NixOS/nixpkgs/pull/27672
<Sonarpulse> I did indeed `set -u` it!
hellrazor has quit [(Quit: WeeChat 1.9)]
markus1199 has quit [(Ping timeout: 240 seconds)]
zennist has quit [(Ping timeout: 240 seconds)]
<ToxicFrog> Oh, a thought -- does nixos-rebuild respect NIX_PATH or do I need to set config.nixpkgs.overlays?
<clever> ToxicFrog: nixos-rebuild wont load overlays from the path
<clever> ToxicFrog: nixpkgs.overlays in configuration.nix
<ToxicFrog> That would be the problem, I suspect
* ToxicFrog does the thing
<Infinisil> Zhu Li! Do the, uhh, the thing!
* Infinisil hopes that someone gets that reference
<globin> Sonarpulse: what is hardening_unsupported_flags for?
<Sonarpulse> globin: where?
<Sonarpulse> oh the @@
<Sonarpulse> that is some thing from default.nix I guess
<Sonarpulse> system-wide stuff I suppose
hamishmack has joined #nixos
<joepie91> apparently not having a mouse crashes KWin...?
<joepie91> this is, uh, interesting
<globin> Sonarpulse: oh I thought that was new, but actually is from when we wrote it
<Sonarpulse> yeah
<ToxicFrog> Infinisil: where do you think I got that phrase from?
<Sonarpulse> globin: gosh I'm so fried right now I forgot you wrote it :)
<Sonarpulse> globin: can I make you a reviwer on my two PRs? :D
earldouglas has quit [(Quit: leaving)]
earldouglas has joined #nixos
<globin> Sonarpulse: just looked through that 27672 and looks good to me, but haven't really touched anything outside the hardening in the wrappers
<Sonarpulse> globin: +D
<Sonarpulse> *+1
zeus_ has quit [(Read error: Connection reset by peer)]
<Sonarpulse> I'm confusing my emojis
* Sonarpulse is quite fried
earldouglas has quit [(Client Quit)]
zeus_ has joined #nixos
<Sonarpulse> thanks!
erasmas has quit [(Quit: leaving)]
<globin> !m Sonarpulse
<[0__0]> You're doing good work, Sonarpulse!
hiratara_ has joined #nixos
<Infinisil> ToxicFrog: :D
<Infinisil> How efficient are nixos containers?
<ToxicFrog> (my partner and I will in fact occasionally say that to one another when the thing needs to be done)
hiratara has quit [(Ping timeout: 246 seconds)]
hiratara_ is now known as hiratara
<globin> Sonarpulse: have cross compiled darwin -> linux
<Sonarpulse> that's a question?
<Sonarpulse> I haven't yet
<globin> yep
<Sonarpulse> turns out I apparented broke gcc on darwin :O
<Sonarpulse> the infra though is tantilizingly close
<Sonarpulse> I know now that libSystem is impure
<globin> Sonarpulse: have some colleagues who are interested in building docker images with dockerTools on darwin
<Sonarpulse> hmmm
<globin> Sonarpulse: yep they noticed the broken gcc today when hacking around on the cross compiling %)
<Sonarpulse> oh!
<Sonarpulse> after those two cc-wrapper PRs comes that
<Sonarpulse> (need to rebase it on top)
<Sonarpulse> *then* the foundation is there
<Sonarpulse> that 3rd PR has some manual changes
<globin> yeah I reviewed that one already :)
<Sonarpulse> I saw!
<Sonarpulse> globin: We have done impure macos->ios cross
<Sonarpulse> though
<Sonarpulse> with ghc
zennist has joined #nixos
earldouglas has joined #nixos
digitus has quit [(Quit: digitus)]
zennist has quit [(Ping timeout: 255 seconds)]
earldoug1as has joined #nixos
earldouglas has quit [(Ping timeout: 240 seconds)]
rpifan has joined #nixos
earldoug1as has quit [(Client Quit)]
earldouglas has joined #nixos
<taktoa> anyone know why we still handle these deprecated options in the perl source of hydra: https://github.com/NixOS/hydra/blob/master/src/hydra-queue-runner/hydra-queue-runner.cc#L97-L104
<taktoa> is it just to avoid breaking BC?
<globin> taktoa: still used in the perl bits
<taktoa> (IMO, hydra is an application that probably shouldn't worry about BC other than database migrations, since it's so hard to deploy that the average user is probably capable of handling a BC break)
<Sonarpulse> gchristensen: good catch
<Sonarpulse> github ate the diff booo
<taktoa> globin: yeah, I know, I'm saying that we should refactor the perl to not use those options anyway
<taktoa> or is it like the perl mutates the parsed configuration with those options
<taktoa> in which case I'd say that we should assert that those config options aren't in the unmodified parsed config
<globin> taktoa: yeah the perl needs refactoring, but that needs someone who has the time :)
earldoug1as has joined #nixos
earldouglas has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to release-17.03: https://git.io/v7aca
<NixOS_GitHub> nixpkgs/release-17.03 d724125 John Ericson: backport haskell infra: Misc cleanups...
<NixOS_GitHub> nixpkgs/release-17.03 9217fc2 John Ericson: cc-wrapper: Backport sierra reexport hack and test
NixOS_GitHub has left #nixos []
<taktoa> globin: I'm very tempted to just rewrite Hydra :)
takle has quit [(Remote host closed the connection)]
<taktoa> clever: yes, I know
<taktoa> ("rewrite hydra" = work on hercules, I guess)
arximboldi has quit [(Quit: arximboldi)]
ambro718 has quit [(Ping timeout: 240 seconds)]
<taktoa> hmm, anyone know of a way to write foldr1 (the Haskell function) in terms of foldr (in Nix)
<taktoa> the reverse seems much easier ...
dywedir has joined #nixos