<sir_guy_carleton>
so i'm trying to add virtualbox with the extension pack, so i added virtualisation.virtualbox.host.package = pkgs.virtualboxWithExtpack to configuration.nix, but nothing seems to happen
<sir_guy_carleton>
i've got nixpkgs set to allow unfree
lassulus_ has joined #nixos
<infinisil>
Down to 900 open PR's! I'm done merging for today
maximiliantagher has joined #nixos
<aanderse>
infinisil: i'm hoping that issue about new people with commit access will lay out some at least semi solid guidelines so people who *want* to help will know what they should be working toward
justanotheruser has quit [Ping timeout: 246 seconds]
hlolli__ has joined #nixos
Garbanzo has joined #nixos
hlolli_ has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
o1lo01ol1o has joined #nixos
justanotheruser has quit [Ping timeout: 252 seconds]
<{^_^}>
[nixpkgs] @hyphon81 opened pull request #50221 → pythonPackages.gym; init at 0.9.6 → https://git.io/fptoc
goibhniu has joined #nixos
endformationage has quit [Quit: WeeChat 2.3]
sippeangelo has quit [Remote host closed the connection]
justanotheruser has joined #nixos
ottidmes has quit [Ping timeout: 252 seconds]
kyren has joined #nixos
drakonis2 has quit [Ping timeout: 252 seconds]
<kyren>
does anyone here use home-manager on macos?
justanotheruser has quit [Ping timeout: 244 seconds]
<kyren>
I don't know if this is exactly the right channel to ask questions about it, but in case it is: it doesn't seem to source ~/.nix-profile/etc/profile/nix.sh in the managed shell configuration, and I'm not sure how to convince it to
drakonis2 has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
drakonis2 is now known as drakonis
goibhniu has quit [Ping timeout: 252 seconds]
justanotheruser has joined #nixos
justanotheruser has quit [Ping timeout: 268 seconds]
<jasongrossman>
kyren: This is a good channel for that question; just there seems to be nobody around who can answer it at the moment. Try again later.
hlolli__ has quit [Ping timeout: 245 seconds]
dbmikus has quit [Quit: WeeChat 1.9.1]
<kyren>
I will check back later, it's very possible I just misunderstand what home-manager is supposed to do
<kyren>
until then I think I can manage to *make* it work, I just am not sure whether it's the right way or not or whether there's some smarter way to do it
camsbury has joined #nixos
justanotheruser has joined #nixos
camsbury has quit [Ping timeout: 252 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
freeman42x]NixOS has quit [Ping timeout: 272 seconds]
<kyren>
yeah it's super easy to just add a line to profileExtra, just felt a bit gross
justanotheruser has quit [Ping timeout: 252 seconds]
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 240 seconds]
aleph- has joined #nixos
freeman42x]NixOS has joined #nixos
worldofpeace has quit [Ping timeout: 244 seconds]
oldandwise has joined #nixos
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 252 seconds]
freeman42x]NixOS has quit [Ping timeout: 246 seconds]
<lejonet>
wait what, all of a sudden my nixops, that was perfectly fine with distributing the armv7 builds to my odroid yesterday is whining that my desktop isn't a arm system, again?! (and this time not seemingly not even trying to distribute the build)
xvnvx has joined #nixos
<lejonet>
it would seem like its the kernel its choking on, is there anything special that needs to be done to distribute kernel builds?
<kenogo>
Hey everyone, I'm trying to install drivers for my Brother MFC-9332CDW. Sadly, there are no free drivers available. The only thing you can get is either .deb or .rpm packages including the binaries from the official Brother website
rihardsk has joined #nixos
__monty__ has joined #nixos
<kenogo>
Is there a good way to write a nix expression that installs the .deb package? I extracted it and it contained a directory strcuture like opt/brother/Printers/mfc9332cdw. I'm unsure how cups is supposed to figure out that Brother drivers are in this directory
<kenogo>
Oh sorry I didn't make it clear from the start that Brother is a printer manufacturer and I'm trying to install printer drivers
<srk>
you can take a look at hplip (printer drivers) and steam (deb usage)
<Ke>
check perhaps, what chromium does with widevine
<kenogo>
Thanks for pointing me somewhere! This should help
sb0 has joined #nixos
maximiliantagher has joined #nixos
silver_hook has quit [Quit: ZNC 1.6.5+deb1 - http://znc.in]
<sphalerite>
kenogo: for printing or scanning?
<sphalerite>
kenogo: brscan4 is already packaged, though I'm not sure how to use it
<sphalerite>
and iirc (though this bit may well be wrong) generic drivers often work
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<romildo>
Is it possible to tell nix-build to print the command lines that are being run when building a package? If so, how?
mayhewluke has quit [Ping timeout: 252 seconds]
<{^_^}>
[nixpkgs] @Ekleog closed pull request #50028 → nixosTests: use hostPlatform.system instead of builtins.currentSystem → https://git.io/fpI9x
mayhewluke has joined #nixos
init_6 has quit []
orivej has quit [Ping timeout: 272 seconds]
Saliven has joined #nixos
<Saliven>
Hi, when a patchPhase is specified in a derivation, you have to apply any patches by yourself (instead of just adding them to the patches attr), right? If so, can I override a package and remove the patchPhase attribute so that the patches get automatically applied again?
<{^_^}>
[nixpkgs] @dotlambda pushed commit from @etu to master « gitea: 1.5.2 -> 1.5.3 (#50229) »: https://git.io/fptdI
shpx has joined #nixos
crmlt has joined #nixos
cross has quit [Ping timeout: 252 seconds]
vidbina has quit [Quit: vidbina]
ixxie has quit [Ping timeout: 252 seconds]
FRidh has quit [Read error: Connection reset by peer]
Guanin has quit [Ping timeout: 252 seconds]
<{^_^}>
[nixpkgs] @dotlambda pushed commit from @etu to release-18.09 « gitea: 1.5.2 -> 1.5.3 (#50229) »: https://git.io/fptdN
<{^_^}>
[nixpkgs] @aanderse opened pull request #50234 → nixos-generate-config: account for mount points & devices with spaces in the name → https://git.io/fptFU
Thra11 has quit [Ping timeout: 240 seconds]
sigmundv__ has joined #nixos
<aanderse>
infinisil: still running nixos test on local system regarding PR 50234
<aanderse>
ohh... nevermind... github automatically pulled you into that PR. i thought you were actually reviewing it manually already. ignore me :)
maximiliantagher has joined #nixos
wucke13 has quit [Quit: WeeChat 2.2]
nschoe has joined #nixos
romildo has quit [Read error: Connection reset by peer]
<stepcut>
I am having a tough time getting ~/.nixpkgs/config.nix and overlays to play well together when overriding packages. I have added the package to ~/.nixpkgs/config.nix and `nix-build <nixpkgs> -A haskell.packages.ghc843.foo` builds that version. But if something in the `overlays` depends on `foo` it does not seem to use the version in ~/.nixpkg/config.nix. I've tried both overrides and extend. Is there some place that documents current bes
shpx has quit [Read error: Connection reset by peer]
<Saliven>
Can I use removeAttrs to remove patchPhase from an existing package inside of an overlay? I need to specify patches to apply and have them applied, so I'd like to move the existing patchPhase to postPatch.
dbmikus has joined #nixos
maximiliantagher has quit [Ping timeout: 272 seconds]
drakonis1 has quit [Read error: Connection reset by peer]
<zarel>
does someone have a service (e.g. gitolite) whose state is in a manually mounted/unlocked filesystem?
drakonis has joined #nixos
ottidmes has joined #nixos
crmlt has quit [Remote host closed the connection]
<zarel>
I suppose the most automatic thing would be to have systemd manage the whole thing and let the services depend on a unit that says when the FS has been unlocked
<sphalerite>
zarel: I don't, but what's your actual question?
<sphalerite>
right
<zarel>
sphalerite: just needed a confirmation that I'm not trying to do this in the most convoluted way possible :-p
<zarel>
now that you make me think of it there is nothing nixos specific in my question, sorry for the accidental spam
maximiliantagher has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos
sippeangelo has joined #nixos
evilem is now known as emerson
mmercier has joined #nixos
orivej has joined #nixos
vidbina has quit [Ping timeout: 244 seconds]
simendsjo has quit [Ping timeout: 272 seconds]
dbmikus has quit [Ping timeout: 252 seconds]
Saliven has quit [Ping timeout: 256 seconds]
maximiliantagher has joined #nixos
<{^_^}>
[nixpkgs] @jtojnar pushed 159 commits to gnome-3.30: https://git.io/fpthL
worldofpeace has joined #nixos
hdeshev has quit [Quit: Leaving.]
kp__ has quit [Ping timeout: 252 seconds]
Saliven has joined #nixos
<Saliven>
makefu: Thanks! That worked great.
mkoenig has joined #nixos
<sippeangelo>
Anyone had any luck with the Ansible docker_service module? I've installed python with the docker_compose package according to instructions on the wiki, but Ansible complains that it can't find the "compose" module, and I can't either when manually running "python -m compose"...
ThatDocsLady has joined #nixos
mmercier has quit [Quit: mmercier]
IRCsum has quit [Remote host closed the connection]
ThatDocsLady has quit [Read error: Connection timed out]
mmercier has joined #nixos
IRCsum has joined #nixos
sigmundv__ has quit [Ping timeout: 244 seconds]
kp__ has joined #nixos
mmercier has quit [Quit: mmercier]
Thra11 has joined #nixos
maximiliantagher has quit [Ping timeout: 245 seconds]
jperras has joined #nixos
maximiliantagher has joined #nixos
<{^_^}>
[nixpkgs] @tathougies opened pull request #50239 → Add options to build disk image function → https://git.io/fpqvs
sanscoeur has joined #nixos
FPtje has joined #nixos
<{^_^}>
[nixpkgs] @tathougies opened pull request #50240 → Disable more X libraries for no-x-libs options → https://git.io/fpqv8
<{^_^}>
[nixpkgs] @tathougies opened pull request #50241 → linuxPackages_custom should accept a list of kernel patches → https://git.io/fpqvR
sanscoeur has quit [Remote host closed the connection]
<ottidmes>
in bash, how can I assign a path containing potential spaces and ~, if I quote it, it takes the path as literal (including ~), this is breaking a script in one of my NixOS modules
<samueldr>
ottidmes: echo ~/"test with spaces"
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<makefu>
or use $HOME instead
<samueldr>
~ will be expanded only if not quoted, and to concatenate use quotes without spacing
<samueldr>
looks at this annoying thing `echo "a""b""c"`
<{^_^}>
[nixpkgs] @tathougies opened pull request #50242 → Enable musl support for ebtables → https://git.io/fpqvw
<ottidmes>
I have this: default = "~/.vscode/extensions"; which is used like this: dst='${cfg.extensionsDir}'/ms-vsliveshare.vsliveshare
<ottidmes>
I guess I could just make it "$HOME/.vscode/extensions" and dst="${cfg.extensionsDir}"/ms-vsliveshare.vsliveshare
<samueldr>
probably easier to understand in the end
<{^_^}>
[nixpkgs] @tathougies opened pull request #50244 → make-wrapper should use runtimeShell, not bash, for cross-compilation → https://git.io/fpqvM
<gchristensen>
who is this tathougies person and whoa buddy
johnny101 has joined #nixos
<glasserc>
When I do "nix-env -iA nixos.jq.man", I don't see a man page for it in ~/.nix-profile, but when I do "nix-build '<nixos>' -A jq.all", I see it in result-man. Is there a way to install man pages for just one package?
thc202 has joined #nixos
erictapen has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @tathougies opened pull request #50245 → Enable cross compilation for cpython 2.7 → https://git.io/fpqfq
<{^_^}>
[nixpkgs] @aszlig opened pull request #50246 → libredirect: Add support for Darwin → https://git.io/fpqfO
pxc has joined #nixos
pxc has quit [Client Quit]
johnny101 has quit [Quit: Konversation terminated!]
kp__ has quit [Ping timeout: 252 seconds]
<ottidmes>
hmm, I have a systemd.user.services that does not seem to restart if the ExecStart is changed (I modified the script) when I do nixos-rebuild switch, I checked the options manual and it says restartIfChanged is true by default, what am I missing?
maximiliantagher has quit [Ping timeout: 268 seconds]
haitlah has joined #nixos
<gchristensen>
user services don't get the same treatment, I don't think
jperras has quit [Ping timeout: 246 seconds]
<gchristensen>
I have some crappy workarounds for it, it'd be nice to make it work properly
maximiliantagher has joined #nixos
<ottidmes>
gchristensen: but it does get started properly at boot with: wantedBy = [ "default.target" ]; right? that is the most important for the module in question
<clever>
ottidmes: i almost always use multi-user.target
<clever>
oh, but i'm dealing with system services, not user services
<clever>
samueldr: you can even mix single and double, echo "a"'b'"c"'d'
<samueldr>
definitely
<clever>
which allows you to have `echo "a"'"b"'"c"'d'` -> `a"b"cd`
<clever>
no need to escape doubles
<samueldr>
but you probably shouldn't :)
<clever>
i do it when i'm trying to template some json
<clever>
echo '{"field":"'"$value"'"}'
<clever>
bit hard to read, but the $value is quoted and spaces are contained, and there is no ugly \" on every single json "
<gchristensen>
ottidmes: on next login, yes for sure
<infinisil>
pie_: So yeah, that's installed via nix-env
<infinisil>
which overrides your system wide stuff
<pie_>
uh.
<pie_>
hold on
<infinisil>
uninstall thunderbird from nix-env to have the system one apply
<pie_>
infinisil, crap you're right, i forgot to uninstall thunderbird when i was cleaning up my env
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pie_>
thanks
zolk3ri has quit [Quit: Lost terminal]
<ottidmes>
another example why nix-env should be discouraged, nix-shell FTW
<infinisil>
If only nix-env would be declarative by default
<pie_>
ottidmes, i was actually hoping theres something to "turn off" nix-env somehow (to prevent accidents like this) but i didnt see anything
maximiliantagher has quit [Remote host closed the connection]
<pie_>
"just dont use it" isnt really helpful?
maximiliantagher has joined #nixos
<ottidmes>
pie_: environment.systemPackages = with pkgs; [ (hiPrio (writeShBin "nix-env" "echo 'How dare you go back to your imperative ways! Declerative configuration FTW! Use `nix-shell` instead if you want to try something.'")) ];
<infinisil>
pie_: alias nix-env="echo NO"
<infinisil>
:P
<ottidmes>
haha
<infinisil>
This has the advantage that home-manager can still use nix-env (because it needs it)
vidbina has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
<pie_>
ottidmes, sure but this does nothing about things that dont involve running nix-env (i.e. what i just ran into)
<infinisil>
pie_: Ah, you can just not include the nix-env profile
<infinisil>
Not exactly sure how one would do that, but I'm sure it's achievable somehow with NixOS options
<clever>
ottidmes: nix-channel internally uses nix-env to manage things
<pie_>
i guess i want some kind of imperative state watchdog or something :P
<clever>
ottidmes: i also prefer `nix run` when i only want to run a binary
<pie_>
or just, a tool to help clean it up
<ottidmes>
clever: then again, I never use nix-channel
<clever>
ottidmes: you may want to know how .nix-defexpr works then
<clever>
this creates a "channel" called foo, so you can nix-env -iA foo.hello
<ottidmes>
pie_: you would disable nix-env after cleaning it completely, then it does prevent you from this use case (of course you could other shadowing PATH issues yourself, but thats unrelated to nix-env)
<clever>
nix-env will recursively search ~/.nix-defexpr/ for any nix files, foo.nix turns into a channel called foo, foo/default.nix turns into a channel called foo
<clever>
once it finds such a file, it stops recursing down that path
<clever>
oh, but if your entirely disabling nix-env, it doesnt really matter
<ottidmes>
clever: I just stay away from all that
<ivan>
I've got a hydra and I have 4 builds stuck on nvidia downloads, is this normal
<stepcut>
I used nixops deploy to provision a machine many moons ago. Now I need to collect the garbage. If I log into that machine and run `nix-env --list-generations` it shows me a different set of generations than if I do `nixops list-generations -d deployment`. How concerned should I be that running `nix-collect-garbage` on the remote machine will remove the stuff that nixops added?
<gchristensen>
ivan: they don't seem to have been running long. I wouldn't say it is wrong exctly
<ivan>
the curls are alive and printing status somewhere. just basically hung on zero throughput. too bad.
<gchristensen>
weird
fragamus has joined #nixos
<ivan>
nvidia has very bad http servers that sometimes flip bits, so I am not surprised they do this too
<ivan>
they have a FAQ entry that blames the user for corrupt downloads
sippeangelo has quit [Ping timeout: 245 seconds]
maximiliantagher has quit [Ping timeout: 268 seconds]
maximiliantagher has joined #nixos
<{^_^}>
[nixpkgs] @romildo opened pull request #50247 → jxrlib: init at 1.1 → https://git.io/fpqTj
maximiliantagher has quit [Remote host closed the connection]
<{^_^}>
worldofpeace: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<samueldr>
so you probably want something like "''${arr[@]}"
<samueldr>
(which is a mess in a non-monospaced font!)
<worldofpeace>
samueldr: Just figured it as you sent that :P . I always remember the the backslash but never the ''
<samueldr>
(if I ever need to do something like that, I end up resorting to making a fragment string holding the desired string, makes it easier to understand the script)
mayhewluke has quit [Ping timeout: 252 seconds]
<samueldr>
so something like let arr' = "\${arr[@]}" in '' foo ${arr'} '';
<worldofpeace>
oh right, that is a lot cleaner
mayhewluke has joined #nixos
<samueldr>
I hate having to think when reading code, so I hate escaping hell
alphor has joined #nixos
<infinisil>
Escaping "" quotes within bash heredocs within nix '' strings is fun :P
maximiliantagher has joined #nixos
<worldofpeace>
infinisil: I'd like to see how that looks :D
maximiliantagher has quit [Ping timeout: 246 seconds]
mmercier has quit [Remote host closed the connection]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<worldofpeace>
Someone was asking today for an approximation for when a change on staging would hit master. Any comments? I'm not completely informed on the current workflow.
drakonis_ has quit [Ping timeout: 250 seconds]
jhillyerd has joined #nixos
<lejonet>
gchristensen: do you know if there is anything special with the building of a kernel? At least nixops doesn't even try to distribute it, which is a problem
Itkovian has joined #nixos
<gchristensen>
lejonet: you've set up remote builds?
<gchristensen>
lejonet: your machines file needs to have the big-parallel feature for the remote builder. ie: ndndx x86_64-darwin - 4 1 big-parallel
<lejonet>
gchristensen: well, it seemingly started to work yesterday when you helped me see why it failed SSH (it compiled stuff for quite some time after that)
<jhillyerd>
Hi all, new to nixos. I'm wondering if there is a way to create a symlink from configuration.nix. I'd like to have www-browser point to the current version of google-chrome-stable
<lejonet>
Ah, okay
<lejonet>
that makes sense, because I've set no such thing on the machine
<lejonet>
gchristensen: is there any easy way to ask nix build/nixops why it didn't distribute a build?
<gchristensen>
you can `nix show-derivation /nix/store/the.drv` and look at the features field
<gchristensen>
but easy, no
<joko>
jhillyerd: current version as the one in environment.systemPackages?
<lejonet>
gchristensen: well, nix show-derivation and sift through the output is "easy enough" for my curiosity, thank you :)
<jhillyerd>
joko: yeah, I think so. The system wide installed version.
<gchristensen>
:)
<lejonet>
gchristensen: the field is even labelled "requiredSystemFeatures", so its chrystal clear :P
<gchristensen>
:D
<lejonet>
as its json it would also be dead simple to create an alias with jq that gives me that from a drv path :P
<gchristensen>
yay json :)
<lejonet>
indeed :D
mmercier has joined #nixos
<lejonet>
wuhu, it works :D
<gchristensen>
ok time to finish making pie. good luck
<gchristensen>
woot!
<lejonet>
Thank you again for the help and gl with the pie :)
<gchristensen>
thanks :) first time using lard. hoping the crust comes out right!
<lejonet>
oooh :)
aleph- has joined #nixos
cross has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Read error: Connection reset by peer]
mmercier_ has joined #nixos
mmercier_ has quit [Remote host closed the connection]
cross has quit [Remote host closed the connection]
<joko>
jhillyerd: you could find it then at /run/current-system/sw/bin, you could create a symlink pointing there
<joko>
srhb: do you have any feedback for reverting "NixOS tests: Wait for shell for 10x longer (50m)"?
aleph- has quit [Read error: Connection reset by peer]
FPtje has quit [Quit: Leaving]
<jhillyerd>
joko: Is the a programmatic way to do that with the nix configuration? I guess I can just do manually to /bin; but seemed like a learning opportunity. :)
<srhb>
joko: What do you mean?
<srhb>
joko: Oh, did you read the comments on the PR? :)
<{^_^}>
#49777 (by srhb, 6 days ago, merged): Revert "NixOS tests: Wait for shell for 10x longer (50m)"
<srhb>
joko: Hmm, my conclusion was that it didn't make a difference. Maybe I was mistaken, in which case I'm very interested.
<joko>
Damn
<srhb>
Well, it *might* make a difference and we *might* still have a different source of timeouts that is not helped by the timeout increase.
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes>
jhillyerd: in environment.systemPackages = with pkgs; [ (writeShBin "www-browser" ''exec ${google-chrome}/bin/google-chrome-stable "$@"'') ];
<srhb>
joko: fwiw if you're truly seeing timeouts where the VM is not started after 5 minutes, it will indeed help. But if the system is _up_ by then, it's not that.
<srhb>
s/not started/not done starting up
<ottidmes>
joko: you probably want writeScriptBin instead of writeShBin, and might want to add #!/bin/sh on top of it (which is what my writeShBin does)
<ottidmes>
jhillyerd: ^ (was meant for your)
<joko>
srhb: I think that's the case with Gitlab runners, I mean the test on my workstation takes less than 3 minutes to finish, in the runner more like 40
Itkovian has joined #nixos
<srhb>
joko: I'm not surprised. Historically it hasn't actually worked for years. Maybe my commit truly did something to it...
<joko>
But I had also the ssh backdoor commit reverted there
<joko>
Let me check again
<srhb>
joko: Ah, great debug case. :)
<jhillyerd>
ottidmes: thanks, giving it a shot
<srhb>
joko: Incidentally I feel the installer tests _are_ failing more often after I reverted it, too...
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
romildo has joined #nixos
<romildo>
Is there an environment variable for the build root directory in nixpkgs tha can be read when a package is built?
maximiliantagher has joined #nixos
<srhb>
romildo: $buildRoot, iirc :P
maximiliantagher has quit [Ping timeout: 244 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<jhillyerd>
ottidmes: cool, got it working with writeShellScriptBin, thanks.
zarel has quit [Quit: Leaving]
dbmikus has joined #nixos
<clever>
romildo: there is also $NIX_BUILD_TOP which i believe will be what you want
<ottidmes>
jhillyerd: you could also have made a symlink by doing: pkgs.runCommand "www-browser" ''mkdir -p $out/bin; ln -s ${google-chrome}/bin/google-chrome-stable $out/bin/www-browser'', but the script version is a bit more flexible, e.g. allowing you to give it extra arguments as well
LogicAside has quit [Remote host closed the connection]
Itkovian has joined #nixos
shabius has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
shabius has quit [Read error: Connection reset by peer]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever>
steveeJ: what did the --debug show prior to nix-env?
<ottidmes>
any way to supress the output of a program in journalctl? I tried wrapping it: `exec cmd > /dev/null 2>&1`, that did not work, I tried disabling it in the program itself, that did not work, so now I am thinking, surely systemd has something with which you supress or limit the output written to the journal? Any suggestions? Its not a systemd service, so I cannot configure it that way
<clever>
ottidmes: if the exec didnt work, then the program is likely connecting directly to journald
<ottidmes>
clever: and there is no way to configure journald to say, ignore what foo says?
<clever>
ottidmes: you first want to figure out exactly how the data is getting there, check `/proc/<pid>/fd/` for foo, and see what it has open, and check it with strace to see how the logs get out
<ottidmes>
clever: if I directly do `cmd > /dev/null 2>&1` it does work, but with my modified makeWrapper it does not, so it does not seem like its writing directly to journald
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
Thra11 has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @fuerbringer opened pull request #50252 → diskus: init at 0.4.0 → https://git.io/fpqOM
romanofskiWork has joined #nixos
Guanin_ has joined #nixos
romanofskiWork has quit [Read error: Connection reset by peer]
<ottidmes>
clever: I am just going to make an issue at the program, when I finally did manage to suppress it, it no longer works, so it actually needs the output
Guanin__ has joined #nixos
romanofskiWork has joined #nixos
Guanin has quit [Ping timeout: 252 seconds]
Guanin_ has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @Ericson2314 merged pull request #50223 → go: make compiler usable for cross compiles → https://git.io/fpt6x
<tathougies>
Is there a way to serve a binary cache containing only the directories not found in another binary cache?
<tathougies>
Say, for example, I don't want to serve the derivations that can be downloaded from cache.nixos.org?
<simpson>
tathougies: That's on your users, I think, to configure multiple caches and to put them in order so that cache.nixos.org is first.
jmeredith has quit [Quit: Connection closed for inactivity]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
<tathougies>
simpson: I mainly was interested in serving a cache via S3, and hoping to avoid uploading the entire closure, since many derivations can be downloaded directly
<tathougies>
does that make sense ?
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
dbmikus has quit [Ping timeout: 252 seconds]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<simpson>
tathougies: Sure. How much space were you hoping to save? Could Cachix perhaps be a better solution for you?
vidbina has quit [Ping timeout: 246 seconds]
Guanin__ has quit [Ping timeout: 252 seconds]
Rusty1 has joined #nixos
mayhewluke has quit [Ping timeout: 276 seconds]
mayhewluke has joined #nixos
Ariakenom has quit [Quit: Leaving]
<tathougies>
simpson: cachix may be a good solution.