<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?
<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
<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
<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"
<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
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]
<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
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...
<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?
<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.
<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.
<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
<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'`
<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?
<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
<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…]
<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)
<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
<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
<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
<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…]
<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
<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
<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
<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.
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.
<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.
<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
<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.
<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
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?
<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
<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
<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...
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?