Nicolas Mattia
e45c61ecdc
Use niv's nix/sources.nix in niv
2019-04-07 19:56:58 +02:00
Nicolas Mattia
3cd02da1ce
Fix sources.nix for empty and ./. <nixpkgs>
2019-04-07 19:56:40 +02:00
Nicolas Mattia
af92a311c9
Merge pull request #44 from nmattia/nm-no-cache
...
Drop the cache
2019-04-07 13:09:12 +02:00
Nicolas Mattia
0491c8a4e8
Merge pull request #43 from nmattia/nm-sources-cleanup
...
Only generate nix/sources.json and nix/sources.nix
2019-04-07 13:06:15 +02:00
Nicolas Mattia
8b1b890b43
Drop the cache
...
Right now warming up and saving the cache takes more time than the build
itself.
2019-04-07 13:05:33 +02:00
Nicolas Mattia
13f81059c0
Drop lots of generated files
2019-04-07 12:50:47 +02:00
Nicolas Mattia
60cc94d3e6
Fix shell hook
2019-04-07 12:50:35 +02:00
Nicolas Mattia
130ac83460
Merge pull request #41 from nmattia/nm-nix-cleanup
...
Replace snack with cabal
2019-04-07 12:41:41 +02:00
Nicolas Mattia
262dd9ab21
Replace snack with cabal
2019-04-07 12:29:24 +02:00
Nicolas Mattia
45041fa765
Drop nix/packages.nix
2019-04-05 11:29:26 +02:00
Nicolas Mattia
d9e38ae971
Merge pull request #40 from nmattia/nm-build-cleanup
...
Clean up CI build
2019-04-04 13:19:33 +02:00
Nicolas Mattia
5b68e37388
Simplify CI cache
2019-04-04 13:04:16 +02:00
Nicolas Mattia
3185f8a32b
Don't generate links in test script
2019-04-04 12:32:51 +02:00
Nicolas Mattia
f57c85d05e
Merge pull request #38 from domenkozar/patch-1
...
Too much Nix
2019-03-28 10:24:30 +01:00
Domen Kožar
86eb9881b8
Too much Nix
2019-03-28 07:43:32 +00:00
Nicolas Mattia
c2698b0780
Merge pull request #30 from nmattia/nm-update-sources
...
Update nix/sources.nix if necessary
2019-03-21 20:56:07 +01:00
Nicolas Mattia
fbaed6d725
Clean up
2019-03-13 12:59:41 +01:00
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