Created
September 7, 2017 22:14
-
-
Save ianks/959782e1425a92538624eeee534fc09b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
with (import <nixpkgs> {}); | |
let | |
gems = bundlerEnv { | |
name = "slingshot"; | |
inherit ruby; | |
gemdir = ./.; | |
}; | |
in stdenv.mkDerivation { | |
name = "slingshot"; | |
buildInputs = [gems ruby curl]; | |
} |
This file contains hidden or 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
source 'https://rubygems.org' | |
gem 'curb' |
This file contains hidden or 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
GEM | |
remote: https://rubygems.org/ | |
specs: | |
curb (0.9.3) | |
PLATFORMS | |
ruby | |
DEPENDENCIES | |
curb | |
BUNDLED WITH | |
1.15.3 |
This file contains hidden or 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
{ | |
curb = { | |
source = { | |
remotes = ["https://rubygems.org"]; | |
sha256 = "02g00fj14fvk2dmlabcm2sysz2fkhnr10fbkrjwkza8jyw2isra2"; | |
type = "gem"; | |
}; | |
version = "0.9.3"; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment