lewo
956f976f5b
Update Main.hs
...
Co-Authored-By: nmattia <nicolas@nmattia.com>
2019-03-13 12:54:10 +01:00
Nicolas Mattia
fed62f31e5
Update nix/sources.nix if necessary
2019-03-13 12:54:10 +01:00
Nicolas Mattia
fc58efb5ed
Merge pull request #33 from nlewo/cleaning
...
sources.nix: cleaning
2019-03-13 12:52:41 +01:00
Antoine Eiche
4c6b3c2451
sources.nix: cleaning
...
- Remove fetchTarball which is dead code
- Add a header comment specifying sources.nix is a generated file
2019-03-12 11:37:24 +01:00
Nicolas Mattia
82bd4999de
Merge pull request #29 from nlewo/restricted-eval
...
Support restricted evaluation mode
2019-03-05 19:26:57 +01:00
Nicolas Mattia
3386273b6e
Merge pull request #27 from nlewo/fetcher
...
Add `fetcher` options
2019-03-05 18:59:22 +01:00
Antoine Eiche
1ab9746679
Allow sources.nix expression to be evaluated with the restricted mode
...
When the Nix restricted evaluation mode is enable, `builtins.fetch*`
functions can no longer be used. So, instead of using `builtins`
fetchers, we use fetchers from nixpkgs.
Note Hydra enables the restricted evaluation mode by default.
2019-03-04 18:39:26 +01:00
Antoine Eiche
d23a8626a0
Add the attribute 'type' to set the package URL type
...
The main objective is to be able to fetch packages that are just a file
which was not possible.
The value of this attribute is either 'file' or 'tarball'. By default,
the value of this attribute is inferred by using the suffix of the
URL. If the URL ends with 'tar.gz' the type is set to 'tarball',
otherwise it is 'file'.
This attribute is used by the Nix expression to select the appropriate
fetcher ('fetchurl' or 'fetchTarball') and by `nix-prefetch-url` to
set or not the `--unpack` flag.
2019-03-01 18:05:22 +01:00
Nicolas Mattia
7f72d723d0
Merge pull request #28 from nmattia/nm-readme-test
...
Add test suite instructions to README
2019-03-01 10:27:51 +01:00
Nicolas Mattia
beb274c094
Add test suite instructions to README'
...
'
2019-03-01 10:24:15 +01:00
Nicolas Mattia
47cd53f704
Merge pull request #26 from nmattia/nm-update-snack
...
Update nixpkgs
2019-02-25 10:56:46 +01:00
Nicolas Mattia
1b1b977fb9
Update nixpkgs
2019-02-25 10:46:51 +01:00
Nicolas Mattia
84692d2123
Merge pull request #24 from nmattia/nm-update-on-changed
...
Only prefetch if URL changed
2019-02-23 12:06:07 +01:00
Nicolas Mattia
f89811252f
Only prefetch if URL changed
2019-02-22 18:54:51 +01:00
Nicolas Mattia
e77d69071a
Merge pull request #22 from LeOtaku/patch-1
...
Fix README spelling/name error
2019-02-22 17:06:39 +01:00
LeOtaku
e2f7245e18
Fix README spelling/name error
...
"NixOS/nixpkgs-channel" does not actually exist, the correct repo would be "NixOS/nixpkgs-channels"
2019-02-22 17:05:49 +01:00
Nicolas Mattia
a75cdd6312
Merge pull request #21 from nmattia/nm-map-attrs
...
Declare mapAttrs on old Nix
2019-02-22 11:43:40 +01:00
Nicolas Mattia
a4daa6c967
Declare mapAttrs on old Nix
2019-02-22 11:38:26 +01:00
Nicolas Mattia
cdfa7b9a27
Add related work
2019-02-13 10:26:16 +01:00
Nicolas Mattia
501494fc90
Merge pull request #17 from nmattia/nm-readme
...
README fixup
2019-02-11 20:28:15 +00:00
Nicolas Mattia
4ff7a37f12
README fixup
2019-02-11 21:23:39 +01:00
Nicolas Mattia
8eccea34c4
Don't fail on cache failure
2019-02-11 21:22:10 +01:00
Nicolas Mattia
72e7720454
Merge pull request #16 from nmattia/nm-use-cases
...
Add use cases to README
2019-02-11 20:03:13 +00:00
Nicolas Mattia
8eee86454e
Update README
2019-02-11 20:58:47 +01:00
Nicolas Mattia
e571ba0411
Update README
2019-02-11 20:54:27 +01:00
zimbatm
0fa7137245
Update README.md
...
Co-Authored-By: nmattia <nicolas@nmattia.com>
2019-02-11 20:52:35 +01:00
zimbatm
b5f1095f67
Update README.md
...
Co-Authored-By: nmattia <nicolas@nmattia.com>
2019-02-11 20:51:56 +01:00
Nicolas Mattia
b7b71f1d98
Add use cases to README
2019-02-11 20:33:10 +01:00
Nicolas Mattia
c45fa00479
Merge pull request #15 from nmattia/nm-update-readme
...
Update README
2019-02-08 18:32:53 +00:00
Nicolas Mattia
aa848bf39a
Update README
2019-02-08 19:29:48 +01:00
Nicolas Mattia
697d66c96a
Merge pull request #14 from nmattia/nm-drop-attr
...
Implement dropping package attr
2019-02-08 18:11:37 +00:00
Nicolas Mattia
a180f5c130
Implement dropping package attr
2019-02-08 19:07:05 +01:00
Nicolas Mattia
497d602e36
Merge pull request #13 from nmattia/nm-packages-nix
...
Drop overlay.nix and add packages.nix
2019-02-07 20:51:00 +00:00
Nicolas Mattia
45d4ab643a
Drop overlay.nix and add packages.nix
2019-02-07 21:12:39 +01:00
Nicolas Mattia
12dc085e14
Merge pull request #12 from zimbatm/rename-specs
...
rename specs.json to sources.json
2019-02-07 13:46:45 +00:00
zimbatm
4c78b665f4
rename specs.json to sources.json
...
The goal is to group the two files that go together so they don't get
lost in the sea of all the other files in the nix/ folder.
2019-02-07 14:40:56 +01:00
Nicolas Mattia
3bdc42ab44
Merge pull request #10 from nmattia/nm-pretty-specs
...
Prettify specs.json
2019-02-07 13:19:29 +00:00
Nicolas Mattia
8897b8998e
Merge pull request #11 from nmattia/nm-test
...
Remove unused options
2019-02-07 13:18:17 +00:00
Nicolas Mattia
8f03de5944
Prettify specs.json
2019-02-07 14:15:56 +01:00
Nicolas Mattia
dd2d0e01c6
Remove unused options
2019-02-07 14:10:45 +01:00
Nicolas Mattia
9887f05524
Merge pull request #8 from nmattia/nm-install-instr
...
Add install instructions
2019-02-05 14:55:39 +00:00
Nicolas Mattia
268c6eb936
Add install instructions
2019-02-05 15:43:37 +01:00
Nicolas Mattia
2788d2b2c5
Fix Circle config
2019-02-05 15:43:23 +01:00
Nicolas Mattia
be61ffe8e9
Merge pull request #7 from nmattia/nm-branch-cache
...
Add branch cache
2019-02-05 14:15:15 +00:00
Nicolas Mattia
09aff299ab
Add branch cache
2019-02-05 15:11:25 +01:00
Nicolas Mattia
19afae4ec3
Merge pull request #6 from nmattia/nm-cache-opti
...
Speed up caching
2019-02-05 13:54:00 +00:00
Nicolas Mattia
a85ef14e4f
Only create cache on master
2019-02-05 14:47:29 +01:00
Nicolas Mattia
0b555e497c
GC and use store as cache
2019-02-05 14:30:07 +01:00
Nicolas Mattia
487b6bbfc9
Merge pull request #5 from nmattia/nm-fix-spec-path
...
Rename versions.json
2019-02-05 13:04:01 +00:00
Nicolas Mattia
9dc0f82867
Rename versions.json
2019-02-05 13:55:34 +01:00