Created
September 18, 2018 17:44
-
-
Save cransom/8dc85f9c3594002c4455e912d5344124 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0ogre:~% buildthis ./m6YaTZaL.txt | |
these derivations will be built: | |
/nix/store/xfazdy12k9bbnby3y1n77snmy073gnkc-rocketchat_2.10.5_amd64.deb.drv | |
/nix/store/ig4z35cb0y3v3wncyxh5iqq12nxspp8b-rocketchat-2.10.5.drv | |
these paths will be fetched (2.35 MiB download, 14.98 MiB unpacked): | |
/nix/store/2mjsfm0c4hkxamsn7rr6x2iabj95dak1-gconf-3.2.6 | |
/nix/store/3isyxdp6wmz7kabxqld8fky2ci51ql0s-libxkbfile-1.0.9 | |
/nix/store/amcjwgn9jchlpwr33d4gyk7qr3smqpss-ORBit2-2.14.19 | |
/nix/store/jlvwk1ijr4z3zq0nw34kkd88bjwrp7zi-dpkg-1.19.0.5 | |
/nix/store/wl5cg4fa3jj7jgnwxq7h5dbkrjc62iaw-libnotify-0.7.7 | |
copying path '/nix/store/jlvwk1ijr4z3zq0nw34kkd88bjwrp7zi-dpkg-1.19.0.5' from 'https://ogre.mad.hubns.net/cache'... | |
copying path '/nix/store/amcjwgn9jchlpwr33d4gyk7qr3smqpss-ORBit2-2.14.19' from 'https://ogre.mad.hubns.net/cache'... | |
copying path '/nix/store/wl5cg4fa3jj7jgnwxq7h5dbkrjc62iaw-libnotify-0.7.7' from 'https://cache.nixos.org'... | |
copying path '/nix/store/2mjsfm0c4hkxamsn7rr6x2iabj95dak1-gconf-3.2.6' from 'https://ogre.mad.hubns.net/cache'... | |
copying path '/nix/store/3isyxdp6wmz7kabxqld8fky2ci51ql0s-libxkbfile-1.0.9' from 'https://cache.nixos.org'... | |
building '/nix/store/xfazdy12k9bbnby3y1n77snmy073gnkc-rocketchat_2.10.5_amd64.deb.drv'... | |
trying https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/2.10.5/rocketchat_2.10.5_amd64.deb | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 617 0 617 0 0 3230 0 --:--:-- --:--:-- --:--:-- 3230 | |
100 36.6M 100 36.6M 0 0 8086k 0 0:00:04 0:00:04 --:--:-- 9497k | |
building '/nix/store/ig4z35cb0y3v3wncyxh5iqq12nxspp8b-rocketchat-2.10.5.drv'... | |
/nix/store/m2rpf1pqn15m8366mwmsvyjq8q8z44pm-stdenv-linux/setup: line 1259: $'\r': command not found | |
builder for '/nix/store/ig4z35cb0y3v3wncyxh5iqq12nxspp8b-rocketchat-2.10.5.drv' failed with exit code 127 | |
error: build of '/nix/store/ig4z35cb0y3v3wncyxh5iqq12nxspp8b-rocketchat-2.10.5.drv' failed | |
100ogre:~% vi m6YaTZaL.txt | |
0ogre:~% cat ~/bin/buildthis | |
#!/usr/bin/env bash | |
file=$1 | |
shift | |
nix-build -E "with import <nixpkgs> { }; callPackage ./$file {}" $* | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment