Robert Hensing
64de97c480
Use fetchGit on git worktrees
...
Git worktrees have a file for .git and can be loaded with fetchGit.
2020-10-27 11:45:18 +01:00
Eelco Dolstra
94cf59784c
Merge pull request #9 from Ma27/minor-fixes
...
Be more consistent with Nix itself when fetching github/gitlab inputs
2020-09-23 11:30:54 +02:00
Maximilian Bosch
0d4ab83c96
Be more consistent with Nix itself when fetching github/gitlab inputs
...
* `url` got renamed to `host` in Nix[1], so we have to use this key here
as well.
* It was suggested previously[2] to use the same URL to download from a
GitLab-server as Nix does.
[1] 56f1e0df05
[2] 0e29814f1e (commitcomment-42619895)
2020-09-22 21:20:22 +02:00
Eelco Dolstra
2f9a141d4b
Merge pull request #8 from Ma27/gitlab-fetcher
...
Add support for flake inputs with `type = "gitlab"`
2020-09-21 11:42:29 +02:00
Maximilian Bosch
0e29814f1e
Add support for flake inputs with type = "gitlab"
2020-09-18 14:18:10 +02:00
Eelco Dolstra
535e7c0116
Merge pull request #7 from zanculmarktum/master
...
Support flake inputs with type tarball
2020-09-15 10:49:11 +02:00
Azure Zanculmarktum
e363cffac2
Support flake inputs with type tarball
2020-09-07 19:45:53 +07:00
Eelco Dolstra
cecfd08d13
Merge pull request #6 from cole-h/path-type
...
Support flake inputs with type path
2020-09-03 11:01:30 +02:00
Cole Helbling
f10b647d90
Support flake inputs with type path
2020-09-02 14:33:47 -07:00
Eelco Dolstra
c5c3c5b56b
Merge pull request #5 from matthewbauer/lockless-flake
...
Allow calling flakes without a flake.lock
2020-08-21 10:47:54 +02:00
Matthew Bauer
c71d063a2f
Allow calling flakes without a flake.lock
...
If no inputs but "self" are specified, Nix will not generate a
flake.lock at all. In this case, Flakes are mostly just used to
provide a more pure Nix experience, while sources are locked through
some other means (niv, ob thunk, manually, etc.). Supporting this is a
little weird, but it ends up working for my
repo (https://github.com/matthewbauer/nixiosk ).
2020-08-20 15:49:28 -05:00
Eelco Dolstra
c75e76f80c
Add support for lock file versions 6 and 7
2020-06-17 19:18:34 +02:00
Eelco Dolstra
d3c33ef110
Style
2020-06-17 19:02:15 +02:00
Antoine Eiche
2c2a50af4d
Try to fetchGit the provided src
...
The goal is to filter the provided src tree based on Git tracked files
to avoid unexpected rebuild. If the provided src tree is a not valid Git
repository, no filtering is applied.
2020-06-16 14:14:30 +02:00
Eelco Dolstra
f012cc5092
Add support for git inputs
2020-04-29 13:06:17 +02:00
Eelco Dolstra
88dc02caca
lastModified -> lastModifiedDate
2020-04-14 18:35:39 +02:00
Eelco Dolstra
6c21ad2740
Add support for lock file version 5
2020-03-31 16:05:00 +02:00
Eelco Dolstra
c7b5800e53
Merge pull request #1 from zimbatm/parameterized-system
...
parameterize the system attribute
2020-03-29 17:59:23 +02:00
Jonas Chevalier
9ef308133d
parameterize the system attribute
...
Allow to instantiate flake-compat with another system
2020-03-28 18:53:45 +01:00
Eelco Dolstra
123f9a83cb
Handle non-flake inputs
2020-03-14 14:48:23 +01:00
Eelco Dolstra
59f787c31c
Initial version
2020-02-25 14:26:24 +01:00