gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
<Drakeson> I am merely curious to see what the process from upstream to nixpkgs-unstable, and then nixpkgs-unstable to nixos-unstable is.
<sphalerite_> Drakeson: the nixos test suite in nixpkgs/nixos/tests
<nixer> unless you want to feel the breeze of archwayism..
* tilpner really needs finer control over what is being GCed
civodul has quit [Ping timeout: 240 seconds]
Itkovian has quit [Ping timeout: 256 seconds]
<sphalerite_> tilpner: nix-store --delete gives you very fine control ;)
<Drakeson> nixer: Oh, never! I love the arch community (the best place to seek help about any linux distros is, quite honestly, the arch community). But I have never fealt the need to run Arch itself myself anywhere.
<tilpner> sphalerite_ - That's too fine! :s
<tilpner> sphalerite_ - I want something like "delete everything built from a file at this path"
Itkovian has joined #nixos
<Drakeson> sphalerite: Sorry, that confused me. The nixos test (nixpkgs/nixos/tests) is run in which step? Upstream -> nixpkgs-unstable or nixpkgs-unstable -> nixos-unstable?
<tilpner> Because right now every nix-build adds 400MB to the store, and that forces me to GC things I wanted to keep
Itkovian has quit [Client Quit]
notdaniel has quit [Quit: Leaving]
<nixer> Drakeson: It was merely a reference to old official slogan of Arch/RU, which, translated, sounds like "No depression... until fresh updates."
<Drakeson> What is/was RU?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vN1px
<NixOS_GitHub> nixpkgs/master eff73c6 Joachim Fasting: tor-browser-bundle-bin: 7.0.11 -> 7.5
NixOS_GitHub has left #nixos [#nixos]
digitus has quit [Quit: digitus]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Infinisil opened pull request #34310: zncModules: backlog init at 2017-06-13 (master...add/znc-backlog) https://git.io/vN1hf
NixOS_GitHub has left #nixos [#nixos]
simukis has quit [Ping timeout: 256 seconds]
<Drakeson> What are those build numbers in hydra? Are they temporal snapshots or is a hydra build started after each git push?
<simpson> It's literally just an incrementing serial number for the build.
<Drakeson> Yeah, I mean what *triggers* a new build? a git push or mere passage of time?
<nixer> Drakeson: archlinux.org.ru
<simpson> It polls the git repositories for changes, so effectively on push,yes.
fyuuri has quit [Ping timeout: 256 seconds]
henk has quit [Ping timeout: 256 seconds]
<schoppenhauer> hi. is it possible to install torbrowser and normal firefox at the same time? because I get a collision. because the torbrowser package wants to install a binary named "firefox"
<coconnor> schoppenhauer: one option is to create an alias (via writeShellScriptBin) and add that to system env (or user env as the case may be)
<coconnor> unchecked, but I think it would look like makeShellScriptBin "torbrowser" "exec ${pkgs.torbrowser}/bin/firefox \"$@\""
<coconnor> I hope there is a better option tho haha
CapsAdmin has quit [Read error: Connection reset by peer]
<magnetophon> schoppenhauer: that's odd. I have both installed, and can just run tor-browser or firefox
<schoppenhauer> magnetophon: which package did you install? i only find tor-browser-unwrapped, and it has no command tor-browser
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #34311: Monero (master...monero) https://git.io/vN1jg
NixOS_GitHub has left #nixos [#nixos]
<magnetophon> schoppenhauer: the pkg is called torbrowser and the binary (actually it's a script) is called tor-browser
<schoppenhauer> magnetophon: is it unstable?
<schoppenhauer> "error: selector ‘torbrowser’ matches no derivations"
sud0x3 has joined #nixos
erasmas has quit [Quit: leaving]
<magnetophon> schoppenhauer: do you mean to ask if the package is stable, or if it's in nixos-nstable?
<schoppenhauer> magnetophon: yes.
<magnetophon> schoppenhauer: A or B? -> yes. ??????
<schoppenhauer> magnetophon: sorry misread your question. yes, is it in nixos-unstable?
<nixer> excuse me, from tor-browser-unwrapped description: "It will clash with firefox binary if you install both. But its not a problem since you should run browsers in separate users/VMs anyway."
ixxie has quit [Ping timeout: 256 seconds]
<magnetophon> schoppenhauer: yes it is, but iirc, when I was running nixos-stable it was also called that
goibhniu has quit [Ping timeout: 268 seconds]
<magnetophon> schoppenhauer: are you running "nix-env -iA nixos.torbrowser"?
<schoppenhauer> magnetophon: ah, it is called tor-browser-bundle
<schoppenhauer> magnetophon: I was running nox torbrowser
<schoppenhauer> magnetophon: and nox doesnt find the tor-borwser-bundles, somehow
<schoppenhauer> nixer: having a separate user is very annoying
oborot has joined #nixos
zzamboni has quit [Quit: Leaving.]
<oborot> Tried nixos-rebuild switch --upgrade after adding the unstable channel
<oborot> But it didn't seem to upgrade?
<magnetophon> schoppenhauer, nixer: doesn't seem to be needed here. The tor-browser script calls firefox, but it's in $out/share/tor-browser/firefox so it's noth in $PATH, hence no conflict. iiuc
<oborot> I'm on 17.03 currently
<oborot> Trying to upgrade to 17.09
henk has joined #nixos
<samueldr> oborot: did you add the unstable channel or replace the nixos channel to use the URL for unstable?
glenn_ has joined #nixos
<oborot> samueldr: Here's what I ran:
<samueldr> by default, nixos-rebuild will use the superuser (root)'s channels list, and will rebuild using the channel called nixos
<samueldr> run nix-channel --list and sudo nix-channel --list
<samueldr> you (unless you did it using sudo) added a channel to your user
<oborot> Ah
<oborot> That was it
<oborot> Thanks!
<schoppenhauer> magnetophon: thank you!
astsmtl has joined #nixos
astsmtl has joined #nixos
<magnetophon> schoppenhauer: yw
alunduil has joined #nixos
nickray has joined #nixos
spear2 has joined #nixos
leat has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vNMep
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master b5dbc83 Graham Christensen: Merge pull request #34299 from fgaz/meme...
<NixOS_GitHub> nixpkgs/master 056e74d Francesco Gazzetta: meme: init at 2017-09-10
ixxie has joined #nixos
dejanr has quit [Ping timeout: 256 seconds]
ottidmes has quit [Ping timeout: 256 seconds]
ryanartecona has joined #nixos
bpa has quit [Remote host closed the connection]
cross has joined #nixos
Phlogistique has quit [Ping timeout: 264 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 70a9162 Sarah Brofeldt: Merge pull request #34267 from catern/chromesimple...
<NixOS_GitHub> nixpkgs/master 4aab591 Spencer Baugh: google-chrome: remove "with" usage to simplify the expr...
<NixOS_GitHub> [nixpkgs] srhb pushed 2 new commits to master: https://git.io/vNMTk
NixOS_GitHub has left #nixos [#nixos]
notdaniel has joined #nixos
grw has quit [Ping timeout: 276 seconds]
freeman42x[NixOS has quit [Ping timeout: 256 seconds]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/4c3c0e824aa (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master c6b828b Markus Kowalewski: rdma-core: init at 16.1
<NixOS_GitHub> [nixpkgs] srhb pushed 2 new commits to master: https://git.io/vNMTr
<NixOS_GitHub> nixpkgs/master 7f1c5a1 Sarah Brofeldt: Merge pull request #34093 from markuskowa/rdma-core-pr...
NixOS_GitHub has left #nixos [#nixos]
grw has joined #nixos
Phlogistique has joined #nixos
nixer has quit [Quit: Konversation terminated!]
freeman42x[NixOS has joined #nixos
sigmundv_ has joined #nixos
BlessJah has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lopsided98 opened pull request #34312: cpupower, pciutils: enable cross compiling (master...cpupower-pciutils-cross) https://git.io/vNMk1
NixOS_GitHub has left #nixos [#nixos]
ixxie has quit [Quit: Lost terminal]
ryanartecona has quit [Quit: ryanartecona]
leat has joined #nixos
BlessJah has joined #nixos
magnetophon has quit [Ping timeout: 248 seconds]
johnsonav has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #34313: glibc: Remove two tiny old cross hacks (master...glibc-cross) https://git.io/vNMIu
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #34315: lib: Platform attribute cleanup (master...lib-system-cleanup) https://git.io/vNMIw
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #34313: glibc: Remove two tiny old cross hacks (master...glibc-cross) https://git.io/vNMIu
NixOS_GitHub has left #nixos [#nixos]
Myrl-saki has quit [Ping timeout: 252 seconds]
johnsonav has joined #nixos
nuncanada has quit [Remote host closed the connection]
nuncanada has joined #nixos
Myrl-saki has joined #nixos
akapav has quit [Ping timeout: 276 seconds]
Supersonic112 has quit [Disconnected by services]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
mizu_no_oto has joined #nixos
ThatDocsLady has joined #nixos
duckwho has quit [Quit: WeeChat 2.0.1]
nuncanada has quit [Ping timeout: 256 seconds]
akapav has joined #nixos
<benley> anyone happen to know if it would be hard to get emacs 26.whateverscurrent working in nixpkgs?
<benley> I was a bit surprised to find that it isn't in there already
markus1199 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to master: https://git.io/vNMLr
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 57b01b1 John Ericson: lib, openssl: Get rid of openssl.system...
<NixOS_GitHub> nixpkgs/master 16a50f5 John Ericson: lib: Remove examples platforms' `bigEndian` attr...
markus1189 has quit [Ping timeout: 248 seconds]
thc202 has quit [Ping timeout: 252 seconds]
mattyu has quit [Quit: Done]
<gchristensen> I'm getting ready to open up @grahamcofborg to many more people, to take advantage of build capacity. If you're interested, please read and provide your feedback to https://github.com/NixOS/ofborg/issues/30
babyflakes has quit [Quit: Connection closed for inactivity]
silver has quit [Read error: Connection reset by peer]
d4g has joined #nixos
d4g_ has quit [Ping timeout: 252 seconds]
sud0x3 has quit [Ping timeout: 256 seconds]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
s33se has joined #nixos
s33se_ has quit [Ping timeout: 256 seconds]
mbrgm has quit [Ping timeout: 268 seconds]
mbrgm_ has joined #nixos
mbrgm_ is now known as mbrgm
<coconnor> huh! I didn't even know there was an emacs 26 (or 27)
<coconnor> according to the github the upcoming release is 27
<coconnor> though according to https://www.gnu.org/software/emacs/history.html the latest is 25.3
defau1t has joined #nixos
glenn_ has quit [Ping timeout: 252 seconds]
defau1t is now known as defau1t0
<defau1t0> Hey I have a kernel compilation question for someone. I have a configuration.nix file 7,281 lines long, 99% taken up by configuration changes for the linux kernel and won't nixos-rebuild since that's too long for bash. Could including a file help?
<defau1t0> ie. extract config changes to a kernconfig.nix file and include it
athan has joined #nixos
<samueldr> not sure that it will help, but configuration.nix can be split up in multiple files
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b5dbc83b9c9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
<samueldr> in the first example in 5.3 https://nixos.org/nixos/manual/#sec-modularity
<samueldr> there is an example of `imports`, which may be what you could use defau1t0
<defau1t0> Okay I'll try that out, thanks :)
<samueldr> imports may help otherwise in keeping configuration.nix sane and splitting services
`_ has joined #nixos
<defau1t0> Dang, still too long
<samueldr> yeah, I would have been surprised if it did work
<samueldr> what's so long?
magnetophon has joined #nixos
<samueldr> the .config file?
<defau1t0> the config.nix file. Is there a way to import a kernel config file directly?
<samueldr> how are you configuring the kernel?
<samueldr> I'm not an expert, but looking at *something* may trigger a dormant memory :)
<defau1t0> I'm using https://pastebin.com/Vhs5S0R7
<defau1t0> And I'm basically copying the entire config file and disabling things. Trying to minimize the kernel for a class
swayf has quit [Remote host closed the connection]
<defau1t0> Oop I'm an idiot, had "CONFIG_" in front of every change lol
<samueldr> oh, yeah, nixos' configuration for the kernel is not the same syntax, also make sure it's not `NAME=y` but `NAME y`
`_ has quit [Ping timeout: 264 seconds]
`_ has joined #nixos
glenn_ has joined #nixos
iyzsong has joined #nixos
`_ has quit [Ping timeout: 248 seconds]
mrkgnao has joined #nixos
sigmundv_ has quit [Ping timeout: 256 seconds]
<defau1t0> Mhmm, thanks samueldr :)
<samueldr> you're welcome
steshaw has quit [Quit: Connection closed for inactivity]
<taohansen> i want to import <nixpkgs> and default.nix for a derivation i've composed. `with import [ <nixpkgs> ./default.nix ] rec {};` results in "cannot coerce a list to a string"
<taohansen> here's the composed derivation in full: https://gist.github.com/taohansen/da1a462b7284c25d3f59493bd7fc781a
iyzsong has quit [Ping timeout: 268 seconds]
<lopsided98> taohansen: you can't import a list of items, you have to import each file separately
uncleGary has joined #nixos
<uncleGary> Can someone please tell me what the right way is to add a PATH/environment variable in Nixos?
<taohansen> lopsided98: what would that look like? i've separated them and i'm still returning the same error
<lopsided98> I think this should work: "with import <nixpkgs> {}; with import ./default.nix {};"
<taohansen> lopsided98: it appears there's something else at work, even reducing it to a single with import results in the same error.
<taohansen> literally any `with import` in my derivation file results in this error
<taohansen> oh wait a moment it's the square brackets
<coconnor> uncleGary: environment.variables is one way
stepcut has quit [Remote host closed the connection]
<lopsided98> taohansen: yeah, square brackets define a list, and import expects a string/path
deets has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #34316: distrho: Fix build on non x86_64 platforms (master...distrho-non-x86_64) https://git.io/vNMO4
NixOS_GitHub has left #nixos [#nixos]
<taohansen> lopsided98: gotcha, thanks
jdrowell has quit [Quit: Leaving]
paolino_ has quit [Ping timeout: 265 seconds]
paolino_ has joined #nixos
verite has joined #nixos
sevcsik1 has quit [Read error: Connection reset by peer]
<uncleGary> coconnor: I've tried adding 'environment.variables = {...}' and 'environment.profileRelativeEnvVars = {..} and I'm not seeing any change in echo $PATH after nixos-rebuild switch
schoppenhauer has quit [Ping timeout: 260 seconds]
<uncleGary> Ah okay, the right combination on like the tenth rebuild is 'environment.profileRelativeEnvVars = { PATH = [ "<pathToAdd>" ]; };
schoppenhauer has joined #nixos
notdaniel has quit [Quit: Leaving]
jb55 has joined #nixos
Drakonis has quit [Ping timeout: 240 seconds]
<stqism> I'm getting a fun nix error after an OS update, error: cannot kill processes for uid ‘30001’: failed due to signal 9 (Killed: 9)
<stqism> I'm on Darwin though
<benley> coconnor: I guess 25.x is "stable" and 26 is dev or something?
<benley> I'm new to the emacs realm, I don't know things
<stqism> any like, suggestions on the nix front? I've also asked in #nix-darwin
babyflakes has joined #nixos
uncleGary has quit [Quit: Page closed]
Kim has quit [Quit: WeeChat 2.0.1]
Kim has joined #nixos
Kim has quit [Quit: WeeChat 2.0.1]
Kim has joined #nixos
Kim has quit [Client Quit]
bfrog has joined #nixos
aarvar has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34298: distrho: 2017-10-10 -> 2018-01-01 (master...distrho) https://git.io/vNX1Q
NixOS_GitHub has left #nixos [#nixos]
Rusty1_ has quit [Quit: Konversation terminated!]
Myrl-saki has quit [Quit: WeeChat 1.9.1]
Myrl-saki has joined #nixos
Kim has joined #nixos
defau1t0 has quit [Ping timeout: 260 seconds]
oborot has quit [Ping timeout: 268 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
iyzsong has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vNMGh
<NixOS_GitHub> nixpkgs/master f686b90 adisbladis: sbcl: 1.4.2 -> 1.4.3
NixOS_GitHub has left #nixos [#nixos]
srdqty has quit [Quit: WeeChat 1.9.1]
steshaw has joined #nixos
Arcaelyx has quit [Quit: Textual IRC Client: www.textualapp.com]
MP2E has quit [Remote host closed the connection]
defau1t has joined #nixos
MP2E has joined #nixos
tertleeltret has quit [Quit: Connection closed for inactivity]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #34317: fac: 1.0.1 -> 1.0.4, add man page (master...update/fac-1.0.4) https://git.io/vNMZi
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cumber opened pull request #34318: mono{48,50,54}: make sure configureFlags are used in configurePhase (master...fix/mono-use-configure-flags) https://git.io/vNMZb
NixOS_GitHub has left #nixos [#nixos]
blahdodo has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vNMZx
<NixOS_GitHub> nixpkgs/master afdc186 Peter Hoeg: uchiwa: 1.1.1 -> 1.1.2
NixOS_GitHub has left #nixos [#nixos]
blahdodo has joined #nixos
stephenjudkins has joined #nixos
kl1n3 has joined #nixos
kline has quit [Ping timeout: 620 seconds]
bfrog has quit [Ping timeout: 256 seconds]
MercurialAlchemi has joined #nixos
vcunat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vNMnK
<NixOS_GitHub> nixpkgs/master 9c95eb8 Peter Hoeg: pykms: 20170719 -> 20171224...
NixOS_GitHub has left #nixos [#nixos]
stephenjudkins has quit [Remote host closed the connection]
yegortimoshenko has quit [Remote host closed the connection]
yegortimoshenko has joined #nixos
Itkovian has joined #nixos
dejanr has joined #nixos
stephenjudkins has joined #nixos
<eqyiel> it's like, a completely different package
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #34319: mdp: 1.0.10 -> 1.0.12 (master...update/mdp-1.0.12) https://git.io/vNMcR
NixOS_GitHub has left #nixos [#nixos]
ma27 has joined #nixos
Isorkin_ has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34320: spectre-meltdoen-checker: 0.32 -> 0.33 (master...spectre-meltdown-checker) https://git.io/vNMcV
NixOS_GitHub has left #nixos [#nixos]
<eqyiel> hyper_ch: so this never worked I guess
<hyper_ch> eqyiel: no idea
<eqyiel> I don't know anything about x11idle, I was just grepping around for org mode
<hyper_ch> I don't believe in emacs
samae has joined #nixos
<eqyiel> oh, it actually does have something to do with org mode, it's a time tracking kind of thing
<eqyiel> nevermind
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #34321: yq: 2.3.3 -> 2.3.4 (master...update/yq-2.3.4) https://git.io/vNMc5
NixOS_GitHub has left #nixos [#nixos]
MrCoffee has quit [Quit: Lost terminal]
ssmike has joined #nixos
ssmike has quit [Remote host closed the connection]
hamishmack has quit [Read error: Connection reset by peer]
hamishmack has joined #nixos
asuryawanshi has joined #nixos
defau1t has quit [Ping timeout: 260 seconds]
dj_goku has quit [Quit: Lost terminal]
iyzsong has quit [Read error: Connection reset by peer]
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vNMCR
<NixOS_GitHub> nixpkgs/staging 2d2dbe0 Vladimír Čunát: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging ef60e41 Vladimír Čunát: cmake: bring back 3.9 for Darwin bootstrap...
asuryawanshi has quit [Remote host closed the connection]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Isorkin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 c2b668e Vladimír Čunát: Merge #34283: google-chrome: add new dep on at_spi2_atk...
<NixOS_GitHub> nixpkgs/release-17.09 d39f359 Andrew Slough: google-chrome: add new dep on at_spi2_atk...
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to release-17.09: https://git.io/vNMCX
NixOS_GitHub has left #nixos [#nixos]
iyzsong has joined #nixos
ssmike has joined #nixos
vcunat has quit [Quit: Leaving.]
stephenjudkins has quit [Remote host closed the connection]
dejanr has quit [Ping timeout: 252 seconds]
glenn_ has quit [Ping timeout: 256 seconds]
ThatDocsLady has quit [Ping timeout: 252 seconds]
crucialrhyme has joined #nixos
Itkovian has joined #nixos
crucialrhyme has quit [Quit: WeeChat 2.0]
Isorkin has quit [Ping timeout: 240 seconds]
Isorkin has joined #nixos
verite has quit [Ping timeout: 256 seconds]
simukis has joined #nixos
glenn_ has joined #nixos
steshaw has quit [Quit: Connection closed for inactivity]
fyuuri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34322: pythonPackages.hbmqtt: init at 0.9.1 (master...hbmqtt) https://git.io/vNMWR
NixOS_GitHub has left #nixos [#nixos]
jb55 has quit [Ping timeout: 264 seconds]
jensens has joined #nixos
<raynold> ahh it's a wonderful day
alex`` has joined #nixos
MP2E has quit [Remote host closed the connection]
mrkgnao has quit [Ping timeout: 240 seconds]
zarkone has joined #nixos
marusich has joined #nixos
ma27 has quit [Ping timeout: 276 seconds]
<freeman42x> should running <<nix-build -E 'with import <nixpkgs> { }; haskellPackages.callPackage ./. { }'>> not copy the binary to the path?
Isorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
<joko> freeman42x: that's right, it merely creates a result directory
<freeman42x> if I would like to also add it to path what should I do?
<joko> freeman42x: you would need to use nix-env, let me think how to do so
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir closed pull request #34321: yq: 2.3.3 -> 2.3.4 (master...update/yq-2.3.4) https://git.io/vNMc5
NixOS_GitHub has left #nixos [#nixos]
a6a3uh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir closed pull request #34317: fac: 1.0.1 -> 1.0.4, add man page (master...update/fac-1.0.4) https://git.io/vNMZi
NixOS_GitHub has left #nixos [#nixos]
Isorkin has joined #nixos
i-am-the-slime has joined #nixos
i-am-the-slime has quit [Client Quit]
<joko> freeman42x: I think you would need a second nix file, where you import nixpkgs and then use haskellPackages.callPackage there. Then you do nix-env -i on that file
<freeman42x> it worked using `nix-env -iA nixos.haskellPackages.djinn`
mrkgnao has joined #nixos
<joko> freeman42x: this won't load your modified nix file
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 8b3e056 Miguel Madrid Mencía: mdp: 1.0.10 -> 1.0.12
<NixOS_GitHub> nixpkgs/master 19fc2f5 Andreas Rammhold: Merge pull request #34319 from mimadrid/update/mdp-1.0.12...
<NixOS_GitHub> [nixpkgs] andir pushed 2 new commits to master: https://git.io/vNM8v
NixOS_GitHub has left #nixos [#nixos]
<freeman42x> joko: I'm ok as long as it is in the path
zarkone has quit [Ping timeout: 256 seconds]
<freeman42x> I need it for running lambdabot
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 3d3acfa Gabriel Ebner: beets: ignore failing tests...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/vNM8I
fyuuri has quit [Ping timeout: 240 seconds]
ottidmes has joined #nixos
<joko> Anyone with nixops experience to post some thoughts/opinion on https://github.com/NixOS/nixops/issues/842 ? Thanks in advance
winem_ has joined #nixos
asuryawanshi has joined #nixos
fyuuri has joined #nixos
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
asuryawanshi has quit [Ping timeout: 276 seconds]
ssmike1 has joined #nixos
MercurialAlchemi has joined #nixos
ma27 has joined #nixos
ssmike has quit [Ping timeout: 276 seconds]
ssmike1 is now known as ssmike
freeman42x[NixOS has quit [Quit: Leaving]
freeman42x[NixOS has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 8fff349 Robert Schütz: spectre-meltdown-checker: 0.32 -> 0.33
<NixOS_GitHub> [nixpkgs] andir pushed 2 new commits to master: https://git.io/vNM86
<NixOS_GitHub> nixpkgs/master cca2c20 Andreas Rammhold: Merge pull request #34320 from dotlambda/spectre-meltdown-checker...
NixOS_GitHub has left #nixos [#nixos]
thc202 has joined #nixos
leat has quit [Ping timeout: 252 seconds]
fyuuri has quit [Ping timeout: 248 seconds]
Drakonis has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c2b668ee726 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
Drakonis has quit [Read error: Connection reset by peer]
ma27 has quit [Ping timeout: 276 seconds]
po11ux has joined #nixos
leat has joined #nixos
a6a3uh has quit [Quit: Bye]
dbe_ has joined #nixos
knupfer has joined #nixos
<po11ux> Hi, how to check locally written overlay is correct using nix-repl? I do not know what to load using :l to check configuration.nix including overlays...
<infinisil> po11ux: pkgs = import <nixpkgs> { overlays = [ path/to/overlay ]; }
<infinisil> joko: you could just run a periodic nixops deploy
<po11ux> infinisil: thanks! work great!
_rvl has quit [Quit: ZNC 1.6.5 - http://znc.in]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] samdroid-apps opened pull request #34323: gradio: 7.0-> 7.1 (master...gradio-7.1) https://git.io/vNM4z
NixOS_GitHub has left #nixos [#nixos]
freeman42x[NixOS has quit [Quit: Leaving]
_rvl has joined #nixos
freeman42x[NixOS has joined #nixos
marusich has quit [Ping timeout: 265 seconds]
Turion has joined #nixos
marusich has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ThomasMader opened pull request #34324: dmd: 2.078.0 -> 2.078.1 (master...dmd2.078.1) https://git.io/vNM4N
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ThomasMader opened pull request #34325: dtools: 2.078.0 -> 2.078.1 (master...dtools2.078.1) https://git.io/vNM4A
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ThomasMader opened pull request #34326: dub: 1.6.0 -> 1.7.1 (master...dub1.7.1) https://git.io/vNM4h
NixOS_GitHub has left #nixos [#nixos]
sigmundv__ has joined #nixos
<typetetris> how can I get the manual page of tmux into my user environment? I did `nix-env -iA nixos.tmux.man` it says, it installed tmux-2.6 and I have the manual page in my nix store as `ls /nix/store/*/share/man/man1/tmux*` shows, but `ls ~/.nix-profile/share/man/man1/tmux*` shows nothing?
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite_> typetetris: yeah I wonder about that too… only just 2 minutes ago I accessed the manpage using man $(nixpkgs tmux.man)/share/man/*/*
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mnacamura opened pull request #34327: node-packages.json-diff: init at 0.5.2 (master...node-json-diff) https://git.io/vNMBW
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> maybe it needs to have outputsToInstall set
<sphalerite_> typetetris: as a workaround you should be able to do nix-env -i $(nix-build '<nixpkgs>' --no-out-link -A tmux.man) I think
<sphalerite_> yep that seems to have worked for me. ALthough it wants to replace the main output of tmux -_-
<Yaniel> is beets failing its tests for anyone else?
peacememories has joined #nixos
<typetetris> hmmm
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #34328: tmuxinator: 0.10.0 -> 0.10.1 (master...update/tmuxinator-0.10.1) https://git.io/vNMB1
NixOS_GitHub has left #nixos [#nixos]
a6a3uh has joined #nixos
Harpalus has joined #nixos
ma27 has joined #nixos
<steveeJ> I'm trying to debug why the VM from `nixos-rebuild build-vm-with-bootloader` doesn't boot. after fixing an issue with the fstab, the default target hangs waiting on all network related services and never succeeds. I've tried to use systemd.unit=emergency.target in grub, but that just gives me a black screen
<infinisil> What a nice surprise, my nixos seems to continuously improve its bootup times
<infinisil> (while often updating nixpkgs)
winem_ has quit [Ping timeout: 276 seconds]
ma27 has quit [Quit: WeeChat 2.0]
spear2 has quit [Quit: Leaving]
marusich has quit [Ping timeout: 252 seconds]
<steveeJ> do we have special kernel cmdline parameters to debug the initrd's systemd?
marusich has joined #nixos
<po11ux> steveeJ: Yes, they are boot.trace, boot.shell_on_fail, boot.debug1 boot.debug1devices boot.debug1mounts boot.panic_on_fail; just check the nixpkgs/nixos/modules/system/boot/stage-1-init.sh for explanation.
oida has quit [Quit: WeeChat 1.6]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c2b668ee726 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
<steveeJ> po11ux: awesome, thanks! using boot.debug1 would be nice, but it doesn't detect keyboard input
dejanr has joined #nixos
<po11ux> steveeJ: Maybe you need to add and load some kernel modules for keyboard? I'd look around boot.initrd.kernelModules from man configuration.nix
<steveeJ> feels like I'm reinventing the wheel which usually means making a mistake. is the VM working for anyone on current 17.09?
kreetx has joined #nixos
<steveeJ> the main culprit seems to be the service "VirtualBox vboxnet0 Interface" what has no timeout
<Dezgeg> if you use boot.debug1 you stop in the shell before any modules get loaded, so stop later
<pie_> how should i go about building a package from a local repo that i want to keep at head??
<pie_> * ?
<adisbladis[m]> po11ux: Pretty much any keyboard nowadays should be HID so drivers are not really an issue unless you are lacking drivers for your USB hub or something like that
<sphalerite_> is there a way to give my user access to just one network device via TAP, but not all of them?
elurin has joined #nixos
elurin has left #nixos [#nixos]
<steveeJ> I think the VM has the same problem as my actual system has, getty isn't working. on my laptop I can't switch to the VTs. trying to start getty@tty1 manually gives: agetty[3302]: /dev/tt1: cannot open as standard input: No such file or directory
Harpalus has quit [Quit: Leaving]
sud0x3 has joined #nixos
<steveeJ> Dezgeg: haha, true :-) but by now fairly certain the problem exists in the rootfs not initrd
dbe_ has quit [Ping timeout: 240 seconds]
sud0x3 has quit [Ping timeout: 276 seconds]
sud0x3 has joined #nixos
sigmundv__ has quit [Ping timeout: 268 seconds]
marusich has quit [Quit: Leaving]
<typetetris> What does `inherit (foo) bar baz;` means or desugars to? (The nix manual doesn't defines this. There are only examples, and none with parantheses and mutliple following identifiers...)
<MichaelRaskin> You inherit bar and baz from foo
silver has joined #nixos
<sphalerite_> typetetris: equivalent to bar = foo.bar; baz = foo.baz;
<typetetris> so the foo will be applied multiple times, thanks.
<makefu> typetetris: it is defined there, actually ;) https://nixos.org/nix/manual/#idm140737318065840
<typetetris> no, thats in informal description by examples, missing the key (at least for my question) example `inherit (foo) bar baz;`'
MichaelRaskin has quit [Ping timeout: 256 seconds]
swayf has joined #nixos
<typetetris> seems it is not worth doing a pull request for the manual, there are uncontroversial open pull request for documentation since 2016.
vise890[m] has joined #nixos
freeman42x[NixOS has quit [Quit: Leaving]
<gchristensen> typetetris: please give it a shot :)
schoppenhauer has quit [Ping timeout: 248 seconds]
<steveeJ> Dezgeg: any idea what would cause the screen to go black in systemd emergency mode?
schoppenhauer has joined #nixos
a6a3uh has quit [Quit: Bye]
<adisbladis[m]> typetetris: Please send a PR anyway :)
<adisbladis[m]> A lot of the time when things takes time to merge it's just the
<adisbladis[m]> maintainers being overwhelmed. If you nag a bit and stay on it it's more likely to get merged :)
kl1n3 is now known as kline
<typetetris> Woa .. the manual is written in XML? Are you from the past?
<typetetris> Sorry :) now I was overwhelmed.
<adisbladis[m]> :D
<gchristensen> typetetris: NixOS is 15 years old, yes
<adisbladis[m]> NixOS can legally drive a moped in north europe :)
<po11ux> :-D
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm opened pull request #34329: packer: 1.1.0 -> 1.1.3 (master...packer-1.1.3) https://git.io/vNMzA
NixOS_GitHub has left #nixos [#nixos]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9c95eb828ab (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
<steveeJ> I'm getting really close. /etc/{passwd,shadow} are empty in the VM. I'd appreciate any debug help here
freeman42x[NixOS has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #34329: packer: 1.1.0 -> 1.1.3 (master...packer-1.1.3) https://git.io/vNMzA
NixOS_GitHub has left #nixos [#nixos]
mlin has joined #nixos
<typetetris> If I am not mistaken `inherit`can also be used as a local variable definition in a `let` expression? So like `let inherit x; in x` ?
CapsAdmin has joined #nixos
<CapsAdmin> does the nix package manager run in msys2 or cygwin?
<CapsAdmin> i've seen some clues on the internet that it does, but trying the default way of installing nix in a shell says it's not supported
<infinisil> CapsAdmin: not anymore
<CapsAdmin> anymore?
deltasquared has joined #nixos
<CapsAdmin> the case switch in install doesn't handle windows, can i compile it from scratch maybe?
<infinisil> I think there was just too few users that could maintain it, so it got dropped
<infinisil> Or smth like that
<CapsAdmin> ah
<infinisil> I mean if you feel adventurous and like pain you could try get it working again
<CapsAdmin> you mean just the binary distribution?
<CapsAdmin> i'll try to compile it from scratch in msys2 to see where it gets me
<ArdaXi[m]> Doesn't it make more sense to use the Subsystem for Linux instead?
<deltasquared> which package would this be out of curiosity
<CapsAdmin> there are 2 things about that, i want graphics (opengl) and i'm not too comfortable relying on WSL i think
<CapsAdmin> hmm
<infinisil> typetetris: you can just try it out in a repl
ma27 has joined #nixos
<CapsAdmin> well i'm not sure about the latter, but lack of opengl is the main blocker right now
ma27 has quit [Client Quit]
<CapsAdmin> it's also a distribution problem, i don't want to have to install WSL just to run some software
<adisbladis[m]> My recent experience with WSL was... Not great
<CapsAdmin> on the other hand it's tempting to say screw windows and use WSL
<ArdaXi[m]> I'd be interested to see how easy it is to get derivations building on Windows natively, seems like it'd be a lot of work
<ArdaXi[m]> (Not to mention build times having to build everything from scratch)
<deltasquared> I feel it would be the kind of thing which would open up a lot of unknown unknowns, as in annoying problems we couldn't even foresee
<deltasquared> (which seems obvious when you think about it but even so)
<deltasquared> ArdaXi[m]: but who doesn't love gentoo? “Watching text scroll by for hours on end is fun for the whole family!” :P
<ArdaXi[m]> I had that phase, yes
<deltasquared> in all fairness I just straight up decided I didn't have that patience
<ArdaXi[m]> I'd also imagine that Cygwin and OpenGL isn't a great combination, because of the amount of weird tricks Cygwin pulls to get POSIX working against the Win32 API
<deltasquared> the abstraction feels like a leaky one, at best.
<ArdaXi[m]> One noteworthy thing is that since Windows doesn't have fork/exec, I believe they use debugging to fake it
<deltasquared> also wrt opengl one can imagine the amount of linux apps that do something like #ifdef _PLATFORM_LINUX /* use core openGL API in mesa specific way */ #endif
<ArdaXi[m]> Yeah: https://cygwin.com/faq/faq.html#faq.api.fork
<deltasquared> windows just has a single "start this program" type call IIRC
<deltasquared> it's cool that cygwin for the most part works, but I don't feel large applications should be built on it
<deltasquared> sooner or later something is going to give
sud0x3 has quit [Quit: WeeChat 2.0.1]
<deltasquared> in other news, it seems nix expressions were my gateway drug to functional programming. I've been bitten by the bug and it's starting to change how I think about programs
<freeman42x> I have a service set up that is starting but not working properly. Could someone please tell me where I can find the error logs for services?
<deltasquared> freeman42x: have you tried journalctl?
<deltasquared> if the service spits out anything it ought to be in there
<gchristensen> deltasquared: "gateway drug" me too
<deltasquared> gchristensen: lel. I'm starting to have allergic reactions to imperative flow control
<deltasquared> almost like every time I see a for loop I think can I get rid of that
<freeman42x> deltasquared: there are no error messages related to the service, all messages are about 2 hours old
<freeman42x> on other linuxes I recall there were some specific folders where the errors could be found
<deltasquared> freeman42x: ok, so what's the service and define "not working properly"
<deltasquared> freeman42x: it *is* possible the service may have it's own log file, you'd have to check it's configuration
<deltasquared> (as in, it's dependent on the service where that file may go)
glenn_ has quit [Ping timeout: 246 seconds]
<freeman42x> the service is lambdabot
<deltasquared> erm.... one moment please
<freeman42x> by not working I mean it is running but it does not connect to the twitch IRC channel
<freeman42x> when I ran it not as a service it connected fine
<deltasquared> freeman42x: you say you're running it as a service, is that via a nixos module option?
<steveeJ> quite unexpected that the empty passwd/shadow in the VM by setting networking.hostname in the nix config
<deltasquared> (not familiar with what this particular package exposes)
knupfer has quit [Ping timeout: 265 seconds]
acarrico has quit [Ping timeout: 240 seconds]
<freeman42x> deltasquared: via `services.lambdabot.enable = true;` and `services.lambdabot.script = "...";`
<deltasquared> freeman42x: hmm, ok. again I haven't used this particular piece of... haskell tooling (guessing by where the nix expression for it was), so I would have to wonder if there is a difference in configuration somehow, or if your config file (assuming it has one) isn't being picked up
<deltasquared> when you say you're running it manually, howso? if from the shell how are you invoking it
<freeman42x> manually like so: `lambdabot -e 'rc online.rc'`
michaelpj_ has joined #nixos
<deltasquared> freeman42x: right. just so I know what I'm getting into I'm just going to go away and find out a bit more about what this program does
<freeman42x> ok :) I'll try to figure out where the error logs are
<deltasquared> oh cool, an IRC bot.
<deltasquared> interesting, a bot with a brainfuck interpreter
<ottidmes> Does nix have something like zipWithIndex? I checked lib/lists.nix and all I could find is doing it with: zipListsWith xs (range 0 (builtins.length xs - 1))
yenzenz has joined #nixos
<mlin> Hi all, does anyone know how to run a script on `nixos-rebuild`?
<ottidmes> mlin: activationScripts run on boot and rebuild, maybe that is what you need?
freeman42x[NixOS has quit [Quit: Leaving]
jensens has quit [Ping timeout: 256 seconds]
freeman42x[NixOS has joined #nixos
<mlin> ottidmes: wicked. Thanks. - also, is there any better way to manage my dotfiles than to run a script which pulls them and installs them from git?
<tilpner> mlin - Also look at system.extraSystemBuilderCmds and home-manager
<deltasquared> freeman42x: ok, so I'm assuming you've edited online.rc as appropriate for what you want to use the bot for. what path to the rc script are you setting for the service?
nuncanada has joined #nixos
<ottidmes> mlin: There are many different approaches taken, there are a few projects out there that try to use Nix to manage your home folder, but I believe home-manager is the most active. Then there is using a dotfiles git repo with something like Stow, and yesterday I read https://blog.jeaye.com/2017/07/30/nixos-revisited/ and saw yet another approach
<typetetris> infinisil, already did so
<freeman42x> deltasquared: this is the configuration https://paste2.org/zFHswLj8
<deltasquared> freeman42x: interesting... my first impression is that the script argument is supposed to just be a path.
<freeman42x> I'll try that also
<deltasquared> freeman42x: also for the record don't paste your credentials file. you might want to change that pretty fast before someone nicks your oauth token
<deltasquared> and I mean like right now, perhaps. seeing as this channel is logged.
<freeman42x> they were obfuscated
<gchristensen> ok but maybe change it anyway
<deltasquared> define obfuscated, that looks like it'd work just fine to me... oauth tokens would look random.
<deltasquared> and yeah if it wasn't already evident GO MAKE A NEW TOKEN :)
<freeman42x> deltasquared: obfuscated -> that is not actually my token, just appears like a token
<ottidmes> mlin: This is yet another approach, it also has some links to other alternative links below in its credits: https://github.com/xvapx/nixos-dotfiles
<deltasquared> freeman42x: ok then... your problem after all :P
<mlin> ottidmes: thanks for the help. I'll have a look
<freeman42x> deltasquared: it is no problem, as I said, that is not my token
<deltasquared> eh. personally I wouldn't have bothered to go to the effort to randomly generate some string to put there in it's place, but... *shrug*
Rusty1_ has joined #nixos
nickray has left #nixos ["User left"]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has quit [Quit: hamishmack]
<jtojnar> does anyone here use syncthing-gtk?
<jtojnar> I would like to check https://github.com/NixOS/nixpkgs/pull/32016 but syncthing hates me
hamishmack has joined #nixos
<freeman42x> > eh. personally I wouldn't have bothered to go to the effort to randomly generate some string to put there in it's place, but... \*shrug\*
<freeman42x> it's funnier that way, I get to see how many people would believe it :)
<freeman42x> maybe some would even try it
<freeman42x> mwhahahaha
<deltasquared> freeman42x: sure, sure. :P anyway, did you try it with a simple path to the rc file?
<freeman42x> nah, I'm in a break yet
<deltasquared> only because if you look at nixos/modules/services/networking/lambdabot.nix, it appears as though the rc file path is substituted in at line 58, it's already got an "rc" statement hardcoded
<deltasquared> so my thoughts would have been to put what you currently have in services.lambdabot.script into an rc file somewhere in /etc, then set services.lambdabot.script to be that path
<deltasquared> (this is just my understanding from reading the nix expression)
mekeor has joined #nixos
<freeman42x> deltasquared: I found this but not very clear http://schmitthenner.eu/nixos/manual/options.html , search in it for `services.lambdabot.script`
<freeman42x> I'll try what you mentioned
alp has quit [Quit: ZNC - http://znc.in]
hamishmack has quit [Quit: hamishmack]
<deltasquared> freeman42x: ah, I've grown a habit with nixos stuff to read what the nix expression does. docs can be out of date and confusing; the expressions themselves (usually) can't lie
b has joined #nixos
lonokhov has joined #nixos
<deltasquared> freeman42x: ... actually wait I'm an idiot
<deltasquared> I just saw what the definition of "rc" is doing in that expression
<deltasquared> so actually... hmm yeah your way should work fine. though try what I suggested anyway? ¯\_(ツ)_/¯
<deltasquared> I'm going to assume builtins.toFile spits the text into a file and returns it's path...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vNMV0
<NixOS_GitHub> nixpkgs/master fff0dad Tuomas Tynkkynen: streamlink: 0.9.0 -> 0.10.0
NixOS_GitHub has left #nixos [#nixos]
hamishmack has joined #nixos
peacememories has joined #nixos
<deltasquared> ... yeah. hmm. ok.
MercurialAlchemi has quit [Remote host closed the connection]
<deltasquared> freeman42x: so it'd still have to be "rc /etc/thatrcfile" anyway you put in there I would think
<tilpner> clever - Hi, I played around a little with kexec_tarball. You may want to disable redistributable firmware for a slight (~80MB?) size improvement
chrios has joined #nixos
alp has joined #nixos
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
swayf has quit [Ping timeout: 265 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 2 new commits to master: https://git.io/vNMwg
<NixOS_GitHub> nixpkgs/master eef3601 Tuomas Tynkkynen: Revert "ldb: 1.1.27 -> 1.3.1"...
<NixOS_GitHub> nixpkgs/master 5925caf Tuomas Tynkkynen: libbsd: 0.8.6 -> 0.8.7
NixOS_GitHub has left #nixos [#nixos]
Itkovian has joined #nixos
<freeman42x> deltasquared: I tried everything I could think of and nothing worked
sigmundv__ has joined #nixos
michaelpj_ has quit [Ping timeout: 256 seconds]
Mateon1 has quit [Quit: Mateon1]
Mateon1 has joined #nixos
sigmundv__ has quit [Ping timeout: 260 seconds]
civodul has joined #nixos
<deltasquared> freeman42x: I'm not sure then. I would expect that if connection failed for whatever reason that it would be logged somewhere
<freeman42x> same, the only question remains: where
<freeman42x> oh Google God what magic incantations must we type to find out?!
<freeman42x> nothing worked for me
<freeman42x> on windows you have a global GUI application to see errors like that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] netixx opened pull request #34330: nixos/freeradius : init - Added freeradius service (master...master) https://git.io/vNMoW
NixOS_GitHub has left #nixos [#nixos]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<deltasquared> freeman42x: to be fair, such errors are still only dependent on the application logging stuff there.
coot has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rasendubi pushed 2 new commits to master: https://git.io/vNMoS
<NixOS_GitHub> nixpkgs/master 72d675b Arcadio Rubio García: star: init at 2.5.3a
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 38fbc93 Alexey Shmalko: Merge pull request #34156 from arcadio/star...
lonokhov has quit [Ping timeout: 240 seconds]
michaelpj_ has joined #nixos
coot has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] netixx opened pull request #34331: nixos/sshd: added missing systemd controls (master...systemd-sshd-fix-#30903) https://git.io/vNMKl
NixOS_GitHub has left #nixos [#nixos]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Turion has quit [Ping timeout: 256 seconds]
lonokhov has joined #nixos
iLikeSALAD has joined #nixos
iLikeSALAD is now known as banned
CapsAdmin has quit [Ping timeout: 256 seconds]
banned has quit [Client Quit]
bfrog has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] typetetris opened pull request #1822: Improve manual on inheriting attributes (master...master) https://git.io/vNM6U
NixOS_GitHub has left #nixos [#nixos]
fyuuri has joined #nixos
dejanr has quit [Quit: WeeChat 2.0]
fyuuri has quit [Ping timeout: 248 seconds]
coot has joined #nixos
<mlin> Hello all, after adding the shell for my user in my configuration, the shell seems to work, but now my username doesn't show up in Lightdm, but I can actually login. Anything I can do?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] twhitehead opened pull request #34332: top-level: Duplicate overlaying unless stdenvOverrides comes last (master...2x-overlays) https://git.io/vNMiJ
NixOS_GitHub has left #nixos [#nixos]
<freeman42x> deltasquared: I created a SO question for it maybe it motivates someone to find a solution: https://stackoverflow.com/q/48477392/750216
mk-fg has quit [Ping timeout: 252 seconds]
<freeman42x> I'll have to go to sleep right now though cause I am very tired. deltasquared Thank you for helping in investigation
tertleeltret has joined #nixos
michaelpj_ has quit [Ping timeout: 240 seconds]
freeman42x[NixOS has quit [Ping timeout: 256 seconds]
peacememories has joined #nixos
aarvar has joined #nixos
sigmundv__ has joined #nixos
fyuuri has joined #nixos
<jonge> hey there. i am currently studying through the nix pill article "working derivation" on mac OSX and i am stuck on the following problem: when i build the "simple" called derivation, i get the following error: https://gist.github.com/tfc/96b7ccfb16875bfd43ff99e1e0681563 can anyone help me out here?
po11ux has quit [Quit: Leaving.]
freeman42x[NixOS has joined #nixos
asuryawanshi has joined #nixos
michiel_l has quit [Ping timeout: 255 seconds]
michiel_l has joined #nixos
<deltasquared> jonge: how interesting, my first reaction would be that this should not be able to happen
<deltasquared> (if gcc-wrapper needs clang it should have pulled it in, for instance)
<jonge> deltasquared: does this maybe mean that gcc-wrapper's definition is then kind of incomplete on macos?
asuryawanshi has quit [Ping timeout: 256 seconds]
<jonge> deltasquared: should i open an issue on the right repo on github?
<deltasquared> jonge: it could well be, I wouldn't be sure myself. one should investigate a bit further though first I would think
<jonge> deltasquared: sounds legit. i am however not sure how exactly to dig for what. i am reading those pills articles because i am so new to nix :)
fyuuri has quit [Ping timeout: 256 seconds]
<deltasquared> jonge: well I'm just looking for the nix expression for gcc-wrapper. however I'm only getting "gcc-wrapper-old" so I'm not quite sure that's it
<deltasquared> possibly it's in one of the other build support packages... hmm
<jonge> deltasquared: ok, i am happy to assist as i have no idea where/what to look for myself. staying tuned for your input.
sigmundv__ has quit [Ping timeout: 246 seconds]
stepcut has joined #nixos
CapsAdmin has joined #nixos
<deltasquared> jonge: hmm, this is most confusing. I'm being bounced all over the place trying to track this down
coot has quit [Quit: coot]
<deltasquared> I could do with some sort of reverse lookup tool to see which source file defined that derivation
<jonge> deltasquared: is there any way i could be of help here?
<deltasquared> jonge: I'm not sure. if there was such a command I'd likely ask you to run it on your own system
ssmike1 has joined #nixos
<deltasquared> at least then I could be sure which nix expression was defining the derivation, and then proceed to determine if it was indeed a bug
ssmike has quit [Ping timeout: 256 seconds]
ssmike1 is now known as ssmike
<mlin> Hi all, does anyone know how to get Firefox 57 (or 58)? Which package is it, since `firefox` seems to be Firefox nightly 56.
<symphorien> first, firefox is branded "nightly" for copyright reasons, but it is stable firefox
<symphorien> then if you have updated nixpkgs, you will have (at least) 57 I think
<deltasquared> symphorien: is that the thing about insisting it's not called firefox if it's patched?
<symphorien> yes I think so
<symphorien> only builds deemed of sufficient quality by mozilla get the official branding
<deltasquared> IIRC it's less copyright and more trademark rules but quite frankly it's all bollocks.
<deltasquared> I can see why they do this but it's a mild pain to say the least
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] unode opened pull request #34334: muscle: init at 3.8.31 (master...muscle) https://git.io/vNMXn
NixOS_GitHub has left #nixos [#nixos]
<deltasquared> jonge: as it stands, all I've ended up with is a headache :/
<jonge> deltasquared: ok, sounds like i would open an issue on github?
<deltasquared> jonge: possibly. at worst someone more knowledgeable will come along, pointed out where you messed up, and close the issue
<jonge> deltasquared: i guess https://github.com/NixOS/nixpkgs would be the right repo or which is it?
orivej has joined #nixos
<deltasquared> jonge: you'll have to forgive me, my brain is giving out, though I think possibly yes.
<jonge> deltasquared: thank you very much for looking into that!
Rusty1_ has quit [Quit: Konversation terminated!]
<deltasquared> trying to apply the usual logical approaches to finding problems while having to learn nix really does a number on the grey matter.
Itkovian has joined #nixos
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
ma27 has quit [Quit: WeeChat 2.0]
deltasquared has quit [Quit: SEGMENTATION FAULT]
ma27 has joined #nixos
gilligan_ has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
mlin has quit [Ping timeout: 260 seconds]
i-am-the-slime has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
oida has joined #nixos
<gchristensen> anyone around to be my guinea pig?
<hyper_ch> pic me, pick me, pick me
<gchristensen> you can see logs from PR #34328. can you figure out how to use this UI? https://nix.samueldr.com/temp/?key=nixos/nixpkgs.34328
ahmedtd has quit [Ping timeout: 256 seconds]
grenade has quit [Remote host closed the connection]
woboats has quit [Remote host closed the connection]
<hyper_ch> what gui?
ahmedtd has joined #nixos
<gchristensen> who said gui?
<hyper_ch> "can you figure out how to use this UI?"
<samueldr> is it an escape room challenge? :)
<hyper_ch> not sure what you're asking though
<samueldr> hyper_ch: blocking websockets?
<hyper_ch> samueldr: of course
<hyper_ch> but now seeing: Subscribing to "nixos/nixpkgs.34328"...
<hyper_ch> no idea what to do
* hyper_ch feels bad :(
<samueldr> nah, don't feel *too* bad, the interface is a bit experimental
<samueldr> it breaks some web conventions
* hyper_ch cowers in the corner and starts crying
* samueldr puts UX researcher cap on
<samueldr> hyper_ch: first, can you spare a screenshot of what you're seeing?
<samueldr> maybe something's buggy and unexpected for me
<gchristensen> hyper_ch: what tools do you to block stuff
i-am-the-slime has quit [Ping timeout: 256 seconds]
Arcaelyx has joined #nixos
<hyper_ch> umatrix, ublock origin, adblock plus and others
<samueldr> "good", your interface is as expected... now we have to figure out why it's not as obvious as it seems and fix it :)
<samueldr> hyper_ch: did you read the whole text?
<hyper_ch> samueldr: no
<samueldr> maybe a bit too much tongue-in-cheek to show the description as if it was a man page
<gchristensen> sad, b/c that is awesome
<samueldr> gchristensen: not sad! we have to make it awesome AND good :)
<gchristensen> <3
* tilpner likes the interface
<samueldr> hyper_ch / gchristensen refreshing the interface, are you tempted even more to read the "man" page?
* infinisil just had an exam about Human Computer Interaction, which also covered good GUI's to some extent
<samueldr> tilpner: too
fendor has joined #nixos
<samueldr> infinisil: keyword is: experimental, which is always harder!
<samueldr> especially when breaking conventions
L0g4nAd4ms has joined #nixos
<samueldr> or bridging conventions of different mediums
zearen has joined #nixos
b has quit [Quit: Lost terminal]
<infinisil> have never seen such an unconventional website tbh
<gchristensen> I like it
knupfer has joined #nixos
<gchristensen> let's ship it, samueldr, people will figure it out
<samueldr> :)
<infinisil> yeah i like it too, and i already know how to 'use' it since you showed me yesterday or so
<samueldr> once you know the purpose, and when it's running live, it becomes more obvious
<samueldr> we can always make it better anyway
<hyper_ch> samueldr: so you cheated
<samueldr> in what way?
<hyper_ch> [18:21] <infinisil> yeah i like it too, and i already know how to 'use' it since you showed me yesterday or so
<hyper_ch> oh... infinisil... samueldr.... sounds pretty much the same :)
<samueldr> oh, I didn't show it, gchristensen did :D
<samueldr> and I made it, so yeah, I know how to use it
<infinisil> is there a way to make such a website without javascript samueldr ?
<samueldr> infinisil: yes and no
<samueldr> yes for the tabs part, but loading the data the way it does, no since it's meant to run without server-side-scripting
Tehnix has joined #nixos
<samueldr> the client does the job of fetching the logs
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 7857399 Andrew Childs: rustc: Fix corrupted .rlib files caused by stripping on Darwin
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vNMDX
<NixOS_GitHub> nixpkgs/master b119c18 Daiderd Jordan: Merge pull request #34227 from thefloweringash/rust-darwin-dont-strip...
NixOS_GitHub has left #nixos [#nixos]
<samueldr> if there was a server side part, it could be possible to preload the logs in the HTML and use only CSS trickery to make it owrk
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #34244: rust: disable another fragile test (master...rust-skip-test) https://git.io/vN631
NixOS_GitHub has left #nixos [#nixos]
<infinisil> samueldr: I see
<L0g4nAd4ms> how can i use the broadcom-wl drivers ? Do i just need to specify "config.boot.kernelPackages.broadcom_sta" in "boot.extraModulePackages" ?
aarvar has quit [Ping timeout: 268 seconds]
<infinisil> I recently saw some developers website that looked just crazy, all without javascript
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> (Can't find it right now though)
<infinisil> like tons of animations
<infinisil> Oh, I found another one, just look at that: http://www.rleonardi.com/interactive-resume/
<infinisil> No JS required
<infinisil> Kinda offtopic, sorry
mizu_no_oto has joined #nixos
ditadi has joined #nixos
ditadi has quit [Client Quit]
lonokhov has quit [Ping timeout: 256 seconds]
ditadi has joined #nixos
<sphalerite> L0g4nAd4ms: yep that should be enough I think
L0g4nAd4ms has quit [Quit: Leaving]
grenade has joined #nixos
ditadi has quit [Quit: WeeChat 2.0]
zzamboni has joined #nixos
Sonarpulse has quit [Ping timeout: 256 seconds]
<hyper_ch> Mic92: what should I call that new entry for zfs unstble with stability patches?
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vNMSr
<NixOS_GitHub> nixpkgs/master 355a6ca Tuomas Tynkkynen: diffoscope: 87 -> 90
NixOS_GitHub has left #nixos [#nixos]
rogue_koder has joined #nixos
asuryawanshi has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lonokhov has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/c2b668ee726 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [Client Quit]
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
quam6246 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] michalrus opened pull request #34337: hubstaff: 1.2.15 → 1.3.0 (master...hubstaff) https://git.io/vNM9K
NixOS_GitHub has left #nixos [#nixos]
oida has quit [Quit: WeeChat 1.6]
zzamboni has quit [Client Quit]
<gchristensen> MoreTea: happen to be around?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dylex opened pull request #34338: gnutls: fix (failing) p11-kit test (master...gnutls) https://git.io/vNM9M
NixOS_GitHub has left #nixos [#nixos]
glenn_ has joined #nixos
stephenjudkins has joined #nixos
woboats has joined #nixos
zzamboni has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
zzamboni has quit [Client Quit]
ssj71 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
zzamboni has joined #nixos
michaelpj_ has joined #nixos
zzamboni has quit [Client Quit]
oborot has joined #nixos
ssj71 has joined #nixos
<sphalerite> is there a way to copy unsigned paths using `nix copy` as root?
asuryawanshi has quit [Ping timeout: 260 seconds]
quam6246 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
zzamboni has joined #nixos
michaelpj_ has quit [Ping timeout: 260 seconds]
zzamboni has quit [Client Quit]
<LnL> try --option require-sigs false
zzamboni has joined #nixos
xcmw has joined #nixos
zzamboni has quit [Client Quit]
stephenjudkins has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
oborot has quit [Remote host closed the connection]
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bdarnell opened pull request #34339: curlFull: Add http2Support for darwin (master...curl-http2-darwin) https://git.io/vNM72
NixOS_GitHub has left #nixos [#nixos]
lonokhov has quit [Ping timeout: 268 seconds]
zzamboni has quit [Client Quit]
swayf has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to staging: https://git.io/vNM5e
<NixOS_GitHub> nixpkgs/staging f968949 Daiderd Jordan: gzip: remove darwin format patch
NixOS_GitHub has left #nixos [#nixos]
alex`` has quit [Ping timeout: 256 seconds]
alex`` has joined #nixos
ssj71 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ryanartecona has quit [Quit: ryanartecona]
jb55 has joined #nixos
ma27 has quit [Ping timeout: 276 seconds]
Itkovian has joined #nixos
bfrog has quit [Ping timeout: 276 seconds]
mizu_no_oto has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
anonmafia has joined #nixos
<sphalerite> ARGH. I seem to have destroyed my chromebook's nixos installation.
<hyper_ch> good that you have backups
<hyper_ch> you can just zfs send it back :)
<sphalerite> LnL: realised right after asking that I could just use --export and --import, but I'll try that next time, thanks
<sphalerite> hyper_ch: nope, the chromebook is too weak for zfs
<sphalerite> I have a backup but it's not super recent.
<etu> sphalerite: Good that you have your nixos config in git?
<sphalerite> etu: yeah at least that, but none of the stuff in my ~ on there :/
<hyper_ch> you don't make automagically backups
<sphalerite> funny how overwriting 32MB of metadata can make 16GB of actual data inaccessible :(
<hyper_ch> it's not inaccessbile
<hyper_ch> the data is still there
zzamboni has joined #nixos
<etu> You just have to find it :D
<sphalerite> sure, but not in a useful way
<etu> And make sense of it
<hyper_ch> you could try to just overwrite those 32MB again from your backup
<sphalerite> I thought ext4 included some sort of backup of the metadata away from the beginning of the fs
<sphalerite> that would solve my problem
<hyper_ch> you think too much :)
<Dezgeg> superblock yes, but not the rest
<sphalerite> hyper_ch: it's a backup of the files, not of the filesystem
<sphalerite> I'm going to see what I can recover with testdisk
<Dezgeg> but maybe you're actually lucky and only the files from the first block group are gone
<clever> sphalerite: oh, have you seen what dumpe2fs does?
<hyper_ch> first, I'd just dd the whole disk to some location
<hyper_ch> so that you won't make it worse
<hyper_ch> clever: do you know where the zfs options are stored so that you can use unstable from configuration.nix?
<sphalerite> clever: I haven't
<clever> sphalerite: dumpe2fs will dump all of the ext2/3/4 metadata, and only the metadata
<clever> sphalerite: you can then use that to restore all metadata at a later point, and read any file that existed at the time of the dump, as long as it hasnt been overwritten by other future writes
<sphalerite> clever: how would I use it when the start of the fs has been clobbered?
<clever> sphalerite: you would use it before the fs gets clobbered, to backup the important stuff
<sphalerite> oh. heh
<hyper_ch> clever: but where is the nix file that actually enables that?
<hyper_ch> and I don't mean the nixpkgs/os-specific/linux/zfs/default.nix one
<sphalerite> hyper_ch: if you click on the option you should see a link
<hyper_ch> but the one that actually makes options usable
<hyper_ch> ah :) hx
<sphalerite> (that applies to everything in options.html, and the references are also in man configuration.nix)
<hyper_ch> going to try and create a PR for new master zfs with stability patch
<hyper_ch> adding a new option but not sure what I should call it
zzamboni has quit [Quit: Leaving.]
anonmafia has quit [Ping timeout: 240 seconds]
<hyper_ch> I'll probably fail though
Myrl-saki has quit [Quit: WeeChat 1.9.1]
<sphalerite> crap, last backup of the files was in November
<sphalerite> this is why automated backups are a good idea…
Myrl-saki has joined #nixos
zzamboni has joined #nixos
<hyper_ch> znapzend :)
<sphalerite> hyper_ch: again, no zfs
<hyper_ch> :(
<hyper_ch> how much ram does the chromebook have?
<sphalerite> 2GB
<sphalerite> wait… damn it
<sphalerite> HAHAHAHAHA
<sphalerite> I feel so stupid and so relieved right now.
<hyper_ch> you just formatted /boot?
<sphalerite> no, I was looking on the wrong device for my data xD
<sphalerite> it's all still there on the USB stick
<hyper_ch> :)
<hyper_ch> still I think that system could handle zfs
* sphalerite sets up automated backup
johnw has quit [Quit: ZNC - http://znc.in]
<sphalerite> rsync to a server which then uses zfs snapshots for versioning :)
johnw has joined #nixos
<hyper_ch> I just recently discovered a new option in rsync :)
<hyper_ch> "--one-file-system"
<clever> du, cp, and ncdu have a similar one, -x
<clever> its handy to avoid making backups of /proc and /sys
<hyper_ch> well, I always put those into --exclude-from
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vNMFB
<NixOS_GitHub> nixpkgs/staging c3a658d Tuomas Tynkkynen: Merge remote-tracking branch 'upstream/master' into staging
NixOS_GitHub has left #nixos [#nixos]
<hyper_ch> and if you want to include some mounts anyway, you can use: --one-file-system --relative / :/mnt/SOME-MOUNT user@remote:/path/to/backup/
<tilpner> clever - Hi, I played around a little with kexec_tarball. You may want to disable redistributable firmware for a ~80MB size improvement
<clever> tilpner: that does sound like a decent improvement
<clever> tilpner: also, related to the kexec trick is https://github.com/cleverca22/nixos-configs/blob/master/rescue_boot.nix
<clever> tilpner: that just takes the same kernel+initrd, throws them into /boot, and adds a menu option for it
<tilpner> Hmm, I don't think I need that one for now. Keeping a few generations is usually enough to get me out of trouble :)
<CapsAdmin> so i'm trying to build nix on msys2 (windows) and i'm writing a bash file with the packages i needed to install and some workarounds
<CapsAdmin> would this fit a wiki somewhere?
<sphalerite> gchristensen: awesome re the updates on ofborg!
<sphalerite> gchristensen: almost forgot about the macbook pro, still interested in that?
<clever> tilpner: the only time ive had to use that rescue boot so far, was to move /nix from the / mountpoint to its own partition, mounted at /nix
<clever> tilpner: such major changes cant be done with the system running
<tilpner> clever - Couldn't it be done with kexec?
<clever> tilpner: it could, but that would improperly shutdown the host
<gchristensen> sphalerite: let's wait until there is better sandboxing :)
<sphalerite> clever: btw, I had a machine recently that was running a version of debian that was too old to upgrade. So I booted into a shell in its initrd, rejiggered the partitions and debootstrapped a new installation from there. This was made possible by knowledge and inspiration provided by you :D
kini has quit [Quit: No Ping reply in 180 seconds.]
<tilpner> clever - What damage will that do in practice, assuming you sync and stop all user processes before?
<clever> sphalerite: :D
<sphalerite> clever: saved me a lot of fussing around with trying to get that machine to boot some removable medium (it doesn't support CD or USB boot)
<sphalerite> clever: do you know about systemctl kexec?
<clever> tilpner: if the filesystem is playing by the rules, sync should prevent any data loss
<clever> sphalerite: yeah, but its not entirely clear how to make it boot a specific image, rather then its own, and i wanted it to work without relying on systemd
<typetetris> Hi there! I want to override a specific haskell package and deactivate tests running on install. I tried it like this, but it doesn't work http://lpaste.net/362008 Could someone help me and tell me, what I did wrong?
<Dezgeg> maybe one could ptrace() pid 1 and force it to re-exec a new system?
<clever> Dezgeg: the kernel wont let you attach to pid 1
<Dezgeg> are you sure?
kini has joined #nixos
<sphalerite> clever: it just boots whatever's already loaded, in nixos's case there's a prepare-kexec service which sets one up but if you disable it using kexec -l and systemctl kexec instead of kexec -e should do the trick
<sphalerite> I think
<clever> typetetris: i believe you want to do haskelll.packages.ghc822.override { overrides = super: self: { .... }; };
<Dezgeg> seems to work for me - gdb ended up breaking in at epoll_pwait() inside systemd
<clever> typetetris: you overwrote the memo-monad in its output, but not the memo-monad that it internally uses for other things
<clever> sphalerite: ah
<clever> sphalerite: id still need to do some systemd detection, and fallback to the improper shutdown when systemd is absent
<sphalerite> clever: couldn't you just leave the kexec -e bit out and tell the user to do either depending? :)
cnidario has joined #nixos
<Dezgeg> oh man, now I need to implement this :)
<clever> Dezgeg: lol
<clever> Dezgeg: also, most init systems already have an RPC function to do this for you
<Dezgeg> possibly
<clever> Dezgeg: systemctl daemon-reexec
<sphalerite> clever: I asked about this on #systemd a while back and the only response was "why would you want to do that" :|
<clever> Dezgeg: that will serialize all of the systemd state to a file, then execve("/sbin/init") or similar, to reload, then deserialize and resume itself as a new version
<Dezgeg> yes
<sphalerite> oh, systemctl switch-root might do what we want
<sphalerite> yeah I'm 90% sure that's the right thing
fyuuri has joined #nixos
alex`` has quit [Quit: WeeChat 1.9]
<typetetris> clever: Thanks. Now I have a somewhat obvious infinite recursion. https://gist.github.com/typetetris/abd0f6abd0dcf9f799de6c618e4aeed6 How can I get the original value of the derivation for overriding, without that recursion?
<typetetris> ah, oh, I have a suspicion
<sphalerite> typetetris: use an overlay rather than packageOverrides
<clever> typetetris: i think i gave super and self backwards for line 7
<sphalerite> I think
<sphalerite> oh yeah that
mrkgnao has quit [Ping timeout: 240 seconds]
taktoa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tomberek opened pull request #34341: gitolite: 3.6.3 -> 3.6.7 (master...gitolite_bump) https://git.io/vNMbS
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Quit: Leaving.]
<CapsAdmin> when i attempt to build nix on msys2 (windows) i get /usr/lib/gcc/x86_64-pc-msys/6.4.0/../../../../x86_64-pc-msys/bin/ld: unrecognized option '-z'
<CapsAdmin> some searching suggests -z is for older versions of ld?
<CapsAdmin> and an alternative might be --allow-multiple-definitions
<CapsAdmin> i can't find where in the source code for nix it's passing -z
<clever> -z keyword
<clever> The recognized keywords are:
<clever> execstack
<clever> Marks the object as requiring executable stack.
<clever> and more
<CapsAdmin> what do you mean?
<clever> CapsAdmin: -z accepts another argument, that tells ld to do something
<CapsAdmin> versions in my environment are GNU ld (GNU Binutils) 2.28; gcc (GCC) 6.4.0
<CapsAdmin> ah
<clever> GNU ld (GNU Binutils) 2.23.51.20121030 has -z in the man page
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb closed pull request #34325: dtools: 2.078.0 -> 2.078.1 (master...dtools2.078.1) https://git.io/vNM4A
NixOS_GitHub has left #nixos [#nixos]
<CapsAdmin> maybe it's safer to use an older version of ld if possible
cinimod has joined #nixos
buhman has joined #nixos
swayf has quit [Remote host closed the connection]
<buhman> nixos seems pretty cool; do people successfully use this as a ~daily desktop OS?
<srhb> buhman: Yep :)
<buhman> nice
<gchristensen> buhman: I run ~6 personal servers, my router, and my laptop on it... :)
<buhman> arm support seemed kindof sketchy according to the wiki, which router is this?
<srhb> gchristensen: Are you unsure of the amount of servers you have? O:-)
<srhb> buhman: A lot of things are happening in the arm space just these days.
<gchristensen> srhb: hard to keep track ;)
<clever> srhb: it takes me a while to count them too :P
<clever> 3 servers, 1 desktop, 1 laptop, plus a laptop i no longer use but it works and has nixos
<clever> and thats just what is in the house
<cinimod> What is this telling me?
<gchristensen> buhman: it is a small form-factor X86 system, not ARM :)
<buhman> gchristensen: even more interesting; which one?
<gchristensen> buhman: http://pcengines.ch/apu2c4.htm
<buhman> ah that
<cinimod> I am staring at the `rgdal` derivation
oida has joined #nixos
<cinimod> ` rgdal = [ pkgs.proj pkgs.gdal ];`
<clever> cinimod: you didnt tell nix-shell what to load, so its probably trying to build every single package in the universe
<cinimod> It seems to be using the shell.nix in the current directory
<CapsAdmin> clever, i don't understand. I don't see the introduction or removal of -z https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=ld/NEWS;hb=refs/tags/binutils-2_30
<cinimod> clever: Should I have used this: `nix-shell . -I nixpkgs=/Users/dom/nixpkgs`?
<clever> cinimod: is there a default.nix or shell.nix file in that directory?
<cinimod> Yes
<clever> cinimod: can you gist that as well?
<cinimod> Sure
fyuuri has quit [Ping timeout: 240 seconds]
boomshroom has joined #nixos
<jtojnar> does anyone here use syncthing-gtk?
<jtojnar> I would like to check https://github.com/NixOS/nixpkgs/pull/32016 but syncthing hates me
Myrl-saki has quit [Ping timeout: 240 seconds]
<clever> cinimod: can you add the default.nix file to that?
<boomshroom> Hello!
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nixos
<boomshroom> I'm still trying to get a bare metal gcc compiler. In the build log, it seems to say that the target system is x86_64-unknown-linux-gnu when it should be i686-none.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb closed pull request #34324: dmd: 2.078.0 -> 2.078.1 (master...dmd2.078.1) https://git.io/vNM4N
NixOS_GitHub has left #nixos [#nixos]
<clever> cinimod: i'm guessing that rgdal is just failing to build
<cinimod> I concur
<cinimod> It seems to be trying to load `libgdal` which tries to load `libmariadb`
<cinimod> It's not clear to me whether it needs `libmariadb`
stqism has quit [Quit: Like 3 fire emojis lit rn 🔥🔥🔥]
<clever> [clever@amd-nixos:~]$ ls -lh /nix/store/wbbxlsnyp1vpwj7rp9d0l0m4d4z425gl-mariadb-connector-c-2.3.4/lib/
stqism has joined #nixos
<clever> cinimod: there is no libmariadb.2.dylib in that directory
<boomshroom> Is it possible to check what target a given binutils was built for?
<clever> something is broken
<cinimod> I have grepped for rgdal in nixpkgs
<clever> boomshroom: gcc has clever@c2d ~ $ gcc -dumpmachine
<clever> x86_64-unknown-linux-gnu
<boomshroom> I don't have a gcc yet. I'm trying to test the binutils that gcc is trying to use and failing.
<cinimod> `rgdal = [ pkgs.proj pkgs.gdal ];`
<cinimod> and `rgdal = derive2 { name="rgdal"; version="1.2-16"; sha256="1j83bc16ndk561vgr67z99gba9bhgcchgir8s504avcs9zmfyzq1"; depends=[sp]; };`
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cinimod> cran-packages.nix contains this `# This file is generated from generate-r-packages.R. DO NOT EDIT.`
<hyper_ch> hmmm... adding a new option next to zfs and zfsUnstable is harder than I thought
<boomshroom> I have a i686-none-binutils in my nix store, but none of its binaries have the prefix and the folder is x86_64-unknown-linux-gnu. I think that the binutils being built is target my native environment despite being passed a different target platform and having a different name.
<cinimod> The package on CRAN has `Depends:R (≥ 3.3.0), methods, sp (≥ 1.1-0)`
magnetop` has joined #nixos
<CapsAdmin> clever, i found that there are already some fixes for CYGWIN
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
magnetophon has quit [Ping timeout: 260 seconds]
<CapsAdmin> some of the nix makefiles it checks if $OS contains CYGWIN
bfrog has joined #nixos
<CapsAdmin> so make OS=CYGWIN solves many of the issues
<clever> nice
stqism has quit [Quit: Like 3 fire emojis lit rn 🔥🔥🔥]
<hyper_ch> Mic92: online?
<boomshroom> I think I'm not properly overriding binutils' targetPlatform.
stqism has joined #nixos
<srid> How do I contribute packaging of a npm package (specifically looking to add https://thelounge.github.io/ to nixos) ? The instructions here https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/node-packages produce a diff of 100000 lines.
asuryawanshi has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
stqism has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 32925f0 Michael Raskin: lispPackages: deduplicate dynamical library search path
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vNMAE
stqism has joined #nixos
xcmw has joined #nixos
<cinimod> clever: this is going to be because I am on MacOS
<boomshroom> How do I build binutils for an alternate target? Currently, I'm defining a target whose config is set to i686-none and overriding binutils-unwraped's target
<boomshroom> How do I build binutils for an alternate target? Currently, I'm defining a target whose config is set to i686-none and overriding binutils-unwraped's targetPlatform with it.
MichaelRaskin has joined #nixos
<hyper_ch> Mic92: attribute ‘zfsCryptoStability’ missing, at /root/nixpkgs/nixos/modules/tasks/filesystems/zfs.nix:33:11 --> not sure where I need to also add that... I thought adding another entry batch there like this https://paste.simplylinux.ch/view/raw/86fd0c66 will then make use of the "zfsCryptoStability" entry in the zfs/default.nix but it seems I am mistaken. No idea where else I need to add something
<cinimod> > <clever> cinimod: there is no libmariadb.2.dylib in that directory
<cinimod> But mariadb/libmariadb.2.dylib does exist
ancarda has joined #nixos
<cinimod> So `gdal` must be broken and R is merely the unlucky vehicle which brings this to light
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #34342: mutt: 1.9.2 -> 1.9.3 (master...update-mutt) https://git.io/vNMx5
NixOS_GitHub has left #nixos [#nixos]
<cinimod> It doesn't mention mariadb as a dependency
<gchristensen> mysql is secretly mariadb
<symphorien> hello, I try to build a package with nix, which fails when installing with: ocamlfind: Cannot mkdir /nix/store/ya1ga5lsr815414990zv1fh50yqsx5fz-ocamlfind-1.7.3/lib/ocamlgraph: Permission denied
<FareTower> is there a tutorial on using nix to compile your own company's stuff?
<symphorien> indeed /nix/store/ya1ga5lsr815414990zv1fh50yqsx5fz-ocamlfind-1.7.3 exists and since it is in the store it is read only
<symphorien> but then, why does nix rebuild it ?
<boomshroom> I don't think binutils is properly receiving its targetPlatform argument.
<MichaelRaskin> FareTower: well, there are many ways.
<LnL> cinimod: there was an issue with the R install_name recently, probably a similar issue
seanparsons has quit [Ping timeout: 260 seconds]
<cinimod> LnL: I think I may have raised it
<MichaelRaskin> FareTower: https://github.com/7c6f434c/7c6f434c-configurations/blob/master/demos/local-packages.nix is also a way of doing this, and it is brute-force enough not to need any tutorial…
<LnL> cinimod: and I may have fixed it :D
bfrog has quit [Quit: WeeChat 2.0.1]
<cinimod> So yo did
<LnL> the library is in $out/lib/mariadb but the install_name points to $out/lib
<Mic92> hyper_ch: grep 'zfs =' pkgs/top-level/all-packages.nix
<cinimod> LnL: yes
<Mic92> grep -nr 'zfs =' pkgs/top-level/all-packages.nix
seanparsons has joined #nixos
Nobabs27[m] has left #nixos ["User left"]
cnidario has quit [Read error: Connection reset by peer]
zzamboni has quit [Quit: Leaving.]
<LnL> yeah
<Wizek> Hello
<boomshroom> Does anyone know why targetPlatform isn't properly passed to binutils?
<Wizek> Is gvim available through nix?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #34344: pmidi: init at 1.7.1 (master...pmidi) https://git.io/vNMh1
NixOS_GitHub has left #nixos [#nixos]
simpson has left #nixos ["WeeChat 1.0.1"]
<Wizek> nix-env -qaP '.*gvim.*' doesn't seem to show it
magnetop` has quit [Ping timeout: 268 seconds]
<cinimod> LnL: thanks very much for fixing the other problem :)
<LnL> Wizek: vimHugeX
<LnL> no problem :)
michiel_l has quit [Ping timeout: 252 seconds]
michiel_l has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy pushed 1 new commit to master: https://git.io/vNMjv
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nix/master 0167eac Eric Wolf: Improve manual on inheriting attributes...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy closed pull request #1822: Improve manual on inheriting attributes (master...master) https://git.io/vNM6U
NixOS_GitHub has left #nixos [#nixos]
<Wizek> LnL: thanks, that worked!
asuryawanshi has joined #nixos
hiratara has quit [Ping timeout: 246 seconds]
knupfer1 has joined #nixos
zzamboni has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
knupfer1 is now known as knupfer
johnsonav has quit [Ping timeout: 248 seconds]
sigmundv__ has joined #nixos
<sphalerite> maintainer doesn't seem interested in https://github.com/NixOS/nixpkgs/pull/33070 , since the build passes and works for me™ could someone with merge access please merge it?
<sphalerite> (ping viric in case you're interested after all? ^)
hiratara has joined #nixos
asuryawanshi has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #34345: mariadb: fix connector-c library install_name on darwin (master...darwin-mariadb) https://git.io/vNMjH
NixOS_GitHub has left #nixos [#nixos]
<LnL> cinimod: ^
jb55 has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #33070: vdrift: fix build, allow parallel building (master...vdrift-fix) https://git.io/vb5tN
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin> I guess I could talk viric into merging this, but makes more sense to merge it myself.
<boomshroom> Can you not use override and overrideAttrs at the same time?
<cinimod> LnL: thanks very much - I'll be there in about 15 minutes
<MichaelRaskin> I mean, he is not too active in Nixpkgs nowadays
orivej has joined #nixos
alex`` has joined #nixos
<MichaelRaskin> (looks at the PR log)… and maybe it is time to ask for commit access…
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vNDeU
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 3661368 Franz Pletz: hyx: init at 0.1.4
zearen has quit [Quit: WeeChat 1.9.1]
sigmundv__ has quit [Ping timeout: 248 seconds]
zearen has joined #nixos
magnetop` has joined #nixos
<boomshroom> I though I might have an ugly but working solution to binutils, and then I get "BFG does not support target i686-pc-none".
magnetop` is now known as magnetophon
<boomshroom> What's the best way of checking if a string contains a given substring?
zearen has quit [Quit: nixos and the rebooting oy vey !]
yenzenz has quit [Ping timeout: 240 seconds]
<LnL> builtins.match, but I think that's new
zearen has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<sphalerite> LnL: no, it's not new. Just changed a bit between 1.11.x and nixUnstable
<sphalerite> MichaelRaskin: thanks!
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<boomshroom> NVM. It appears as though BFD works just find with i686-elf, but not the "supported" i686-none.
xcmw has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
<cinimod> LnL: a lot of C++ is being compiled
stephenjudkins has quit [Remote host closed the connection]
<boomshroom> A lot of C++, you say? I'm currently waiting for binutils to finish. Then I get to move on to GCC.
hiratara has quit [Quit: ZNC - http://znc.in]
erlandsona has joined #nixos
stephenjudkins has joined #nixos
hiratara has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
jb55 has joined #nixos
<boomshroom> Looks like binutils is just finishing up.
stephenjudkins has quit [Remote host closed the connection]
<boomshroom> Now for GCC. More waiting!
stephenjudkins has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
IsmiHalDTux has joined #nixos
IsmiHalDTux has left #nixos [#nixos]
stephenjudkins has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
alex`` has quit [Quit: WeeChat 1.9]
<cinimod> LnL: that built :)
stephenjudkins has joined #nixos
<cinimod> And I am going to go to sleep
<jmorriss[m]> how do I change from bash to zsh?
<boomshroom> Looks like binutils worked like a charm. Now if only wrapBintools didn't wrap i686-elf-ld as ld so GCC couldn't find it...
digitalmentat has joined #nixos
stepcut has quit [Remote host closed the connection]
<jmorriss[m]> I set shell = pkgs.zsh in my configuration.nix
stephenjudkins has quit [Remote host closed the connection]
stepcut has joined #nixos
stephenjudkins has joined #nixos
stepcut has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 248 seconds]
<digitalmentat> does anybody have much experience (or material to read) regarding debugging nixos tests by connecting to the VM?
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
freeman42x[NixOS has quit [Ping timeout: 256 seconds]
<boomshroom> How do I the wrapBintoolsWith's targetPlatform? I had to do some crazy overriding in order to get binutils to even build. I don't care about the rest of nixpkgs, I just want a build of GCC that can target arbitrary triples.
digitalmentat has quit [Quit: Leaving]
<magnetophon> jmorriss[m]: I think you need users.defaultUserShell = "${pkgs.zsh}/bin/zsh";
<magnetophon>
<tilpner> No, pkgs.zsh is enough
<jmorriss[m]> I just had to restart, fixed
kreetx has quit [Ping timeout: 264 seconds]
marusich has joined #nixos
<erlandsona> Anyone here available to help me with a derivation?
spear2 has joined #nixos
<erlandsona> I'm trying to install reaper ala: https://www.youtube.com/watch?v=-LOOHzXkNrM
mojjo has joined #nixos
<erlandsona> I was able to successfully get this working, http://anderspapitto.com/posts/2015-02-28-deb-installation-nixos.html
<erlandsona> Although I don't think I need dpkg for reaper given it's just a tar.xz file?
rauno has joined #nixos
<mojjo> hi!! does anyone have a hint for me how to put some git config into the nixos config? I'm trying to declare my user.name and user.email..'
<tilpner> mojjo - Could try home-manager with https://github.com/rycee/home-manager/pull/97
<tilpner> mojjo - I just make Nix link a gitconfig with those settings into my home, so I don't know how well that'll work though
erlandsona_ has joined #nixos
erlandsona has quit [Ping timeout: 252 seconds]
dbe_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 74ebb70 adisbladis: cryfs: 0.9.7 -> 0.9.8
<NixOS_GitHub> nixpkgs/master 1ca9fb1 adisbladis: cadvisor: 0.26.1 -> 0.28.3
<NixOS_GitHub> nixpkgs/master 92d7901 adisbladis: ccache: 3.3.4 -> 3.3.5
<NixOS_GitHub> [nixpkgs] adisbladis pushed 9 new commits to master: https://git.io/vNDUm
NixOS_GitHub has left #nixos [#nixos]
erlandsona_ is now known as erlandsona
<erlandsona> anyone here?
<boomshroom> I'm here, trying to do something that I probably shouldn't.
fragamus has joined #nixos
MP2E has joined #nixos
<mojjo> tilpner: maybe the second approach is ok for now... works, thanks.
zearen has quit [Ping timeout: 256 seconds]
linuxdaemon has quit [Quit: RIP.]
simukis has quit [Quit: simukis]
<sphalerite_> Dezgeg: you mentioned mmc_utils yesterday, any commands in particular I should try in order to get the first 8MB of my eMMC writable? I've tried mmc writeprotect get /dev/mmcblk2 and that indicates that it's not the standard write-protection mechanism, as far as I can tell: http://ix.io/EMX
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 740b16e adisbladis: offlineimap: 7.1.4 -> 7.1.5
<NixOS_GitHub> nixpkgs/master c2dcf10 adisbladis: krita: 3.3.2 -> 3.3.3
<NixOS_GitHub> [nixpkgs] adisbladis pushed 6 new commits to master: https://git.io/vNDTf
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 1f80e73 adisbladis: redis: 4.0.6 -> 4.0.7
<sphalerite_> a lot of the other commands look very scary
<Dezgeg> there's some mechanism in the protocol to set a range of blocks write-protected
<Dezgeg> but that one you quoted is a yet different mechanism
tv has quit [Ping timeout: 240 seconds]
<sphalerite_> right... that sounds like what I need. Do you know how to access it?
<adisbladis[m]> erlandsona_: It looks like a binary package so you would have to patchelf it
ssmike1 has joined #nixos
<Dezgeg> it's commands 28-31 to set & query, but I don't know if there's an existing linux tool to use them
zearen has joined #nixos
ssmike has quit [Ping timeout: 256 seconds]
ssmike1 is now known as ssmike
<erlandsona> adisbladis[m]: I'm planning on using nixpkgs.buildFHSUserEnv?
<Dezgeg> but it would be weird if no other owner of that model has figured it out already and documented on how to disable it?
<adisbladis[m]> erlandsona: You might not have to. I _might_ be possible to patch the binary to load its shared libraries from the nix store.
dbe_ has quit [Ping timeout: 240 seconds]
linuxdaemon has joined #nixos
<sphalerite_> Dezgeg: yeah it's weird... Maybe they have but I can't find it because it's drowned out by all the "remove the write protect screw for the firmware flash memory" material
<adisbladis[m]> erlandsona: Here is an example of a non-trivial binary package where we do that sort of thing: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/instant-messengers/teamspeak/client.nix
<adisbladis[m]> erlandsona: Though in some cases you really do have to use buildFHSUserEnv
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bennofs has joined #nixos
<erlandsona> adisbladis[m]: So I have a derivation that's building but it's pretty broken / I have no idea what I'm missing... trying to nixpaste
tv has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34341: gitolite: 3.6.3 -> 3.6.7 (master...gitolite_bump) https://git.io/vNMbS
fyuuri has joined #nixos
ssmike has quit [Ping timeout: 256 seconds]
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] aneeshusa opened pull request #34347: vagrant: Make bsdtar available to extract boxes (master...make-bsdtar-available-for-vagrant) https://git.io/vNDkq
asuryawanshi has joined #nixos
stepcut has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
3NAAABFLJ has joined #nixos
<3NAAABFLJ> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNDk8
<3NAAABFLJ> nixpkgs/master 48474a7 adisbladis: Merge pull request #34300 from magnetophon/magnetophonDSP...
3NAAABFLJ has left #nixos [#nixos]
<3NAAABFLJ> nixpkgs/master f59ea00 Bart Brouns: magnetophonDSP: remove workarounds for:...
07EAAU4QA has joined #nixos
<07EAAU4QA> [nixpkgs] adisbladis closed pull request #34300: magnetophonDSP: remove workarounds for: (master...magnetophonDSP) https://git.io/vNXyt
07EAAU4QA has left #nixos [#nixos]
mojjo has quit [Remote host closed the connection]
asuryawanshi has quit [Ping timeout: 264 seconds]
<boomshroom> How do I set the targetPlatform for gcc and bintools? I was able to hack binutils to build for my desired target by bypassing most of nixpkgs, but gcc wants bintools which doesn't seem to give me the same freedom.
marusich has quit [Ping timeout: 265 seconds]
<boomshroom> Who here knows about building cross-compilers on Nix?
marusich has joined #nixos