diff options
author | lassulus <lassulus@lassul.us> | 2018-03-27 21:34:05 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-03-27 21:34:05 +0200 |
commit | 28a597345107e458b95b62671af423ae369e234e (patch) | |
tree | 8e5c803609488b4c52ceff0369ab7b888c644389 /krebs/5pkgs/haskell/nix-diff/nixos-system.patch | |
parent | db37440bbb468e6ebdafc2de1d07872f0f726501 (diff) | |
parent | 2cc1d9a54eaf512a2fddb57990df3462931990a4 (diff) |
Merge remote-tracking branch 'ni/nixpkgs-18.03-fix-strip' into staging/18.03
Diffstat (limited to 'krebs/5pkgs/haskell/nix-diff/nixos-system.patch')
-rw-r--r-- | krebs/5pkgs/haskell/nix-diff/nixos-system.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/krebs/5pkgs/haskell/nix-diff/nixos-system.patch b/krebs/5pkgs/haskell/nix-diff/nixos-system.patch deleted file mode 100644 index 03e186aa9..000000000 --- a/krebs/5pkgs/haskell/nix-diff/nixos-system.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff --git a/src/Main.hs b/src/Main.hs -index 959ab8e..d3b6077 100644 ---- a/src/Main.hs -+++ b/src/Main.hs -@@ -95,7 +95,12 @@ pathToText path = - underneath `/nix/store`, but this is the overwhelmingly common use case - -} - derivationName :: FilePath -> Text --derivationName = Data.Text.dropEnd 4 . Data.Text.drop 44 . pathToText -+derivationName p = -+ if Data.Text.isPrefixOf "nixos-system" s -+ then "nixos-system" -+ else s -+ where -+ s = Data.Text.dropEnd 4 . Data.Text.drop 44 . pathToText $ p - - -- | Group input derivations by their name - groupByName :: Map FilePath (Set Text) -> Map Text (Map FilePath (Set Text)) |