phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
<rprije>
Say I have 2 pieces of software A and B. Software B depends on software A. I already have an instantiated derivation for software A. I want to use this in a nix expression for building software B in such a way that it would build exactly the same software. Is there a way to extract a meaningful nix expression from a nix store derivation for reproducing that derivation?
<clever>
rprije: there is no real way to turn a drv back into a nix expr, but you can just use import to load the original nix file
sb0 has joined #nixos
stepcut has quit [Remote host closed the connection]
freeman42x has quit [Ping timeout: 252 seconds]
jgt has joined #nixos
<rprije>
clever, ah thanks. Yeah, I was hoping to not have to check out the repo for the other software just to access the nix expr and generate a derivation for what I intend to be a cache hit on a drv I built earlier.
jgt has quit [Ping timeout: 252 seconds]
stepcut has joined #nixos
stepcut has quit [Read error: Connection reset by peer]
stepcut has joined #nixos
<clever>
rprije: you dont have to checkout a copy yourself, import from derivation
<ZaraChimera>
Time for an experiment: install NixOS to a USB Flash drive.
rauno has joined #nixos
mac10688 has quit [Ping timeout: 244 seconds]
sb0 has joined #nixos
Ariakenom has joined #nixos
Ariakenom_ has joined #nixos
Ariakenom_ has quit [Remote host closed the connection]
drakonis has joined #nixos
<gchristensen>
ZaraChimera: use a label for the root filesystem, and mount by label :)
drakonis_ has quit [Ping timeout: 268 seconds]
<ZaraChimera>
I believe the manual includes that step. I know I need to change the mountpoint for the MBR to /dev/something
<ZaraChimera>
Will it run without a swap partition?
jasongrossman has quit [Ping timeout: 246 seconds]
<gchristensen>
yes
Ariakenom has quit [Quit: Leaving]
Tucky has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
Okinan has quit [Quit: Konversation terminated!]
zupo has joined #nixos
hmpffff has joined #nixos
mexisme_ has joined #nixos
zupo has quit [Client Quit]
<ZaraChimera>
Okay, will be interesting to see how things go.
<{^_^}>
[nixpkgs] @dingxiangfei2009 opened pull request #63603 → Enable cross compilation on buildGoPackage → https://git.io/fjweL
<ZaraChimera>
I have been going through some tutorials on the nix expression language.
<ZaraChimera>
I hope that 32GB will be sufficient given that the nix store will use a bit more memory than the usual distro. I have my files on separate drive.
<ZaraChimera>
I would need a way to define a separate drive as my /home though.
kvaster has joined #nixos
Makaveli7 has joined #nixos
veske has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<clacke_movim>
ZaraChimera: make sure you enable auto optimization in nix.conf
<clacke_movim>
(or in the nix attrs in configuration.nix if you are on NixOS)
<ZaraChimera>
This will be a NixOS install to a 32GB USB drive.
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvaster has quit [Quit: Konversation terminated!]
<rnhmjoj>
what do you think about not installing the obex tools by default when bluetooth is enabled? it amounts to 200MB and i'm not sure how many people send files over bluetooth, or is there any other use case?
<ashkitten>
that does seem like a weird thing to have by default
Shoubit has joined #nixos
thc202 has joined #nixos
vidbina has joined #nixos
<etu>
rnhmjoj: I mostly enable Bluetooth to use headphones. Getting 200MiB additional cruft that doesn't do anything with headphones is something I wouldn't see necessary.
<etu>
To prove the point: your usecase isn't what everyone use it for
<rnhmjoj>
i'm asking because i thinking to remove it
kvaster has joined #nixos
kvaster has quit [Client Quit]
kvaster_ has joined #nixos
<rnhmjoj>
so, i'll open a PR soon. anyway, there really should be a user mechanism to remove packages from `environment.systemPackages`
lurpahi has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
srl295 has quit [Quit: Connection closed for inactivity]
<lurpahi>
I presume I can ask about a little issue I'm having with Nix here?
mmercier has joined #nixos
<Taneb>
Yes
kvaster_ has quit [Ping timeout: 245 seconds]
<lurpahi>
Something I'm trying to get to work seems to want to do file permission things Nix doesn't want it to do. It's using an odd format for the source archive—".cpio.7z"—and I'm getting a "cpio: …: Cannot change mode to rwxrwsrwx: Operation not permitted" from a nix-build on it.
<lurpahi>
Is that something I'd have to fix in the source?
<{^_^}>
[nixpkgs] @basvandijk merged pull request #63556 → Backport "cargo-graph: init at 0.2.0-d895af1" to 19.03 → https://git.io/fjVKM
<{^_^}>
[nixpkgs] @basvandijk pushed 3 commits to release-19.03: https://git.io/fjwvq
<{^_^}>
[nixpkgs] @dingxiangfei2009 opened pull request #63604 → cni-plugins: add version pin → https://git.io/fjwvm
ilikeheaps has quit [Ping timeout: 245 seconds]
<etu>
rnhmjoj: oh, I misread you there. Good idea :)
<rnhmjoj>
etu: thank you, no problem
knupfer has joined #nixos
zupo has joined #nixos
lsyoyom has quit [Ping timeout: 248 seconds]
mexisme_ has quit [Ping timeout: 248 seconds]
<{^_^}>
[nixpkgs] @wmertens pushed to node10-small « Add NodeJS v10 to nixos-small channel »: https://git.io/fjwva
is_null has quit [Ping timeout: 272 seconds]
is_null has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @wmertens opened pull request #63605 → Add NodeJS v10 to nixos-small channel → https://git.io/fjwvV
lsyoyom has joined #nixos
Soo_Slow has joined #nixos
andreas303 has quit [Remote host closed the connection]
andreas31 has joined #nixos
__monty__ has joined #nixos
<{^_^}>
[nixpkgs] @cw789 opened pull request #63606 → [WIP] elixir_1_9: init at 1.9.0-rc.0 → https://git.io/fjwvx
m0rphism has joined #nixos
vidbina has quit [Ping timeout: 246 seconds]
dansho has joined #nixos
st4ll1 has quit [Ping timeout: 245 seconds]
arjen-jonathan has joined #nixos
is_null has quit [Ping timeout: 272 seconds]
psy3497 has quit [Ping timeout: 272 seconds]
<{^_^}>
[nixpkgs] @rnhmjoj opened pull request #63607 → nixos/bluetooth: don't install obex tools by default → https://git.io/fjwf0
<{^_^}>
[nixpkgs] @pmiddend opened pull request #63608 → SDL_gpu: init at 20190124 → https://git.io/fjwfz
<{^_^}>
[nixpkgs] @tokudan opened pull request #63609 → udev: change error message if RUN entry is not executable → https://git.io/fjwf2
<{^_^}>
[nixpkgs] @petabyteboy opened pull request #63613 → nixos/acme: switch to lego and support DNS challenge (WIP) → https://git.io/fjwTX
hmpffff has quit [Ping timeout: 272 seconds]
<__monty__>
How do I find out the closure of a package? Specifically, I'd like to find out the glibc version some of the irssi's in my store depend on.
mexisme_ has quit [Ping timeout: 272 seconds]
<pie_>
__monty__, idk off the top of my head but nix-store --query should have something
<{^_^}>
infinisil's karma got increased to 105, pie_'s karma got increased to 3
qqlq has joined #nixos
<__monty__>
Hmm, the glibc paths *do* differ but the versions are all 2.27...
<infinisil>
You can check with --tree where each of them comes from
MmeQuignon has joined #nixos
cocreature has joined #nixos
<pie_>
old machne still uses channels, have the same channels for user and root, updated user channels, root still having old package versions -> confusion -> "aha"
veske2 has joined #nixos
veske has quit [Ping timeout: 245 seconds]
hmpffff has joined #nixos
Anton-Latukha has joined #nixos
hmpffff_ has quit [Ping timeout: 246 seconds]
<__monty__>
Turns out I have 10 store paths for glibc-2.27
o1lo01ol1o has joined #nixos
orivej has joined #nixos
ThatDocsLady has joined #nixos
<pie_>
i tried to google but cant find any of the nice cli snippets for showing nix space usage
<gchristensen>
nix-du ?
<pie_>
gchristensen, thts graphical
<pie_>
and i dont want to garbage collect all the updates i just downloaded to install it :P
<erictapen>
I try to override the extraMakeFlags attribute of firefox with an overlay but for some reason it seems to be more complicated than I expected it to be. Any hints?
<disasm>
I accidentally did nixos-container login instead of root-login... How do I exit the login prompt?
<bbarker>
I just added something to my system.activationScripts which doesn't seem to be working, even after rebuilding and rebooting the system; is there a way to inspect the generated script, or force it to be run?
<disasm>
I just did ~. to kill the ssh session, but still interested if there's a proper way
<bbarker>
disasm pressing enter will cancel authentication
<bbarker>
it is the unspoken 4th option :-)
<disasm>
I hit enter 100 times... it just kept going back
<bbarker>
(or n+1th option where n is the # of users)
<bbarker>
hmm
<disasm>
ah it says ^] three times
<disasm>
I should learn to read :)
mkkane has joined #nixos
siel has quit [Remote host closed the connection]
Soo_Slow has joined #nixos
peter has joined #nixos
<peter>
hey guys
peter is now known as Guest61418
Guest61418 is now known as elux
<elux>
im doing some JS/node dev on my nixos desktop, and some modules come with bins, and unfortunately I can't run any of them without patchelf -- is there some easier way for me to do this in a sane way? i can't reasonably patch all the node_modules ..
__monty__ has quit [Ping timeout: 245 seconds]
<elux>
like if i run some nix-shell thing, and everything in there uses the same linker or something?
<clever>
stepcut: line 414 is to blame, its ignoring the .service file in nix itself
<stepcut>
but.. I am not sure how to update that to refer to my new version. (I should have mentioned that I patched the nix derivation via overrideAttrs in my ~/.nixpkgs/config.nix)
<clever>
stepcut: nixos is dynamically generating a service file, based on lines 414-432
<clever>
stepcut: what are you trying to do with the patch?
<{^_^}>
[nixpkgs] @Profpatsch opened pull request #63621 → yj: init at 4.0.0 → https://git.io/fjwqP
<stepcut>
clever: I think it is using the .service file in nix, /etc/systemd/system/nix-daemon.service -> /nix/store/sdd0nizfdgv7k0niw7dryikzpq8marrz-nix-2.2.2/lib/systemd/system/nix-daemon.service
<stepcut>
the file in etc is just a symlink to the file provided by the nix package. When I change the nix-daemon.service.in file, the changes end up in lib/systemd/system/nix-daemon.service
o1lo01ol1o has joined #nixos
<clever>
stepcut: is this on nixos?
<stepcut>
the only trouble seems to be that /etc is linking to the old unpatched version of nix
<clever>
stepcut: note, that ~/.nixpkgs/config.nix has zero impact on nixos
<clever>
stepcut: you want to use nixpkgs.config within configuration.nix
<stepcut>
ah
<stepcut>
I have vague memories of this from dealing with nixops
<clever>
stepcut: and the nix.package option to tell it which nix to use
Tucky has quit [Quit: WeeChat 2.5]
<dsx>
Apart from home-manager, is there a way to manage user home?
<elux>
my system is trying to find libatk-bridge-2.0.so.0 but im unsure which package this comes from -- google didn't seem to turn up results, any suggestions how to hunt these down?
<clever>
dsx: you could use activation scripts, or a systemd user unit
<clever>
$ nix-locate libatk-bridge-2.0.so
<clever>
at_spi2_atk.out 238,496 x /nix/store/0ig02wzzjm4bz16zp99ff3zm5xn097qj-at-spi2-atk-2.22.0/lib/libatk-bridge-2.0.so.0.0.0
bgamari has quit [Ping timeout: 252 seconds]
bgamari has joined #nixos
<elux>
thanks clever
<dsx>
clever: yeah, that could work too
<dsx>
I guess home-manager is pretty much standard way of doing things at this point, am I right?
<clever>
dsx: ive yet to try home-manager, i just manage home myself
<{^_^}>
[nixpkgs] @aanderse opened pull request #63622 → nixos/zoneminder: fix some issues with database.createLocally option → https://git.io/fjwmm
<stepcut>
clever: ok! That worked with some hacks. I also realized that my true problem was that I did not add nixpgks.overlays in my configuration.nix. Despite what I told you earlier, I was overriding the nix derivation in an overlay not ~/.nixpkgs/config.nix. But, I forgot that nix-build/nix-env know about the overlays via ~/.config/nixpkgs/overlays.nix and nixos wouldn't see that
<infinisil>
Nice, the new systemd uses different colors/opacities for journalctl depending on message importance
<dsx>
infinisil: out of the box?
<gchristensen>
yeah =)
<infinisil>
dsx: Seems so yeah, I didn't have to change anything for this to happen
<dsx>
Nice
<gchristensen>
it has done that a long time for syslog based messages
Soo_Slow has quit [Remote host closed the connection]
adamantium has quit [Ping timeout: 250 seconds]
wfranzini has quit [Remote host closed the connection]
drakonis_ has joined #nixos
<erasmas>
is there a way to create a nix closure within a nix expression? like a build script that runs nix-store --export $(nix-store -qR <paths>)
<gchristensen>
sure
<gchristensen>
look at pkgs.closureInfo
<clacke_movim>
Oh wow
<erasmas>
does $out/store-paths contain a copy of all the paths then? I thought closureInfo was for metadata and info only
drakonis has quit [Ping timeout: 257 seconds]
<andi->
it contains all the paths
<gchristensen>
a list of paths. what you do with it is up to you :)
<gchristensen>
for example, you could use it to make a squashfs image for a server, or a tarball for a docker image
<erasmas>
ok thank you both
<erasmas>
and yes, it's for docker
<erasmas>
nix-copy-closure doesn't support other connection types besides ssh right?
<andi->
Most of the time I am interested in the raw .attrs.json and just roll my own since I need the paths for say systemd service sto restrict accessible paths.
<erasmas>
the tl;dr is I needed a way for hydra to create prepared environments that reference some non-nix utilities (because of audit requirements to manage those outside nix)
arjen-jonathan has quit [Ping timeout: 268 seconds]
<erasmas>
so most things in nix, launches a build in docker, exports the prepared environment as a nix package
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen>
oof
<gchristensen>
cool :)
<erasmas>
I didn't start the project but it'll be open source. one of those things either no one else needs, or maybe it'll help some businesses adopt nix
trevorriles has joined #nixos
sb0 has joined #nixos
<andi->
I would totally by a way to build debian packages on very old Debian releases with nix without inventing it myself..
<NemesisD>
folks who use cabal + nix for development: what do you use for interactive rebuilds/tests? AFAICT you literally can't get ghcid to load the project's library and test suite at once
<NemesisD>
clever: it doesn't seem to pick up the library source changes. i'm providing a test target, e.g. `ghcid --restart src --command "cabal new-repl my-package-tests" --test Main.main`
<clever>
NemesisD: i think you need to give it files
<NemesisD>
clever: --restart? it says it takes directories. and it does seem to flash the console when a source file changes
drakonis_ has quit [Ping timeout: 268 seconds]
<clever>
NemesisD: the quick flash is just it doing :r in ghci i believe
<clever>
which wont reload the libraries it depends on
<clever>
ive also not used the new-repl stuff at all
<clever>
i work exclusively in old-repl
<NemesisD>
that's what i've been using with nix as per whatever haskell and nix guide i followed
<NemesisD>
i'm just going to use watchexec and quit while i'm ahead
drakonis_ has joined #nixos
dftxbs3e has quit [Quit: Leaving.]
drakonis has quit [Read error: Connection reset by peer]
arjen-jonathan has quit [Ping timeout: 258 seconds]
erictapen has joined #nixos
Drakonis__ has joined #nixos
drakonis1 has quit [Ping timeout: 252 seconds]
<erasmas>
hm, closureInfo always creates a store-paths file with just one path in it. to get everything it looks like I'll need a nix expression that takes a package and creates a set with all of its runtime dependencies like { dependency1 = /nix/store/<hash>dependency1; dependency2...}
<erasmas>
are there any builtin or other functions to do that?
<clever>
erasmas: buildEnv, or writeText
is_null has joined #nixos
elux has quit [Quit: leaving]
init_6 has quit []
<erasmas>
I am looking for a function that can take a package (or a path) as its argument and create a set containing all the dependencies (either as packages or paths)
<erasmas>
I'm probably missing something but I don't see how to use buildEnv or writeText for that
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever>
erasmas: you cant really get that sanely at eval time, without IFD (which is messy)
<clever>
erasmas: why do you need it at eval time?
trevorriles has joined #nixos
<erasmas>
I need to be able to copy nix dependencies into a container. there's no ssh to use nix-copy-closure so I wanted to use nix-store --export, which works perfectly
<erasmas>
however, I can't call nix-store from within a build script in a nix expression (I get errors that it's unable to access the nix db)
<clever>
erasmas: create a derivation, that will use runCommand to do
<clever>
for x in $(cat ${pkgs.closureInfo foo}/thing); do
<clever>
erasmas: then loop over every path in the closure
<clever>
now you dont know the paths until bash time, and the job is still done
<erasmas>
ok, I will test that out. thanks clever
hio has quit [Quit: Connection closed for inactivity]
<skdfjh>
Is there a way to debug an unpackPhase during a nixops deploy? I try redirecting to stderr and still don't see any output.
kragniz is now known as kgz
<clever>
skdfjh: run `nix-store -r` on the .drv file that is failing to build
ddellacosta has joined #nixos
<clever>
skdfjh: and also `nix show-derivation` on that same drv
ThatDocsLady has quit [Ping timeout: 244 seconds]
mkkane has quit [Remote host closed the connection]
<skdfjh>
It's just that I'm trying to package a go program (built with go modules). The only thing is that the original git repo has a bunch of utilities in one package (so you'd cd into a subdirectory and run go build . there).
<skdfjh>
So I thought of doing unpackPhase = ''unpackPhase
<clever>
skdfjh: you want to append to sourceRoot in postUnpack
<clever>
postUnpack = "sourceRoot+=/socket-io; echo source root reset to $sourceRoot";
thc202 has quit [Ping timeout: 258 seconds]
danielrf[m] has joined #nixos
thc202 has joined #nixos
Interstitial has joined #nixos
<skdfjh>
Thanks.
computer has quit [Ping timeout: 256 seconds]
Shoubit has quit [Ping timeout: 246 seconds]
<Interstitial>
Hey guys, sort of newbie nixos user here. I've been running into a really weird issue and don't see anyone else who has the same issue. Every time I try to rebuild switch, I don't see an output of hash files (indicating no changes) and then, bizarrely, I get disconnected from my ethernet connection. Get disconnected from wifi too. Tried everything I knew to, even rebooting, but nothing works.
hmpffff has joined #nixos
<Interstitial>
Thanks for your consideration, and let me know if I've made any social faux pas
Diagon has quit [Read error: Connection reset by peer]
linarcx has quit [Ping timeout: 248 seconds]
hmpffff has quit [Client Quit]
<ivan>
Interstitial: is it restarting any services?
<Interstitial>
Ivan: in journalctl it appears to be looking for monitored file /etc/netgroup but fails to find it, might be releavent
<ivan>
Interstitial: I have that message too so I guess it doesn't matter
<clever>
skdfjh: private git repo? you want builtins.fetchGit
<skdfjh>
clever: I was having issues with it before. Would that be the source of the problem?
<clever>
skdfjh: that would just make the code cleaner
<skdfjh>
clever: true, but IIRC, I was having authentication issues.
<clever>
skdfjh: it will use your ssh agent to auth
<stepcut>
clever: FYI. I added `Environment=SSH_AUTH_SOCK=/tmp/nix-daemon-ssh-agent` to nix-daemon.service. If I run `ssh-agent -a /tmp/nix-daemon-ssh-agent` I can then run `SSH_AUTH_SOCK=/tmp/nix-daemon-ssh-agent ssh-add` and add keys that nix-daemon can use. Next step is to create another systemd service that starts the ssh-agent that nix-daemon will use
<clever>
stepcut: sounds like thats all right
<stepcut>
clever: yup!
<Interstitial>
I also see a few service based activations / deactivations but none of them look relevant
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever>
skdfjh: i see the problem, src goes to one derivation, postUnpack goes to another, so you cant use postUnpack, and you cant even use unpackPhase
<clever>
skdfjh: you must use runCommand to mutate the path before it goes into src
<{^_^}>
#61490 (by angristan, 5 weeks ago, open): Empty networking.nameservers wipes /etc/resolv.conf after a rebuild
<Interstitial>
This is definitely my issue, thank you guys so so much
<Interstitial>
So I just need to configure my resolv.conf ?
<clever>
Interstitial: i think the problem is caused by setting nameservers to an empty list
<clever>
so if you dont set it at all, it will obey dhcp
<clever>
but you can also just set it to the right server
Soo_Slow has joined #nixos
<nilsirl[m]>
I have installed the alacritty terminal but for some reason I don't think the terminfo is loaded correctly as I don't get any colours in vim
<{^_^}>
[nixpkgs] @LnL7 opened pull request #63627 → gstreamer: fix darwin build → https://git.io/fjwOD
arjen-jonathan has joined #nixos
<{^_^}>
[nixpkgs] @oxij opened pull request #63628 → openalSolf, mpv: fix, enable HRTF support → https://git.io/fjwO7
<skdfjh>
Thanks. That seemed to have taken care of that problem. The only thing that doesn't work now is that buildGoModule complains that "cp: cannot stat '/build/go/pkg/mod/cache/download': No such file or directory"
knupfer has joined #nixos
<{^_^}>
[nixpkgs] @joachifm pushed 3 commits to release-19.03: https://git.io/fjwOh
Anton-Latukha has quit [Ping timeout: 272 seconds]
<chrisaw>
I've got a bit of a challenge here folks - I'm trying to package an app from a .deb archive and that part is working fine. The only problem I have is that it insists on figuring out what distro I'm running by reading a whole set of /etc/*-release files - annoyingly os-release isn't one of them *so* I need a /etc/lsb-release with specific data.
<chrisaw>
So in short - my question is - how can I create an /etc/lsb-release file which is only used by one package *or* change where a binary is looking for that file?
o1lo01ol1o has quit [Remote host closed the connection]
<pbb>
chrisaw: I guess you could try replacing the string in the binary?
<pbb>
should be possible with sed
<chrisaw>
pbb: I guess I'd need to use xxd to dump binary, then fiddle with it, then re-create it. Hmm, possible!
zupo has joined #nixos
<chrisaw>
Actually looks like I could use bbe - never heard of that before. Should be a laugh!
<pbb>
is it something that can not be built from source?
<chrisaw>
Yup, no source available.
<pbb>
meh
zupo has quit [Client Quit]
<pbb>
I mean in the very worst case you could construct an environment similar to FHSUserEnv
<pbb>
but I'm sure that's not at all the best solution
Soo_Slow has quit [Remote host closed the connection]
<pbb>
woah, compiling gcc creates a lot of heat. and it was too hot in here before already.
<Blessjah>
Is it intended or mistake that content of `services.nginx.virtualHosts.<name>.locations.<name>.root` gets copied to nix store? Similar story goes for sslCertificate and Key
ddellacosta has joined #nixos
<gchristensen>
it is on purpose if you do a path
<gchristensen>
but if you do "/foo/bar/baz" it won't
<Blessjah>
What king of sorcery is this??
<Blessjah>
I guess any non-nix-store path that ends up in nix deriviation will get copied to store?
<gchristensen>
yes
<Blessjah>
thanks
stranger___ has quit [Quit: Connection closed for inactivity]
<elvishjerricco>
Blessjah: Path literal syntax makes something that will copy the path to the store if ever interpolated into a string. So a string literal instead of a path literal won’t cause it to copy. i.e. “/foo” is different than “${/foo}”
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
zupo_ has joined #nixos
zupo has quit [Ping timeout: 245 seconds]
c0ffee152 has joined #nixos
<{^_^}>
[nixpkgs] @bachp opened pull request #63636 → distgen: init at 1.3 → https://git.io/fjwZt
ilya-fedin has joined #nixos
Drakonis__ has quit [Ping timeout: 258 seconds]
andreas303 has quit [Remote host closed the connection]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
ym555 has joined #nixos
<lurpahi>
I don't see any response to the question I asked last night—should I ask it again, or should I just go with my first guess on how to fix it that doesn't sound good?
<ottidmes>
lurpahi: its better to then repeat your question. I looked it up in the log. Not sure exactly about your question, do you mean you have a Nix package source that is a .7z file? If so, there are some fonts in the nixpkgs repo that use .7z files as their source, they just use fetchurl and call 7z explicitly in the unpackPhase
<ottidmes>
lurpahi: If not, you should clarify your question
<lurpahi>
I have a package with its source as a ".cpio.7z" file; I have created a .nix file for it with an unpackPhase using the command the source says to use to unpack it, with the file name replaced with $src: "7z e -so $src | cpio -i". I confirmed separately that this command does work as it should, but a nix-build on it goes from "unpacking sources" to "cpio: …: Cannot change mode to rwxrwsrwx: Operation not
<lurpahi>
permitted", and ultimately to "builder for '…' failed with exit code 2".
npmccallum has quit [Quit: npmccallum]
cjpbirkbeck has joined #nixos
npmccallum has joined #nixos
nixosarch has quit [Quit: Lost terminal]
hmpffff has joined #nixos
lovesegfault has quit [Ping timeout: 252 seconds]
<ottidmes>
lurpahi: could you perhaps share the package via a pasting service?