<{^_^}>
[nixpkgs] @zimbatm merged pull request #108763 → nixos/gitlab-runner: add support for 'docker+machine' and 'docker-ssh+machine' executors → https://git.io/JLpLG
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @misuzu to master « nixos/gitlab-runner: add support for 'docker+machine' and 'docker-ssh+machine' executors (#108763) »: https://git.io/JtnMV
rawtaz has quit [Changing host]
rawtaz has joined #nixos
ManiacOfMadness has quit [Ping timeout: 272 seconds]
teto has quit [Ping timeout: 264 seconds]
proofofkeags has joined #nixos
kalbasit has quit [Ping timeout: 264 seconds]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
kalbasit has joined #nixos
mbrgm_ has joined #nixos
jonringer has quit [Remote host closed the connection]
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
bennofs has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @AndersonTorres pushed 2 commits to release-20.09: https://git.io/JtnQF
heyitsrama has quit [Read error: Connection reset by peer]
YellowOnion has joined #nixos
<YellowOnion>
How much extra space do I need for a large nix-build? or can I replace "cp" with "mv" in a build script to save space?
invra has quit [Quit: WeeChat 2.3]
knupfer1 has joined #nixos
sleepyMonad has joined #nixos
rb2k has quit [Read error: Connection reset by peer]
rb2k_ has joined #nixos
knupfer1 is now known as knupfer
sigmundv__ has quit [Ping timeout: 260 seconds]
BlessJah_ has joined #nixos
m15k has quit [Ping timeout: 248 seconds]
BlessJah has quit [Ping timeout: 264 seconds]
virus_dave has quit [Quit: virus_dave]
rb2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @r-burns opened pull request #110828 → lib/systems: fix linuxArch for power + riscv → https://git.io/Jtn5Q
bitmapper has joined #nixos
h0m1 has quit [Ping timeout: 272 seconds]
h0m1 has joined #nixos
invra has joined #nixos
<invra>
does nix-env -i automatically writes the packages i installed in /etc/nixos/configuration.nix
<bqv>
No! (?!)
<invra>
im a bit confused on how nix works
<invra>
for example if i want to change DE what do i have to do
<invra>
change the configuration.nix?
<colemickens>
yes
<invra>
and redun nix-install?
<invra>
rerun*
<colemickens>
invra: if you're already installed, you'd just want to run `sudo nixos-rebuild [verb]`
<invra>
and will it get rid of my old DE?
<colemickens>
what do you mean by get rid of?
zebrag has quit [Quit: Konversation terminated!]
<colemickens>
if you disable an old one and enable the new one, the old bits will stick around in the store until garbage collection, but it will not be available on PATH, you won't see it's systemd units, etc.
zebrag has joined #nixos
<invra>
i mean now i am running pantheon since i isntalled.. and i dont like it as its missing the pantheon-tweaks package... so i want to install gnome
<invra>
whats the correct approach
<colemickens>
edit configuration.nix
<invra>
change the configuration.nix
<invra>
ok
stevenxl has quit [Quit: Connection closed for inactivity]
<invra>
and then run sudo nixos-rebuild
<invra>
=?
<infinisil>
invra: Yes
<invra>
with what option?
<invra>
switch ?
<infinisil>
invra: I really suggest reading some NixOS introduction
<infinisil>
Yes switch
attila_lendvai has quit [Ping timeout: 272 seconds]
YellowOnion has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @Ericson2314 merged pull request #110828 → lib/systems: fix linuxArch for power + riscv → https://git.io/Jtn5Q
novotny has quit [Remote host closed the connection]
<bqv>
KarlJoad: why not make src a stdenv derivation then
<bqv>
Phases can only run once, you'll end up with a mess if you try
novotny has joined #nixos
<KarlJoad>
bqv: So just have the buildPhase copy the source to $out and then let the fixupPhase run the first time, for src. Then use the outer mkDerivation to do the actual build?
<bqv>
Yeah
<bqv>
Well, I'd use installPhase and have dontBuild=true, but yeah
<KarlJoad>
Minor problem with that. The script I need to run does git submodule fetching and updating...
<infinisil>
KarlJoad: Why do you need to run the fixupPhase on the source?
<krkini>
I have a patch that needs to be applied to a subdirectory of a packages `src`; is there a handy patch munger somewhere in nixpkgs I can use to make this happen, or do I need to write a `postPatch` to manually `pushd` into the right place and run `patch`?
<infinisil>
KarlJoad: And what's fixupPhase got to do with that?
<infinisil>
krkini: Yeah fetchpatch supports that, check out its arguments :)
krkini is now known as kini
<kini>
oof really? sorry for the dumb question then, haha
<KarlJoad>
infinisil: The last part is to initialize the submodules required for ChipYard. The script they provide uses bash with the "standard" `/usr/bin/env bash`.
<infinisil>
kini: Oh that's definitely not a dumb question, almost nobody knows about that, and it's not really documented anywhere
est31 has joined #nixos
<infinisil>
KarlJoad: Then call `patchShebangs` manually in `postPatch`
<kini>
Yeah, I searched for fetchpatch in the nixpkgs manual and didn't see anything about that argument - I see it in the source code though
<KarlJoad>
infinisil: Ahhh... That's what I was looking for.
<bqv>
Oh I figured it was a patchelf you wanted, scripts are easy
<KarlJoad>
Does pkgs.fetchFromGitHub remove the .git directory?
<KarlJoad>
It seems to be missing when I use it, but I keep the .githooks, .github, etc. directories.
<infinisil>
Unless you specify `fetchSubmodules = true` it never even fetches any .git
xped has joined #nixos
<infinisil>
And you might also need `keepDotGit = true`
<infinisil>
I mean, `leaveDotGit`
<bqv>
Iirc there was a bug where if you had both it broke
<infinisil>
KarlJoad: If you only need .git for a version, I suggest just patching that though
<KarlJoad>
Odd that it broke things, but that explains things.
<bqv>
Make your own .git, with ******** and hookers
buckley310 has joined #nixos
MidAutumnHotaru has quit [Quit: Quit 啾]
D_ has joined #nixos
MidAutumnHotaru has joined #nixos
<KarlJoad>
infinisil: It doesn't seem like `leaveDotGit` nor `keepDotGit` are parameters to fetchFromGitHub
<kini>
infinisil: sadly `extraPrefix` doesn't work very well when a file is deleted or created from scratch, since it seems to produce stuff like `prefix//dev/null`, lol
<bqv>
KarlJoad: use fetchgit directly
<bqv>
Probably not being passed through
<KarlJoad>
Alrighty. I was starting to wonder if that was the better option.
<bqv>
KarlJoad: the hash with and without that flag are different
<bqv>
Nix won't tell you if it has a cache hit but for the wrong data
<bqv>
It will fail successfullyi
<bqv>
(Change the hash)
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
kalbasit_ has joined #nixos
<KarlJoad>
bqv: Alright. So I seem to have the right hash now. But, now I'm getting a git submodule problem. The script attempts to init some submodules, but I get a pathspec error. Does it make more sense for Nix to get the submodules, and then run the script?
<{^_^}>
[nixpkgs] @anna328p opened pull request #110831 → byrd: init at git-20200312 → https://git.io/JtnNj
dandart has quit [Ping timeout: 240 seconds]
<bqv>
If you want network access, you'll need an output hash. do it through nix, yeah
<KarlJoad>
Would a call to `git submodule update` complete immediately then?
<KarlJoad>
For a given submodule that nix already fetched and put in place I mean.
<bqv>
Idk I avoid submodules like the smallpox
<KarlJoad>
I try to as well, but this project has used it extensively, and bleh. I just want to get a nix-shell going with this program and other dependencies going.
dandart has joined #nixos
kapil_ has quit [Read error: Connection timed out]
kapil_ has joined #nixos
dandart has quit [Ping timeout: 264 seconds]
knupfer has quit [Remote host closed the connection]
xacktm has quit [Ping timeout: 264 seconds]
endformationage has quit [Quit: WeeChat 2.9]
mschwaig has quit [Ping timeout: 264 seconds]
<tpw_rules>
so i'm trying to package something which can optionally have a closed source firmware blob compiled into it. what should its license be? i was thinking unfreeRedistributable if that option is turned on and the original license otherwise. this is for a USB peripheral. is unfreeRedistributableFirmware appropriate? i imagine that's intended more for things like wifi cards which you need to have a working PC
mschwaig has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
kapil_ has quit [Ping timeout: 265 seconds]
kapil_ has joined #nixos
riksteri has joined #nixos
virus_dave has quit [Quit: virus_dave]
winny is now known as wInNy
spudly1 has quit [Ping timeout: 265 seconds]
gustavderdrache has quit [Quit: Leaving.]
<energizer>
is that like chromium with enableWidevine
dnlkrgr has joined #nixos
simba2 has joined #nixos
lordcirth_ has quit [Ping timeout: 264 seconds]
spudly1 has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
virus_dave has joined #nixos
oxalica has quit [Quit: oxalica]
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 4 commits to staging-next: https://git.io/Jtce2
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 5 commits to staging: https://git.io/Jtcea
<DigitalKiwi>
i know flakes are the future and all and it's got the big EXPERIMENTAL label and it's free so i can't complain ... but these repeated disappointments of things i can't do anymore are daunting
mmlb7 has joined #nixos
<DigitalKiwi>
and tbf i do spend hundreds of hours making shit work in nixpkgs ;_;
notgne2 has quit [Ping timeout: 260 seconds]
invra has quit [Ping timeout: 264 seconds]
<DigitalKiwi>
or git bisecting when it breaks :|
notgne2 has joined #nixos
mmlb has quit [Ping timeout: 264 seconds]
mmlb7 is now known as mmlb
mikroskeem has joined #nixos
invra has joined #nixos
<{^_^}>
[rfcs] @jonringer opened pull request #85 → [RFC 0085] ZHF on master, set release freeze dates → https://git.io/Jtcv5
chr0ma[m] has left #nixos ["User left"]
<bqv>
DigitalKiwi: irritatingly, only flake paths or expressions can be installed via nix profile. Usually I just modify my flake to have what I'm spitballing, then install it with '/path/to/flake#path.to.drv'
<adisbladis>
Hail_Spacecake: Yes, it's impossible to do so in a fully automated fashion
<Hail_Spacecake>
adisbladis: why's that?
<adisbladis>
Hail_Spacecake: Many deployments are not as simple as a configuration.nix but include files from a bunch of locations, sometimes dynamically
invra has quit [Quit: WeeChat 2.3]
<adisbladis>
You'd also have to copy over the entirety of nixpkgs, and any other external repos you include
<Hail_Spacecake>
another problem i'm running into
<adisbladis>
And even then Nixops has it's own Nix expressions, so a `nixos-rebuild switch` on the host does not result in exactly the same system
<Hail_Spacecake>
I'm just starting to use nixops with more than one machine
<Hail_Spacecake>
and it promps me for just "Password"
<adisbladis>
You're better off copying manually if you want that behaviour
<Hail_Spacecake>
but doesn't seem to accept either of the root passwords for the machines
<Hail_Spacecake>
and I can't tell which machine it wants the password for
<Hail_Spacecake>
it just seems to think both of them are wrong
lsix1 has joined #nixos
<Hail_Spacecake>
people must be deploying with nixops to more than one nixos machine, right?
<Hail_Spacecake>
also, waht's the point of generating a ssh key if it's just gonna prompt me for a password every time I change the system anyway?
InvisibleRasta has joined #nixos
<adisbladis>
Hail_Spacecake: It will upload the key after the first successful auth
<Hail_Spacecake>
also are people using nixops 1.7 or 2.0?
<Hail_Spacecake>
adisbladis: then why is it still asking me for a password?
<adisbladis>
Hail_Spacecake: Most are still using 1.7, 2.0 is still in development
<adisbladis>
Hail_Spacecake: Because it's trying to do the initial auth
<adisbladis>
You never successfully authed at all using nixops I guess
<Hail_Spacecake>
hm, maybe I am using nixops all wrong
<Hail_Spacecake>
I have my local version of the config files, I run `nixops create <mainfile.nix> -d my-deployment
<Hail_Spacecake>
`
<Hail_Spacecake>
and this gives me a UUID
<adisbladis>
So far so good
<Hail_Spacecake>
and then I run nixops deploy -d UUID
<adisbladis>
You're not holding it wrong :)
<Hail_Spacecake>
and that either deploys or I have a syntax error
<Hail_Spacecake>
and then it prompts me for the root password, which I put in
teto has quit [Ping timeout: 264 seconds]
<Hail_Spacecake>
also, I have now accumulated a bunch of old delpoyments when I run `nixops list`
<Hail_Spacecake>
that seems wrong
<adisbladis>
Can you trace the log on the other end?
<adisbladis>
You shouldn't do `nixops create` more than once for a deployment
<Hail_Spacecake>
what log should I be looking for on the machines I'm deploying to?
<adisbladis>
I'd just `journalctl -f`
<Hail_Spacecake>
once I make a deployment, does it pay attention to changes to the .nix files?
<adisbladis>
Yes
<Hail_Spacecake>
okay so I've been needlessly creating deployments I didn't need to
<Hail_Spacecake>
I probably wanna delete most of them
<adisbladis>
Hail_Spacecake: You can nuke the sqlite db and start over :)
<{^_^}>
nix-community/poetry2nix#241 (by kuklopio, 1 hour ago, open): 'No matching distribution found for cryptography >= 1.4; extra == "crypto"' when using azure-api-core
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/Jtcsr
fendor has joined #nixos
evils has quit [Ping timeout: 265 seconds]
coral92 has joined #nixos
<coral92>
I'm trying to run some legacy python2.7 app, when i run nix-build it fails to build pytest due to latest setuptools beeing used, is there a way to define older version to build it via default.nix ?
attila_lendvai has quit [Read error: Connection reset by peer]
attila_lendvai has joined #nixos
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
<{^_^}>
[nixpkgs] @r-burns opened pull request #110838 → llvmPackages_rocm.clang: add isClang and llvm passthru → https://git.io/JtcGY
<__monty__>
coral92: Maybe open an issue on this. It sounds to me like the setuptools in python27Packages may be too new. Since PSF is hard at work removing python 2 support.
<__monty__>
Hmm, that does sound very weird. What is the actual error output you're getting?
orivej has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<coral92>
distutils.errors.DistutilsError: Setup script /tmp/nix-build-python2.7-pytest-4.6.5.drv-0/easy_install-BmsFLn/setuptools-52.0.0/setup.py exited with ("error: package directory 'find_namespace:' does not exist",) (this is a bit modified as i wanted to see which setuptools it actually uses)
hexa- has joined #nixos
<coral92>
i edited /nix/store/dldi0k4v13439l1s1h52agc2i7bwcrxw-python2.7-bootstrapped-pip-9.0.1/lib/python2.7/site-packages/setuptools/command/easy_install.py to see this.
<__monty__>
Oof, looks like an impurity to me. I'm not familiar enough with the python infra to help out.
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<coral92>
yeah it does, ok i'll try to debug this to find why it uses this version...
<__monty__>
I suspect pip fetches the latest setuptools or something. Which sounds boneheaded tbh.
simba2 has quit [Ping timeout: 260 seconds]
<coral92>
yes i suspect that too, but that is so odd, in this bootstrapped pip there are already setuptools from version that nix has.
respawn_ has quit [Quit: Leaving]
<coral92>
this pip even have the correct version there.
<coral92>
ls -la /nix/store/dldi0k4v13439l1s1h52agc2i7bwcrxw-python2.7-bootstrapped-pip-9.0.1/lib/python2.7/site-packages | grep setuptools
<coral92>
dr-xr-xr-x 4 ubuntu ubuntu 4096 Jan 1 1970 setuptools
<coral92>
dr-xr-xr-x 2 ubuntu ubuntu 4096 Jan 1 1970 setuptools-38.4.0.dist-info
<__monty__>
Yes, in isolation the line I gave would work. In context though you're passing a function as an argument to an attrset, so that's not right. I'm not even sure what the first line is trying to achieve.
<__monty__>
I also want to ask that you clearly indicate your choice of libreSSL over openSSL in the README. That's fairly fundamental and not something I'd want to stumble over later as a user.
<nixbitcoin>
Seems overlays were removed in another commit
<nixbitcoin>
readme: will do. I just pushed the change to show you.
<__monty__>
Ok, great.
<__monty__>
What are you trying to achieve with the first line though?
<__monty__>
An overlay can have multiple packages being overlayed like so: `self: super: { openssl = super.libressl; myPkg1 = super.callPackage (import ./myPkg1) {}; }`
<__monty__>
If you want to override "pkgs" I guess you could do `self: super: import ./myPkgs.nix`.
<__monty__>
That will prevent you from composing overlays though. So I don't recommend it.
<mgsk>
So uh I tried to update my nixos version doing something like https://unix.stackexchange.com/questions/491727/how-do-i-upgrade-nixos-to-use-a-new-channel-nixos-version It didn't work out too well. Nevermind, I can roll back / undo the changes to configuration.nix. That mostly has worked, except I'm occasionally hitting segfaults when working in some environments. Namely, if my shell uses openssl as a library then I get a
<mgsk>
segfault when using any openssl stuff. Here is an example:
<{^_^}>
[nixpkgs] @akoppela opened pull request #110845 → elmPackages: Updates Elm node packages to latest versions. → https://git.io/JtcWc
<mgsk>
I will be perfectly honest: maybe. It was a lil while back, and I'm only just now getting to trying to fix it. I would like to say "no" because there's a big fat warning above that line.
simba2 has joined #nixos
<__monty__>
If you did you'll need open heart surgery. And I'm not qualified so my recommendation would be a complete re-install.
hiro98 has quit [Ping timeout: 260 seconds]
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos
<mgsk>
Let's assume I did not. Any thoughts on what you might do to further investigate?
mahogany has joined #nixos
<__monty__>
An overlay that changes that linker lib. But that sounds like a stdenv change to me so it would entail rebuilding everything, without cache.
<nixbitcoin>
__monty__: should packages automatically recompile when using an overlay?
coderobe has quit [Quit: Ping timeout (120 seconds)]
Ox4A6F has joined #nixos
deselby has joined #nixos
DamienCassou has joined #nixos
Ericson2314 has joined #nixos
l-as has joined #nixos
NobbZ[m] has joined #nixos
TheWizardTower[m has joined #nixos
alexfmpe has joined #nixos
Minijackson has joined #nixos
alienpirate5 has joined #nixos
anderscs[m] has joined #nixos
alexrelis[m] has joined #nixos
abbec has joined #nixos
apache8080[m] has joined #nixos
artturin has joined #nixos
avalenn has joined #nixos
awwayaya24hours[ has joined #nixos
aveeran[m] has joined #nixos
bachp has joined #nixos
b1nch0[m] has joined #nixos
bbigras has joined #nixos
bohan[m] has joined #nixos
Brio[m] has joined #nixos
chreekat[m] has joined #nixos
chpatrick has joined #nixos
chrismatheson has joined #nixos
daemon1024 has joined #nixos
crazazy[m] has joined #nixos
colemickens has joined #nixos
danielrf[m] has joined #nixos
davegallant[m] has joined #nixos
davidak[m] has joined #nixos
danmatrix[m] has joined #nixos
domenkozar[m] has joined #nixos
dtz has joined #nixos
diegov_ has joined #nixos
dznumidian[m] has joined #nixos
eadwu has joined #nixos
eddyb has joined #nixos
emily has joined #nixos
fgaz has joined #nixos
fiveseven[m] has joined #nixos
garbas[m] has joined #nixos
gulplante[m] has joined #nixos
hiroshi[m] has joined #nixos
Hm7000 has joined #nixos
Hasnep[m] has joined #nixos
hpfr has joined #nixos
hsiktas[m] has joined #nixos
DavHau[m] has joined #nixos
itai33[m] has joined #nixos
tgys[m] has joined #nixos
jasongrossman[m] has joined #nixos
jakeisnt[m] has joined #nixos
jdally987[m] has joined #nixos
jschievink has joined #nixos
JonasWouters[m] has joined #nixos
jtojnar has joined #nixos
kateskips has joined #nixos
ChrisOboe[m] has joined #nixos
anzbev[m] has joined #nixos
anonymouserobot[ has joined #nixos
SplitFire[m] has joined #nixos
atemu12[m] has joined #nixos
McSinyx[m] has joined #nixos
mcaju has joined #nixos
botayhard[m] has joined #nixos
felschr[m] has joined #nixos
enblanco[m] has joined #nixos
fufexan[m] has joined #nixos
kaziemazie[m] has joined #nixos
arghzero[m] has joined #nixos
linuxct[m] has joined #nixos
kevincox[m] has joined #nixos
leibniz[m] has joined #nixos
kfr[m] has joined #nixos
lambdaclan has joined #nixos
figsoda[m] has joined #nixos
littlebenlittle[ has joined #nixos
lycium[m] has joined #nixos
gahha[m] has joined #nixos
M-GNU-[m] has joined #nixos
codyopel has joined #nixos
fintohaps[m] has joined #nixos
goibhniu has joined #nixos
grahamc[m] has joined #nixos
lytedev[m] has joined #nixos
manveru[m] has joined #nixos
mcbits[m] has joined #nixos
maximumtix[m] has joined #nixos
mindtree[m] has joined #nixos
nasirhm has joined #nixos
mr_whoknows[m] has joined #nixos
jakosimov[m] has joined #nixos
critbase[m] has joined #nixos
nh2[m] has joined #nixos
nikivi[m] has joined #nixos
nilsirl[m] has joined #nixos
nikola[m] has joined #nixos
Schicko has joined #nixos
oht[m] has joined #nixos
Nigel[m] has joined #nixos
ongy[m] has joined #nixos
mica[m] has joined #nixos
Poscat[m] has joined #nixos
pinage404[m] has joined #nixos
psibi[m] has joined #nixos
jbal[m] has joined #nixos
rednaZ[m] has joined #nixos
rcorrear has joined #nixos
roberth has joined #nixos
ronny has joined #nixos
scheibenkleister has joined #nixos
regnat has joined #nixos
ryantm has joined #nixos
yurb has joined #nixos
ram19890[m] has joined #nixos
shu9 has joined #nixos
siraben has joined #nixos
FreeVariable has joined #nixos
Bla[m] has joined #nixos
slby[m] has joined #nixos
srid has joined #nixos
sshow[m] has joined #nixos
st3r4g[m] has joined #nixos
stu_[m] has joined #nixos
stites[m] has joined #nixos
ThaEwat has joined #nixos
thefloweringash has joined #nixos
regnat[m] has joined #nixos
timokau[m] has joined #nixos
tsmeets[m] has joined #nixos
unclechu has joined #nixos
contrun has joined #nixos
wenngle[m] has joined #nixos
willghatch has joined #nixos
worldofpeace has joined #nixos
Yakulu[m] has joined #nixos
ydlr[m] has joined #nixos
kunrooted[m] has joined #nixos
ili has joined #nixos
jhantkw[m] has joined #nixos
berberman[T] has joined #nixos
firelink[m] has joined #nixos
Ollie[m]1 has joined #nixos
ptotter[m] has joined #nixos
tim140123[m] has joined #nixos
fadenb[m] has joined #nixos
M86ul[m]1 has joined #nixos
dunc4n has joined #nixos
cyberwolf[m] has joined #nixos
tuxcoder[m] has joined #nixos
revity[m] has joined #nixos
dnlkrgr[m] has joined #nixos
govanify has joined #nixos
alexarice[m] has joined #nixos
lostnet[m] has joined #nixos
jaexilgilroyPhil has joined #nixos
bsima[m] has joined #nixos
jakubgramsz[m] has joined #nixos
matthewkenigsber has joined #nixos
mupf[m] has joined #nixos
m1kr0[m] has joined #nixos
mt[m] has joined #nixos
mnm[m] has joined #nixos
miangraham[m] has joined #nixos
e8zhf[m] has joined #nixos
jdnixx[m] has joined #nixos
tcakoi has joined #nixos
bourbon has joined #nixos
AlesHuzik[m] has joined #nixos
neonfuz2 has joined #nixos
chvp has joined #nixos
yangm has joined #nixos
aynish has joined #nixos
nickbublik[m] has joined #nixos
omasanori[m] has joined #nixos
xeron832 has joined #nixos
slabity has joined #nixos
q3k[m] has joined #nixos
noneucat has joined #nixos
sterni[m] has joined #nixos
neuronuser1[m] has joined #nixos
jlle[m] has joined #nixos
ptitfred[m] has joined #nixos
ptman_[m] has joined #nixos
peterhoeg has joined #nixos
pisquo[m] has joined #nixos
Piece_Maker has joined #nixos
humancalico[m] has joined #nixos
creme[m] has joined #nixos
sephi[m] has joined #nixos
qasaur[m] has joined #nixos
meno460[m] has joined #nixos
codebam has joined #nixos
puzzlewolf has joined #nixos
Valodim[m] has joined #nixos
mvtva[m] has joined #nixos
mhj[m] has joined #nixos
Lurkki[m]1 has joined #nixos
us3r[m] has joined #nixos
rymarllon[m] has joined #nixos
kevin[m]1 has joined #nixos
mjlbach has joined #nixos
ejpcmac has joined #nixos
spinlock[m] has joined #nixos
qbit[m] has joined #nixos
musicmatze has joined #nixos
ragge42[m] has joined #nixos
jonte[m] has joined #nixos
jgart[m] has joined #nixos
themalik[m] has joined #nixos
ziguana[m] has joined #nixos
M86ul[m] has joined #nixos
Dazey[m] has joined #nixos
madonius[m] has joined #nixos
Raphael[m] has joined #nixos
sophos[m] has joined #nixos
michaelpj has joined #nixos
SethDoty[m] has joined #nixos
Vanilla[m] has joined #nixos
tyrion-mx has joined #nixos
scentofiron[m] has joined #nixos
ice7[m] has joined #nixos
hazel[m] has joined #nixos
l33[m] has joined #nixos
zane has joined #nixos
vyorkin[m] has joined #nixos
winsome[m] has joined #nixos
AntonioYang[m] has joined #nixos
axx has joined #nixos
rhyfore[m] has joined #nixos
phfas[m] has joined #nixos
andrey1978[m] has joined #nixos
talvdav[m] has joined #nixos
petrichor has joined #nixos
faya01[m] has joined #nixos
leonardp has joined #nixos
Lorenzoas3ii[m] has joined #nixos
xd-inc[m] has joined #nixos
terahawk[m] has joined #nixos
nicolas[m] has joined #nixos
fc[m]1 has joined #nixos
Wraul[m] has joined #nixos
cypher25519[m] has joined #nixos
nujabells[m] has joined #nixos
phr3nzy[m] has joined #nixos
esac[m] has joined #nixos
myscreant[m] has joined #nixos
kueckieben[m] has joined #nixos
gurkan[m] has joined #nixos
boogiewoogie[m] has joined #nixos
Ke has joined #nixos
kloenk has joined #nixos
hades_[m] has joined #nixos
grin[m] has joined #nixos
rubensts[m] has joined #nixos
nh2nh2me[m] has joined #nixos
viq[m] has joined #nixos
samir420[m] has joined #nixos
jojosch[m] has joined #nixos
rschulman has joined #nixos
Kimat[m] has joined #nixos
a12l has joined #nixos
maralorn has joined #nixos
leons has joined #nixos
ncm[m] has joined #nixos
tad-lispy[m] has joined #nixos
jvytee[m] has joined #nixos
JJJollyjim has joined #nixos
cemguresci[m] has joined #nixos
rnhmjoj has joined #nixos
fuzzybear3965 has joined #nixos
ms[m] has joined #nixos
fortuneteller2k[ has joined #nixos
rycee has joined #nixos
Dandellion has joined #nixos
macerbi[m] has joined #nixos
tilcreator has joined #nixos
Duane[m] has joined #nixos
kraem has joined #nixos
Tek[m] has joined #nixos
cwNovusordoseclo has joined #nixos
ma27[m] has joined #nixos
dennisthepeasant has joined #nixos
iv_nn[m] has joined #nixos
pbr_1973[m] has joined #nixos
JaakkoLuttinen[m has joined #nixos
georgyo[m] has joined #nixos
solomon[m] has joined #nixos
aanderse has joined #nixos
coderobe has joined #nixos
Karonis[m] has joined #nixos
evhan[m] has joined #nixos
veleiro has joined #nixos
s7evink[m] has joined #nixos
tomfi[m] has joined #nixos
lambdanature[m] has joined #nixos
totoroot[m] has joined #nixos
Raimu[m] has joined #nixos
dumuzid[m] has joined #nixos
CodeBitCookie[m] has joined #nixos
travelion[m] has joined #nixos
boskote[m] has joined #nixos
Sylvain[m] has joined #nixos
yog[m] has joined #nixos
p12[m] has joined #nixos
jsilence[m] has joined #nixos
keash[m] has joined #nixos
Danzig[m] has joined #nixos
aramiscd[m] has joined #nixos
sarcasticadmin has joined #nixos
shivanatm[m] has joined #nixos
stufful[m] has joined #nixos
wizeman[m] has joined #nixos
rmcgibbo[m] has joined #nixos
test1[m] has joined #nixos
silare[m] has joined #nixos
lorenzleutgeb[m] has joined #nixos
iuiiik[m] has joined #nixos
tombar[m] has joined #nixos
george[m] has joined #nixos
notgne2[m] has joined #nixos
fast_invsqrt[m] has joined #nixos
regnat[m]1 has joined #nixos
linus0[m] has joined #nixos
sargon[m] has joined #nixos
pnotequalnp[m] has joined #nixos
OJ[m] has joined #nixos
eganjs[m] has joined #nixos
pebo007[m] has joined #nixos
kyren has joined #nixos
hzertez7[m] has joined #nixos
matrix61[m] has joined #nixos
<__monty__>
nixbitcoin: If one of their dependencies changed, yes.
<mgsk>
fwiw, switching openssl to libressl unblocks me for now
Qwerky has quit [Remote host closed the connection]
<alp>
hello. I'm having trouble getting sharing of my entire screen to work from either firefox or chromium, under gnome. I can share any specific window from the workspace in which the firefox/chromium windows live, but not the entire screen. does anyone have any clue about why that might be, and how I can find out the problem/fix this?
WilliButz has quit [Ping timeout: 240 seconds]
clerie has left #nixos ["Leaving"]
<Emantor>
alp: If you are running gnome with wayland, you will need a running xdg-desktop-portal with xdg-desktop-portal-gtk, otherwise the screen sharing won't work.
<noonien>
when trying to do a remote nixos-rebuild, like so: `nixos-rebuild switch --build-host localhost --target-host user@<host> --flake '.#<host>' --use-remote-sudo`, i get the following error: error: cannot add path '/nix/store/6qwy772b6zkzphrz1f0arz8h3gp5460v-etc-os-release' because it lacks a valid signature ; here is the entire log: http://ix.io/2NnF
<noonien>
tnks: hello, sorry for the tag, i see you've had a similar issue in the past, with path signature validation when doing a nix-copy-closure. have you managed to find a solution?
<{^_^}>
[nix] @regnat pushed 2 commits to ca/error-logging-fixes: https://git.io/JtcEp
turion has quit [Quit: Leaving.]
<{^_^}>
[nixpkgs] @mweinelt merged pull request #110848 → [20.09] home-assistant: mark as insecure → https://git.io/Jtc4i
<{^_^}>
[nixpkgs] @mweinelt pushed 2 commits to release-20.09: https://git.io/Jtcuo
ardumont has joined #nixos
Dotz0cat has quit [Ping timeout: 265 seconds]
jmeredith has joined #nixos
berberman_ has joined #nixos
berberman has quit [Ping timeout: 264 seconds]
lordcirth has joined #nixos
<Emantor>
alp: No further idea, I don't use the gnome3 desktop myself, but know of the woes of screen sharing with wayland.
<Emantor>
alp: Maybe open an issue or search the issues again on the repo.
jiribenes has joined #nixos
jD91mZM2 has quit [Ping timeout: 240 seconds]
<JaakkoLuttinen[m>
Has Python develop mode in nixpkgs recently changed somehow? I have `shell.nix` which uses `src=./.` in `buildPythonPackage`. When the shell env is created, I can see the package is installed, but when I try to import it in Python REPL, I get `ModuleNotFoundError`..
jD91mZM2 has joined #nixos
<JaakkoLuttinen[m>
Other packages that were listed in `propagatedBuildInputs` can be imported just fine.
rauno has joined #nixos
<__monty__>
JaakkoLuttinen[m: Are you opening a shell for the package or including the package in a shell.nix?
<JaakkoLuttinen[m>
__monty__: Not sure I understand exactly what you mean.. I have `shell.nix` with `buildPythonPackage` that has `src=./.`. Then I just run `nix-shell` in that directory..
pbox has joined #nixos
rotaerk has quit [Ping timeout: 272 seconds]
<JaakkoLuttinen[m>
Oh, and of course if I ran `python` REPL in that same directory, it would find the package because it's right there. But if in the nix shell I first change the working directory, then start Python REPL, then it doesn't find the package anymore. So, it's not getting properly installed.
<__monty__>
Do you do something like `(buildPythonPackage ...).shell`?
<__monty__>
A nix-shell for a package you're developing would not include that package. That's normal.
<JaakkoLuttinen[m>
`pip freeze` doesn't list the package either
vidbina_ has joined #nixos
<__monty__>
It's a shell with all the requirements to *build* the package.
<JaakkoLuttinen[m>
__monty__: Ah, right!
<JaakkoLuttinen[m>
__monty__: Then I find the manual section 15.19.1.3 confusing, because the package doesn't get installed in develop mode then
<JaakkoLuttinen[m>
__monty__: If that example doesn't install the package in develop mode as it claims..
<{^_^}>
[nixpkgs] @SuperSandro2000 opened pull request #110857 → treewide: Fix or comment where fetchFromGitHub fetches a commit which is not on a branch on the specified repo → https://git.io/JtczP
<__monty__>
Where does it claim to do so?
<JaakkoLuttinen[m>
__monty__: I mean, should that example install the package or not?
<__monty__>
Oh, was looking at 15.19.1.1.3.
<JaakkoLuttinen[m>
__monty__: "As a Python developer you’re likely aware of development mode (python setup.py develop); instead of installing the package this command creates a special link to the project code. That way, you can run updated code without having to reinstall after each and every change you make. Development mode is also available. -- If we create a shell.nix file which calls buildPythonPackage, and if src is a local
<JaakkoLuttinen[m>
source, and if the local source has a setup.py, then development mode is activated. "
virus_dave has quit [Quit: virus_dave]
snajpa has joined #nixos
<JaakkoLuttinen[m>
__monty__: At least `python setup.py develop` means that a special link is created so that one can import the package
amir has quit [Read error: Connection reset by peer]
<JaakkoLuttinen[m>
__monty__: `python setup.py develop` installs in such a way that `pip freeze` lists the package and the package can be imported no matter what the current working directory is.
amir has joined #nixos
Qwerky has joined #nixos
zebrag has joined #nixos
<{^_^}>
[nixpkgs] @jrick opened pull request #110858 → oksh: Add shellPath for use as user shells → https://git.io/JtcgG
cfricke has joined #nixos
<noonien>
can i make nix-copy-closure --to use sudo?
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JtcaB
hexa- has quit [Ping timeout: 240 seconds]
ManiacOfMadness has joined #nixos
aither has joined #nixos
<alp>
Emantor, heh, it's not the first time that I try to face this problem head on, and neither is it the first time that my head hurts and the problem wins. :)
<alp>
I've done a fair bit of searching but nothing seems sufficient to make it work. oh well, 'til next time
rb2k has quit [Read error: Connection reset by peer]
rb2k has joined #nixos
<__monty__>
Np, wasn't much help. Couldn't find the relevant code so I gave up. Good luck on getting an answer/fix!
rb2k has quit [Read error: Connection reset by peer]
rb2k has joined #nixos
rb2k has quit [Client Quit]
kalbasit has joined #nixos
hexa- has joined #nixos
sigmundv__ has quit [Read error: Connection reset by peer]
sigmundv__ has joined #nixos
<fendor_>
are there some tricks to get bluetooth working? It used to work yesterday, but today, it stopped working showing messags such as "Connection Refused"
<fendor_>
KDE Bluetooth GUI also just says "Connection failed"
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jtcww
<mahogany>
I'm trying to package some ancient ant-based java projects as nixpkg. it's a true pain. are there ways to ignore certain files inside a fixed-ouput derivation?
<AWizzArd>
In the git repo I can find the freshest commit hash – but where can I find the corresponding sha256?
<dutchie>
easiest way is to TOFU
<dutchie>
,tofu
<{^_^}>
To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000), then replace it with the correct hash Nix expected. For inserting 52 0's in vim: <esc>52i0<esc>
<AWizzArd>
nevermind, I just realized it’s written in the comments
<dutchie>
oh that works too
mallox has joined #nixos
MarcWeber has quit [Ping timeout: 246 seconds]
<tpw_rules>
mahogany: what do you want to accomplish by ignoring them?
<bennofs>
stdenv.lib.fakeSha256 btw
<bennofs>
is there something to make nix-prefetch-url/git/... output nix-syntax for copy&paste?
<V>
s/stdenv.//
<mahogany>
bennofs: I found another workaround. The task for fetching dependencies was creating a file containing the current time inside a comment. I just delete the comment and the issue should be gone
fendor_ is now known as fendor
<V>
bennofs: no, but you could easily write a wrapper
ahmedelgabri has joined #nixos
<bennofs>
yeah, probably just a jq oneliner.
mallox has quit [Quit: WeeChat 3.0]
dramaturg has quit [Quit: dramaturg]
<mahogany>
tpw_rules: I mentioned the wrong person...
ahmedelgabri has quit [Ping timeout: 264 seconds]
<noonien>
does anyone have any experience with `nix-copy-closure`, or `nix copy`? i can't seem to be able to figure out how to make it work
<AWizzArd>
dutchie: that page suggests to pin a version. Can I just place this builtins.fetchTarball { .. } into my configuration.nix? It seems that it is not getting accepted.
<dutchie>
you'll want something like `let nur = builtins.fetchTarball { ... }; in ...`
DanC has quit [Read error: Connection reset by peer]
DanC has joined #nixos
<noonien>
if anyone is reading the logs, and is trying to use `nix copy` with remote sudo, because of `cannot add path ... because it lacks a valid signature
<cole-h>
Maybe want to quote the `sudo nix-store`?
saschagrunert has quit [Remote host closed the connection]
<noonien>
argh, forgot to copy the quotation
<cole-h>
Phew
Qwerky has quit [Remote host closed the connection]
<noonien>
the actual command is: ``nix copy --to "ssh://<host>?remote-program=sudo nix-store" <path>`
critbase[m]1 has joined #nixos
<noonien>
grr, wish i could modify messages on irc
<cole-h>
Just type them right the first time ;D
<noonien>
anyway, i'm now trying to learn what `switch` and `boot` does after building the derivation
lsix1 has quit [Ping timeout: 264 seconds]
lsix1 has joined #nixos
<noonien>
from what I can tell, `nix-env -p /nix/var/nix/profiles/system --set /path/to/drv` is called
wrench has joined #nixos
<noonien>
i'm guessing that's to set the system root profile, so it doesn't get GC-ed, after which `/path/to/drv/bin/switch-to-configuration switch/boot` is called
erasmas has joined #nixos
hmenke has joined #nixos
<hmenke>
I'm trying to run Nix in pure evaluation mode: nix-build ./default.nix --option pure-eval true
<hmenke>
But this gives me an error like
<hmenke>
error: access to path '/path/to/default.nix' is forbidden in restricted mode
<hmenke>
That's of course very pure, but kind of defeats the purpose if I can't even access the file I'm trying to evaluate.
<hmenke>
What am I doing wrong here?
<AWizzArd>
dutchie: that worked.
evils has quit [Remote host closed the connection]
DanC has quit [Read error: Connection reset by peer]
dckc- has joined #nixos
<cole-h>
Interesting... I'd say no.
<lordcirth>
asymmetric, cole-h: As I understand it, sshd runs as root, and spawns subprocesses running as "sshd" during login. So that is normal.
evils has joined #nixos
<cole-h>
Interesting x2.
<cransom>
there's privilege separation involved. it runs as root initially
<lordcirth>
It has to run as root in order to spawn shells as other users. But it fork()s and the fork setuid()s to "sshd" to run the pam modules and stuff
<asymmetric>
lordcirth: would i be able to confirm this with `ps`? i only see processes owned by root with `ps auxwww`
<lordcirth>
asymmetric, try starting a new ssh session, and while it's at the password prompt, look again
dckc- has quit [Read error: Connection reset by peer]
hyper_ch has quit [Client Quit]
<asymmetric>
lordcirth++
<{^_^}>
lordcirth's karma got increased to 16
DanC has joined #nixos
cheriimoya has quit [Quit: killed]
das_j has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
mrpi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
<{^_^}>
[nixpkgs] @prusnak opened pull request #110863 → mosquitto-2: init at 2.0.5 → https://git.io/JtcPJ
<lordcirth>
This "systemd-analyze security" is cool though. Is there an option to set a ton of these things at once, then undo a few if it breaks? I'd like to lock down IPFS
<nhs>
Quick question, does anyone use nix for CI? I'm setting up a local project to be built using nix, I plan on using a server side git hook to invoke nix-build on every commit. The derivation for my project uses fetchgit to fetch the latest sources, which works great except for the fact that I need to provide a sha256. What is the right way to deal with this? Copy the hash code from fetchgit in nixpkgs? I
<nhs>
can't seem to find a way to disable the hash checking
<hmenke>
lordcirth: Try adding DynamicUser, PrivateTmp, and PrivateDevices (in that order). If your service still works then you can lock everything else down as well.
Dotz0cat has joined #nixos
<hmenke>
nhs: builtins.fetchGit doesn't need a hash.
buckley310 has quit [Quit: Connection closed for inactivity]
hmenke has quit [Quit: ERC (IRC client for Emacs 27.1)]
Darkmatter66 has joined #nixos
<wrench>
Is there a current guide on how one would reference different flake outputs in other ones?
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/Jtc1m
<simonpe^^>
I'm trying to get clangd to work for an aarch64 build but I can't for the life of me figure out why it's trying to use my host systems libc (hence it can't find gnu/stubs-32.h) rather than using the headers reported by my compile_commands.json
<simonpe^^>
I've used the --query-driver argument to clangd to tell it its a-ok to use my cross toolchain
ahmedelgabri has joined #nixos
<cole-h>
wrench: What exactly are you confused on (e.g. do you have an example to show)?
<cole-h>
wrench: It's as simple as using the same attr path (e.g. if a flake has an output "asdf", you would do `flake.asdf` to get the value of that output).
<tpw_rules>
how does cachix define "open source" for the free service? does it have to have an approved OSS license and stuff or is simply being public enough?
<wrench>
The modules and the configurations are in different Files
<simonpe^^>
wrench: open up a repl and play around and you'll see how it works: builtins.evalFlake ./myflake.nix
<simonpe^^>
dnlkrgr: sorry man I can't find it, but I do remember I had to run the crapper in a FHS env, or docker - and they do have a tarball with all the binaries so you don't have to use the rpm stuff
<simonpe^^>
side note: that piece of software is terrible so I managed to whine enough to get IT to switch to something that had an open protocol which there are free clients for
<dnlkrgr>
simonpe^^: yeah the only thing I found was this https://github.com/spencerjanssen/dotfiles/tree/master/nixos/netextender, where it's also building a FHS env. I built it with `nix-build`, then there is an executable which drops into a shell where one can run `netExtender`. But I get `open lock file failed` :(
* dnlkrgr
agrees
nhs has quit [Ping timeout: 246 seconds]
<simonpe^^>
dnlkrgr: I remember not getting that one to work and I ended up using docker instead
<simonpe^^>
dnlkrgr: he even makes some weird patches for chroot if I remember correctly
<{^_^}>
[nixpkgs] @lovesegfault pushed 5 commits to master: https://git.io/JtcyP
<KarlJoad>
Can nix time-out on fetching git submodules?
davidv7 has joined #nixos
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 43 commits to staging-next: https://git.io/Jtcy5
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 44 commits to staging: https://git.io/Jtcyd
graf_blutwurst has quit [Quit: WeeChat 3.0]
hiro98 has quit [Remote host closed the connection]
<solene>
hello, on 20.09 I have an issue with tmate package. It just doesn't work but works fine on a 20.03 installation. Could someone try tmate? (it's a tool to share a tmux with someone in ro or rw very easily)
<lukegb>
Yeah, I think most people would "expect" sudo. Or at least a command aliased to sudo that does what they want. Or throws an error telling them what to do. Of those, just installing sudo is the most user-friendly :p
kevincox[m] has quit [Quit: authenticating]
kevincox[m] has joined #nixos
kevincox[m] is now known as kevincox
<tilcreator>
I'm trying to get `waifu2x-converter-cpp` running with OpenCL GPU (AMD Radeon RX 5700 XT) support, but no luck for now: I have set `hardware.opengl.extraPackages = with pkgs; [opencl-headers ocl-icd opencv3 vulkan-loader];` and added `opencl-info`, `clinfo` and `waifu2x-converter-cpp` to `environment.systemPackages`. But all tree utilities don't detect the GPU. Any idea what I'm missing?
<b42>
fair enough ... i remember there was quite big discussion about ssh port being open by default some time ago and figured sudo would be opt-in given that it had similar problems in the past ... oh well
<gchristensen>
sudo has a pretty good track record
davidv7_ has quit [Remote host closed the connection]
<lordcirth>
Yeah, it's pretty good. The last sudo vuln was overhyped. Who sets sudo to allow anyone but user X to become root?
davidv7 has joined #nixos
fendor has quit [Remote host closed the connection]
sambi has quit [Quit: Ping timeout (120 seconds)]
sambi has joined #nixos
<sambi>
Is it possible possible `nix-collect-garbage -d` could remove store paths that are currently in use? I just ran the command on a raspberry pi over ssh and suddenly bash couldn't find any commands other than builtin commands. I am using nixops to deploy to the pi. I can't access the pi for the time being, but is there any known issue or did I do
<sambi>
something wrong?
<lovesegfault>
sambi: you cannot collect referenced paths
kalbasit_ has quit [Quit: WeeChat 2.9]
<sambi>
That's what I thought. Maybe it was just a coincidence.
critbase[m]2 has left #nixos ["User left"]
<{^_^}>
[nixpkgs] @Infinisil merged pull request #110746 → mumble: replace python and qt514 with python3 and qt5 → https://git.io/JtZ5J
neiluj has quit [Remote host closed the connection]
fresheyeball has joined #nixos
K0kada has joined #nixos
ahmedelgabri has joined #nixos
<DigitalKiwi>
sambi: is the path right?
<DigitalKiwi>
and the commands it can't find are for sure in your nixops config still?
ManiacOfMadness has quit [Ping timeout: 240 seconds]
<DigitalKiwi>
still or are i guess i don't know if it's new nixops deployment or existing
<sambi>
DigitalKiwi: I'm not sure what you mean by path, but dmesg, tail, and ls all gave command not found immediately after I did the garbage collection and I can no longer ssh into it. It's an existing nixops deployment.
ahmedelgabri has quit [Ping timeout: 272 seconds]
<DigitalKiwi>
$PATH
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]